Track 9 · Correlation and Regression · Lesson 8 of 15
Inference for regression
Test and estimate a regression slope with its standard error, and choose between a confidence interval for a mean response and a prediction interval for a new observation.
A brand manager wants to know two different things from last year's data: how precisely the sales gain per thousand SAR of TV spend is known, and what range of sales to plan for in a week with 60 thousand SAR of TV advertising. The first is a question about a slope; the second is about one future week — and the second interval is always much wider.
The fitted slope is an estimate of the population slope in the model . A different sample of weeks would give a different line, so has a sampling distribution. Under the LINE assumptions (see Residual analysis) its standard error, test and interval follow the familiar pattern with degrees of freedom.
Included with a Formula Quest membership
It has 8 graded exercises with feedback, hints and worked solutions. After it you will be able to:
- Compute the standard error, t statistic and confidence interval of a slope
- Explain why a spread-out predictor gives a more precise slope
- Choose between a confidence interval for a mean response and a prediction interval for one observation
- Explain why prediction intervals stay wide with more data and fail outside the data