Confidence Intervals for Linear Regression Intercept Parameters

Construct a confidence interval for the population intercept β0\beta_0 in a simple linear regression model using the Student tt-distribution with n2n - 2 degrees of freedom.

Step 1 of 119%

Tutorial

Introduction

In simple linear regression, we model the relationship between an explanatory variable XX and a response variable YY as

Y=β0+β1X+ε,Y = \beta_0 + \beta_1 X + \varepsilon,

where εN(0,σ2)\varepsilon \sim N(0, \sigma^2). The intercept β0\beta_0 is an unknown population parameter. Just as we built a confidence interval around the sample mean xˉ\bar{x} to estimate the population mean μ\mu, we can build one around the sample estimate β^0\hat{\beta}_0 to estimate β0\beta_0.

A (1α)100%(1 - \alpha) \cdot 100\% confidence interval for the intercept β0\beta_0 is given by

β^0  ±  tα/2,n2SE(β^0),\hat{\beta}_0 \;\pm\; t_{\alpha/2,\, n-2} \cdot SE(\hat{\beta}_0),

where SE(β^0)SE(\hat{\beta}_0) is the standard error of β^0\hat{\beta}_0 and tα/2,n2t_{\alpha/2,\, n-2} is the critical value from the Student tt-distribution with n2n - 2 degrees of freedom.

We use n2n - 2 degrees of freedom because two parameters, β0\beta_0 and β1\beta_1, must be estimated from the data.

For instance, suppose a regression on n=14n = 14 observations gives β^0=10\hat{\beta}_0 = 10 and SE(β^0)=2SE(\hat{\beta}_0) = 2. For a 95%95\% CI, α=0.05\alpha = 0.05, so we use t0.025,12=2.179t_{0.025,\, 12} = 2.179. The margin of error is 2.1792=4.3582.179 \cdot 2 = 4.358, giving the CI

10±4.358  =  (5.64,  14.36).10 \pm 4.358 \;=\; (5.64,\; 14.36).
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle