Correlation and linear regression · Predict in the right direction
Choose a regression model and justify its prediction
Identify the explanatory role before choosing a line. Then check the prediction range, model and population. A regression estimate is not a guaranteed individual outcome.
Choose from the modelling setup
Does the question prescribe an explanatory variable? Keep that response model when it does. With neither role prescribed, regress the requested response on the supplied predictor.
- x prescribed explanatoryKeep the y-on-x model
For y from x, substitute into . For x from y, solve this same model backwards: when . This is inverse calibration, with its own uncertainty.
- y prescribed explanatoryKeep the x-on-y model
For x from y, substitute into . For y from x, solve this same model backwards: when . Do not switch fits merely because the requested letter changes.
- Neither role prescribedFit the variable being predicted
For y from x, use y on x. For x from y, use x on y. The two fits minimise residuals in different directions; reversing a fitted equation does not generally produce the other regression.
A zero fitted gradient cannot give a unique inverse estimate. These role conventions select the model; they do not guarantee that inverse calibration is appropriate in every statistical setting.
Check the range and context
For direct prediction, compare the known explanatory input with its observed range. Use the inequality for the chosen explanatory variable. An inverse calibration needs a separate check of the estimated input and calibration context.
- Inside the explanatory rangeInterpolation still needs support
Being inside the range does not guarantee accuracy. Check whether the scatter supports the chosen model and whether the sample and measurements are relevant. Two observations alone cannot establish an underlying linear relationship.
- Outside the explanatory rangeExplain the extrapolation risk
The relationship may change beyond the observed inputs. A large correlation coefficient within the sample cannot validate its continuation outside that range.
- Every predictionKeep the context and units
Check the population, the variable definitions and the conditions of measurement. Association does not establish causation. State which limitation matters for this estimate rather than giving a generic assurance of reliability.
Keep the fitted variable and its units in the answer. Use the coefficients supplied by the question, or retain calculator precision when fitting a model yourself.
Try a worked example
Read a case, make a prediction, then reveal the reasoning. The examples keep their stated values.
Same supplied value, different modelling setup
The unit example supplies and . Estimate x when : first with x prescribed explanatory, then with neither role prescribed. Predict whether the two estimates must agree.
Show reasoning
1. Keep x as the prescribed explanatory variable
When x is prescribed explanatory, keep the y-on-x model and solve it backwards. This is inverse calibration, not a new x-on-y fit.
2. With neither role prescribed, fit the requested response
Now x is the response to be estimated from the supplied y value, so use the x-on-y equation.
3. Explain the difference
The modelling assumptions changed. The two regressions minimise residuals in different response directions; rearranging one does not generally produce the other. Use the equations supplied by the question without refitting or replacing their coefficients.
Check the range of the correct explanatory variable
In the same unit example, y is prescribed explanatory and its observed values range from 7 to 22. Estimate x at . Does the supplied correlation make this prediction reliable?
Show reasoning
1. Use the x-on-y model
Substitute the known explanatory y value into the supplied x-response fit.
2. Compare y with the observed y range
The input 30 is outside 7 to 22, so this is extrapolation. A close association within the sample does not establish that the model continues outside it. An accurately supplied input does not remove this model uncertainty.