Confidence interval for the slope

About this lesson

Statistics (AP-aligned) › Inference for regression

To save a PDF, choose “Save as PDF” in the print dialog.

Confidence interval for the slope

Inference for regression.

Warm-up

Three quick questions from earlier lessons.

Discover

b = 0.5, SE_b = 0.1, t* = 2. Which interval estimates β₁?

  1. (0.3, 0.7)
  2. (0.4, 0.6)

Key idea

An interval for the population slope.

b±t∗⋅SEbb \pm t^* \cdot SE_b, with t∗t^* from the t distribution with n−2n - 2 df. If the interval does not contain 0, there is convincing evidence of a linear relationship; interpret as the change in mean yy per unit increase in xx.

Worked example

n=30n = 30, b=0.42b = 0.42, SEb=0.10SE_b = 0.10, t∗=2.048t^* = 2.048.

ME=0.2048ME = 0.2048
2.048 × 0.10.
(0.215,0.625)(0.215, 0.625)
0.42 ± 0.2048.
Evidence of a positive slope
0 excluded.

Your turn, guided

Your turn: ME = 0.15. The width of the interval.

0.30.3
2 × 0.15.

Practice ★

  1. With 30 pairs, b = 2/10 and SE_b = 7/100. Using t* = 2.048 (28 df, 95%), find the upper end of the interval for β₁.
  2. With 30 pairs, b = 4/10 and SE_b = 1/100. Using t* = 2.048 (28 df, 95%), find the upper end of the interval for β₁.
  1. SE_b = 1/100 and t* = 2.048. Find the width of the 95% confidence interval for β₁.

Watch out!

Practice ★★

  1. A 95% interval for the slope β₁ is (0.4, 0.8). What does it suggest?
    1. Convincing evidence of a positive linear relationship: 0 is not in the interval
    2. No evidence of a relationship
    3. x causes y to increase

Exit ticket

Three questions to check you have got it.

  1. With 30 pairs, b = 2/10 and SE_b = 7/100. Using t* = 2.048 (28 df, 95%), find the upper end of the interval for β₁.
  2. With 30 pairs, b = 4/10 and SE_b = 1/100. Using t* = 2.048 (28 df, 95%), find the upper end of the interval for β₁.
  3. With 30 pairs, b = 3/10 and SE_b = 6/100. Using t* = 2.048 (28 df, 95%), find the upper end of the interval for β₁.

Summary card

Interval for β₁

b±t∗SEbb \pm t^* SE_b (df n−2n - 2); 0 outside → evidence of a relationship.

Watch out: association, not causation.

CC BY-SA 4.0