Confidence Intervals for Linear Regression Slope Parameters
Constructing t-based confidence intervals for the true slope parameter β₁ of a linear regression model, using either the given standard error of the slope or the residual standard error computed from the sum of squared residuals.
Tutorial
Confidence Interval for the Slope
For a linear regression of on the population model is
We estimate the true slope with the sample slope obtained by least squares. To quantify the uncertainty in this estimate, we use a confidence interval for :
where is the standard error of the slope estimate and is the critical value from a -distribution with degrees of freedom. Two degrees of freedom are lost because both and are estimated from the data.
For example, suppose a regression with produces and Using (the critical value for degrees of freedom),
and the confidence interval is