Predicting from a fitted model
A fitted model predicts the response by substituting an explanatory-variable value into y = a + bx. The prediction is interpolation when that value is within the inclusive observed range and extrapolation when it is outside
- Identify the variables Use x for the explanatory variable and y for the response variable in the fitted model \(\displaystyle x=\text{EV},\quad y=\text{RV}\)
- Substitute the explanatory value Replace x with the stated explanatory value before simplifying the model \(\displaystyle \hat{y}=12+3\left(5\right)=27\)
- Classify the range position A value inside or at an endpoint of the observed explanatory range gives interpolation; a value outside gives extrapolation \(\displaystyle 20\le x\le40\Rightarrow\text{interpolation}\)
- Judge the prediction Interpolation uses an input within the observed explanatory range; extrapolation extends beyond it. Check output plausibility and model suitability separately. Interpolation does not guarantee an accurate individual prediction \(\displaystyle x<20\text{ or }x>40\Rightarrow\text{extrapolation}\)
Worked example
A fitted model predicts water use y in litres from garden area x in square metres: y = 24 + 0.8x. The model was fitted using x values from 10 to 40. Predict y when x = 25 and classify the prediction
- \(\displaystyle 0.8\times25=20\)Multiply the slope by the explanatory value
- \(\displaystyle \hat{y}=24+20=44\)Add the intercept to get a predicted water use of 44 litres
- \(\displaystyle 10\le25\le40\Rightarrow\text{interpolation}\)The explanatory value 25 is within the observed range from 10 to 40
Common mistakes
Difficulty levels
Questions about this topic
How is interpolation different from extrapolation?+
Interpolation uses an explanatory value inside the inclusive observed range. Extrapolation uses a value outside that range
Why is extrapolation less reliable?+
The fitted model has been supported by data only across the observed explanatory range. Outside that range, the pattern may change
Why is the slope multiplied before the intercept is added?+
The model is y = a + bx, so the product bx is found first and then the intercept a is added
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 11, VCE Units 1 & 2, General Mathematics, chapter 7: Bivariate data