Skip to main content

Bivariate data and regression (WACE Year 12 Mathematics Applications)

Syllabus dot point

“Construct and interpret scatterplots, calculate the correlation coefficient and least-squares regression line, and use the line to make predictions.”

9 min read

Quick answer

Bivariate regression brings together the whole data-analysis sequence: plot a scatterplot, describe the association (direction, form, strength, outliers), measure it with the correlation coefficient rr and the coefficient of determination r2r^2, fit the least-squares line y=a+bxy = a + bx with technology, and use it to predict. The slope is the change in yy per unit xx; predictions inside the data range are interpolation (reliable), outside it are extrapolation (risky).

Jump to a section
  1. What this dot point is asking
  2. The bivariate workflow
  3. Correlation and determination
  4. Predictions and their reliability
  5. Residual plots as the final check
  6. Exam-style questions

What this dot point is asking

You must construct and read scatterplots, calculate rr and the regression line, interpret them, and predict.

The bivariate workflow

Every regression question follows the same order.

  1. Scatterplot: plot the explanatory variable on the horizontal axis and describe direction, form, strength and outliers.
  2. Correlation: find rr to quantify the linear association.
  3. Determination: square it for r2r^2, the proportion of variation explained.
  4. Line: fit y=a+bxy = a + bx with technology.
  5. Predict: substitute, and label the prediction interpolation or extrapolation.
Describe the form before fitting a line

A line is only appropriate if the form is linear. Check the scatterplot (and residual plot) first; a high rr on a curved pattern is misleading, and you should transform the data instead of fitting a straight line.

Correlation and determination

Correlation and the least-squares line

rr lies in [−1,1][-1, 1]: sign gives direction, size gives strength. r2r^2 (between 00 and 11) is the proportion of variation in the response variable explained by the linear relationship. The least-squares line is y=a+bxy = a + bx, with slope b=rsysxb = r\dfrac{s_y}{s_x}, passing through (xˉ,yˉ)(\bar{x}, \bar{y}).

Read all four numbers from the calculator's regression output after entering the paired data. The standard interpretation sentence for r2r^2 is "r2×100%r^2 \times 100\% of the variation in [response] is explained by the variation in [explanatory]".

Worked example

A full regression analysis

A gym records members' weekly training hours (xx) and their fitness-test score (yy) for ten members, with hours ranging 22 to 99. Technology returns r=0.82r = 0.82 and y=38+5.5xy = 38 + 5.5x.

Describe and quantify

The scatterplot is positive, roughly linear and strong. With r=0.82r = 0.82, r2=0.822=0.6724r^2 = 0.82^2 = 0.6724, so about 67%67\% of the variation in fitness score is explained by the linear relationship with training hours.

Interpret the slope and intercept

Slope 5.55.5: each extra hour of training per week is associated with a 5.55.5-point increase in predicted fitness score. Intercept 3838: a member who trains 00 hours is predicted to score 3838 (a meaningful baseline here, since 00 hours is realistic).

Predict at 6 hours (interpolation)

x=6x = 6 is inside the data range, so interpolation: y=38+5.5(6)=38+33=71y = 38 + 5.5(6) = 38 + 33 = 71.

Comment on 15 hours

x=15x = 15 is well beyond the data, so predicting there is extrapolation and unreliable; the linear gain may not continue at very high training loads.

Predictions and their reliability

A prediction is only as good as the model and the data range. Interpolation (inside the data) is reliable when r2r^2 is high; extrapolation (outside the data) is always flagged as risky. The reliability also depends on r2r^2: a model explaining 90%90\% of variation gives tighter predictions than one explaining 40%40\%. Finally, remember that a strong association never proves causation; an observed correlation may be driven by a confounder.

Residual plots as the final check

After fitting the line, a residual plot confirms whether the straight line was appropriate. If the residuals scatter randomly about zero, the linear model holds and predictions are trustworthy within the data range. If they form a curve or a fan, the relationship is non-linear and the data should be transformed (squared, reciprocal or log) before re-fitting. A high rr alone does not justify a line, because curved data can still produce a large rr; the residual plot is the more reliable diagnostic and ties the whole regression analysis together.

Common errors
Fitting a line to a curve
Confirm the form is linear first; otherwise transform the data.
Interpreting the slope without units
Tie it to the variables, including units (dollars, points, kilograms).
Skipping the interpolation or extrapolation label
Every prediction must be classified, and extrapolations flagged as unreliable.
Reading rr as causation
rr measures association only; never claim one variable causes the other from observational data.

Exam-style questions

Questions in the style of SCSA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

WACE 2021-style8 marks
Data on 1212 houses gives floor area (xx, square metres) and price (yy, $\$thousands). Technology returns r=0.88r = 0.88 and the least-squares line y=95+2.4xy = 95 + 2.4x, with areas from 8080 to 260260 square metres. (a) Interpret rr and r2r^2. (b) Interpret the slope. (c) Predict the price of a 180180 square metre house. (d) Comment on predicting the price of a 400400 square metre house.
Show worked answer →

Work through correlation, determination, slope, then predictions.

(a) r=0.88r = 0.88 is a strong positive linear association: larger houses tend to cost more. r2=0.882=0.7744r^2 = 0.88^2 = 0.7744, so about 77%77\% of the variation in price is explained by the linear relationship with floor area. (3 marks)

(b) Slope 2.42.4: each extra square metre is associated with a $2400\$2400 increase in predicted price (since price is in $\$thousands). (2 marks)

(c) x=180x = 180 is within the data range, so interpolation: y=95+2.4(180)=95+432=527y = 95 + 2.4(180) = 95 + 432 = 527, that is $527 000\$527\,000. (2 marks)

(d) x=400x = 400 is far beyond the data (8080 to 260260), so this is extrapolation and unreliable; the linear trend may not hold for very large houses. (1 mark)

Markers reward correct rr/r2r^2 interpretation, slope in dollars, a labelled interpolation, and identifying extrapolation.

WACE 2023-style5 marks
A least-squares line of test score yy on hours of sleep xx is y=30+6xy = 30 + 6x with r=0.65r = 0.65. (a) Calculate and interpret the coefficient of determination. (b) A student claims more sleep causes higher scores. Evaluate this claim.
Show worked answer →

Square rr, then address causation.

(a) r2=0.652=0.4225r^2 = 0.65^2 = 0.4225, so about 42%42\% of the variation in test score is explained by the linear relationship with hours of sleep, leaving most of the variation to other factors. (3 marks)

(b) The data shows association, not causation. The claim is not justified from observational data: a confounder such as overall study habits or wellbeing could drive both sleep and scores. (2 marks)

Markers reward the r2r^2 interpretation and rejecting the causal claim with a plausible confounder.

Practise this

Sources & how we know this

ExamExplained