Theorem · Regression
Intervals for the mean response and a new observation
Theorem from the chapter Linear regression and correlation of Statistics and probability, with the exercises in which it is used.
Intervals for the mean response and a new observation
In the workshop, for pieces of thickness , we want to know the mean cutting time, and the interval in which the time of the next piece of that thickness will fall. Both estimates start from the fitted value seconds, but the second interval is wider, because the time of a single piece varies around the mean.
Assume the normal model with independent errors, common variance, , and . At a fixed predictor value , the fitted value is . Write for the term
which is smallest, equal to , at and increases with the distance of from the mean predictor value. The interval with confidence level for the mean response is
For a new observation , independent of the sample and with the same error variance, the prediction interval with level is
The center is the same because the new error has mean zero. The prediction margin is wider because it also contains the variance of the error of that single observation, represented by the term under the square root.
If lies outside the range of the observed predictor values, using the line there is called extrapolation. In that case the data do not show whether the relationship remains linear as far as , so the intervals are valid only if the line remains valid up to that point.
Read it in the chapter Linear regression and correlation →
Exercises where this theorem is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →