Prediction Intervals for Y

Prediction Interval of Y
We know how to use the regression line to make point predictions. Specifically, we get a predicted value y^ifor every xi. We take this a step further by making prediction intervals.
When we make a point estimate of y^ for a given single observation xo we construct a prediction interval to determine how closely y^ matches the true value of y. A prediction interval is a range that is likely to contain the true response variation given a single explanatory variable based on the linear model.

Distance Value
Prediction interval for an individual value of y
Several things could cause a wider prediction interval
1) A large difference between xo and xˉ
2) A large residual standard deviation Se
3) A larger prediction interval (e.g. a 95% PI is wider than a 90% PI)
How to construct a prediction interval
Step 1: Find y^ given xo where y^=bo+b1xo
Step 2: Find SSxx and Se
Step 3: Find t2α for a 100(1−a) prediction interval.
Step 4: Construct a prediction interval y^±t2αSe1+n1+SSxx(xo−x)2

Example: Prediction Interval for Y
Consider this regression line:
y^=89.25+19.257x
You are given the following summary:
n=12
∑x=35
∑x2=141
∑y=1745
∑y2=286001
∑xy=5839
Construct a 95% prediction interval for xo=5
Step 1: Find y^ given xo where y^=bo+b1xo
y^=bo+b1xo
y^=89.25+19.257(5)=185.535
Step 2: Find SSxx and Se
k=1 (since there is one explanatory variable in a simple linear regression model)
SSxx=∑x2−n(∑x)2
SSxx=141−12(35)2=38.92
You will need SSE to find Se:
SSE=∑y2−b0∑y−b1∑xy
SSE=286001−89.25(1745)−19.257(5839)
SSE=17818
se=n−k−1SSE
Se=12−1−117818=42.21

Step 3: Find t⋆ for a 95% prediction interval.
df=n−k−1
df=12−1−1=10

t⋆=2.228
Step 4: Construct a prediction interval
y^±t2αSe1+n1+SSxx(xo−x)2
Distance Value:
x=n∑x=1235=2.9167
Prediction interval for an individual value of y:
Given xo=5, we predict that y is between these two values in the 95% prediction interval.