This course has been archived. The College Board updated AP Statistics for the 2026–27 school year, and the units and topics changed.
Go to the new AP® Statistics
6m left·0%
Reading Time: 6 min
Last Updated: March 30, 2026
Main Ideas: 5
Reading Time: 6 min
Last Updated: March 30, 2026
Main Ideas: 5

Topic 9.2 Notes – Confidence Intervals for the Slope of a Regression Model

Read aloud
Confidence intervals for the slope of a regression model let you estimate the true population slope β \beta , not just the slope from your sample. Instead of trusting a single line, you build a range of plausible values for how the mean response changes with the explanatory variable. This topic ties together regression, residuals, and t‑procedures.

1. What the slope of a regression model represents

In the population, the true linear relationship is written as

μy=α+βx \mu_y = \alpha + \beta x

  • μy \mu_y is the mean response at a given value of xx.
  • β \beta is the population slope.

Interpretation of β \beta :
For each 1-unit increase in xx, the mean value of yy changes by β \beta units.

From a sample, we compute the least-squares line:

y^=a+bx \hat{y} = a + bx

  • b b is the sample slope.
  • b b is a point estimate of β \beta .

How variability enters

Not every point falls exactly on the line. The difference between an observed value and its predicted value is a residual:

residual=yi−y^i \text{residual} = y_i - \hat{y}_i

These residuals estimate how far actual responses vary from the true population line.

The standard deviation of the residuals estimates the true variability around the regression line:

s=∑(yi−y^i)2n−2 s = \sqrt{\frac{\sum (y_i - \hat{y}_i)^2}{n - 2}}

We divide by n−2n - 2 because we estimated two parameters, α \alpha and β \beta .

Important sampling facts:

  • The sampling distribution of bb has mean μb=β \mu_b = \beta .
  • Its standard deviation depends on:
    • residual variability (how scattered points are vertically),
    • spread of the xx-values,
    • sample size.

Because we don’t know the population standard deviation σ \sigma , we use a t‑interval for the slope.

2. Conditions for a confidence interval for the slope

All four must be checked and stated in context.

Linear

The relationship between xx and yy is linear.
Check the residual plot. You want random scatter around 0.

Study guide illustration

Residual plot showing random scatter around 0

Equal spread

The variability of yy is roughly constant for all xx.
On the same residual plot, look for no funnel or fan shape as fitted values increase.

Independence

  • Data come from a random sample or randomized experiment.
  • If sampling without replacement, verify n≤0.10N n \le 0.10N .

Normal

For each value of xx, the distribution of yy is approximately normal.
Check a histogram or normal probability plot of residuals.

If residuals are skewed, you need n≥30 n \ge 30 for the t‑procedure to be reliable.

3. Constructing the confidence interval for the slope

This is a t-interval for β \beta .

Formula

b±t∗(SEb) b \pm t^* (SE_b)

Where:

  • Point estimate: b b
  • Degrees of freedom: df=n−2 \text{df} = n - 2
  • Margin of error: t∗×SEb t^* \times SE_b

The standard error of the slope is

SEb=ssxn−1 SE_b = \frac{s}{s_x \sqrt{n - 1}}

  • s s = standard deviation of residuals
  • sx s_x = sample standard deviation of the xx-values

What affects the margin of error?

The margin of error equals t∗⋅SEb t^* \cdot SE_b .

It gets larger when:

  • confidence level increases (bigger t∗t^*),
  • residual variability ss is large,
  • spread in xx (small sxs_x) is small,
  • sample size is small.

It shrinks with:

  • larger nn,
  • less vertical scatter,
  • wider spread of xx-values.

On your calculator, LinRegTInt will compute this directly using your data lists.

4. Interpreting the interval correctly

A complete interpretation always includes:

  • confidence level,
  • the population parameter β \beta ,
  • the variables in context,
  • “mean” language.

Example structure:

“We are 95% confident that the true slope β \beta describing the relationship between [explanatory variable] and the mean [response variable] is between ___ and ___.”

Then explain meaning:

“For each 1-unit increase in [x], the mean [y] changes by between ___ and ___ units.”

What the confidence level means:

If we repeated this sampling process many times, about C%C\% of the intervals would capture the true β \beta .
The parameter is fixed. The interval changes from sample to sample.

5. Common mistakes

  • Using zz instead of tt.
  • Using df = n−1n - 1 instead of n−2n - 2.
  • Interpreting the interval as predicting individual yy-values.
  • Saying there is a C%C\% probability that β \beta is in this interval.
  • Forgetting to check residual plots before computing.

Remember, this interval estimates the population slope, not the intercept and not individual outcomes.

Key Takeaways

The slope β \beta describes the change in the mean response for each 1-unit increase in xx.
The standard deviation of residuals uses n−2 n - 2 because two parameters were estimated.
The confidence interval for the slope is always b±t∗(SEb) b \pm t^*(SE_b) with df =n−2= n - 2.
Larger spread in xx makes the interval for β \beta narrower.
Always interpret the interval in terms of the mean response, not individual predictions.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining