The regression line of on predicts from a known value of , whereas the regression line of on predicts from a known value of . They are generally different equations and are not obtained by simply rearranging one another.
Why the Lines Are Different
A regression line uses the least-squares method to minimize prediction errors, called residuals. However, each line minimizes errors in a different variable.
| Regression line | Purpose | Quantity minimized |
|---|---|---|
| on | Predict when is known | : squared vertical residuals |
The variable placed after “on” is the known explanatory variable, while the variable before “on” is the response being predicted. Thus “ on ” means regress using , not place on the horizontal axis merely because of graphing convention. Always read the phrase as “predict the first variable from the second.”
For example, suppose technology gives:
This is the regression line of on . If , then
Suppose the regression line of on is
If , it predicts
A common misconception is that rearranging produces the regression line of on . Rearrangement gives the same geometric line, but the actual -on- regression is calculated separately because it minimizes different residuals. The two regression lines coincide only when there is perfect linear correlation, .
Both fitted lines pass through the mean point , but unless , their gradients reflect different optimization problems. A strong correlation can make them look similar, yet that does not make one the algebraic inverse of the other. Use the appropriate GDC output.
IB Exam Technique
This is Mathematics AA SL 4.10 and is normally assessed on Paper 2 using a GDC. Identify the variable being predicted before selecting the equation: predict from with the -on- line, and predict from with the -on- line. Also avoid unreliable extrapolation beyond the observed data range.
