Lesson 7: Solving problems with bivariate data
Analyse rainfall and wheat yield from start to finish
SkillsSolving bivariate problemsFitting a least-squares lineReading residual plotsMaking predictions
Worked example
A Darling Downs grower recorded growing-season rainfall and wheat yield for eight seasons.
| Rainfall (mm) | 210 | 245 | 260 | 290 | 315 | 340 | 360 | 395 |
|---|---|---|---|---|---|---|---|---|
| Yield (kg/ha) | 1600 | 1900 | 2300 | 2200 | 2600 | 2900 | 2800 | 3300 |
The residual plot for a linear model shows the residuals scattered randomly about 0. The grower expects a dry season of 230 mm. Analyse the association and advise her on the yield to expect, commenting on the reliability of your advice.
Step 1: Identify the variables
Rainfall is the explanatory variable and yield is the response variable.
Step 2: Describe the association with r
Technology gives : a strong positive linear association. Seasons with more rain tend to have higher yields.
Step 3: Fit the least-squares line
Technology gives and , so
Step 4: Check the model
The residual plot shows random scatter, so a linear model is appropriate.
Step 5: Interpret the slope and R²
Each extra millimetre of rain is predicted to increase the yield by 8.71 kg/ha. : 94.8% of the variation in yield can be explained by the variation in rainfall.
Step 6: Predict for 230 mm
Step 7: Comment on reliability
230 mm is inside the data (210 to 395 mm), so this is interpolation. With a strong linear association, a random residual plot and interpolation, the prediction is reliable — though with only eight seasons, and other factors (temperature, frost, soil moisture at planting) affecting yield, treat it as an estimate.
Step 8: Advise
In a 230 mm season the grower should expect a yield of about 1800 kg/ha, well below the eight-season mean of 2450 kg/ha.
Answer
Strong positive linear association (, ); ; the predicted yield for 230 mm is about 1825 kg/ha, which is reliable because it is an interpolation from a strong linear model with random residuals.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Identify the variables, then describe the association with r.
Fit the line with technology and check the residual plot.
Interpret the slope and R², then predict.
Judge reliability with strength, residuals and interpolation, and answer the question in context.
Watch out for
Skipping the residual plot and assuming the association is linear.
Giving a prediction without the reliability comment the question asks for.