Inferences Concerning Future Response

The previous section discussed the distribution of the mean response. In many scenarios, we are interested in the distribution of the actual response Y at input x0, which takes the noise into account as well. We note Y0N(θ0+θ1x0,σ2)θ^0+θ^1x0N(θ0+θ1x0,σ2[1n+(x0x¯)2Sxx])Y0θ^0θ^1x0N(0,σ2(1+1n+(x0x¯)2Sxx))

Now we utilise the distribution of SSR to eliminate σ2 and get to the t-distribution Y0θ^0θ^1x0σ1+1n+(x0x¯)2Sxx÷SSR(n2)σ2tn2 and the prediction interval for the response (not mean response is) at 1α confidence (θ^0+θ^1x0)±tα/2,n2(1+1n+(x0x¯)2Sxx)(SSRn2)

Note that prediction interval is the interval where we expect the value of a random variable to lie, whereas the confidence interval is the one where the value of a parameter estimate to lie.