Confidence Intervals for Regression
An analyst has paired data (xi,yi) from a random sample and wants a confidence interval for the population slope β1. Put the steps of the procedure in the order they must be carried out.
1.
Use a residual plot and a histogram of residuals to check linearity, constant spread and roughly normal errors.
2.
Divide s by ∑(xi−xˉ)2 to get the standard error SEb1.
3.
If the conditions look reasonable, compute the residual standard error s=∑ei2/(n−2).
4.
Fit the least-squares line to obtain the sample slope b1 and the residuals.
5.
Add and subtract the margin of error from b1 and interpret the interval in context.
6.
Multiply SEb1 by the critical value t∗ with n−2 degrees of freedom to get the margin of error.
An energy analyst regresses monthly electricity use (kWh) on floor area (m²) for a random sample of 8 apartments. The least-squares slope is b1=2.84 kWh per m², with standard error SEb1=0.62 kWh per m², and the regression conditions are reasonably met. Critical values for a 95% two-sided interval are given below.
Distribution | t* for 95% |
|---|---|
t, 6 df | 2.447 |
t, 7 df | 2.365 |
t, 8 df | 2.306 |
Standard normal | 1.960 |
Find the lower bound of the 95% confidence interval for the population slope β1, in kWh per m², to two decimal places.