Achievable logoAchievable logo
AP Statistics
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Resources
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. One variable data
2. Two variable data
3. Data collection
4. Probability and random variables
5. Sampling distributions
6. Categorical data
7. Quantitative data
8. Chi-square
9. Linear regression
9.1 Slope and sampling distribution
9.2 Confidence intervals for a slope of a least squares regression
9.3 Hypothesis test for the slope of a least squares regression
Wrapping up
Achievable logoAchievable logo
9.1 Slope and sampling distribution
Achievable AP Statistics
9. Linear regression
Our AP Statistics course is currently in development and is a work-in-progress.

Slope and sampling distribution

3 min read
Font
Discuss
Share
Feedback

The Sampling Distribution of the Sample Slope

In linear regression, we model the relationship between two quantitative variables. The sample slope b (calculated from your sample data) is used to estimate the population slope β (the true slope in the population). If you repeatedly took samples and computed a slope each time, the pattern of those slopes is described by the sampling distribution of b.

Definitions

Sample Slope (b): The slope of the least-squares regression line calculated from a sample. It is a statistic used to estimate the true population slope.

Population Slope (β): The true slope of the linear relationship between the response and explanatory variables in the entire population. It is a parameter we typically do not know.

Sampling Distribution of b: The distribution of all possible sample slopes from samples of a given size n taken from the same population.

Standard Error of the Slope (sb​): An estimate of how much the sample slope b typically varies from the true population slope β across repeated samples.

Theoretical Conditions

The following theoretical conditions must be met for inference on the slope to be valid:

  1. Linearity: the true relationship between the response and explanatory variables must be linear.
  2. Constant Variability: the standard deviation of the residuals σ must be constant for all values of x.
  3. Normality: for each value of x, the y-values are approximately normally distributed.

You usually won’t be given confirmation of these conditions directly. Instead, you check whether they’re reasonable in practice by examining the residual plots you’re given.

Key Properties of the Sampling Distribution of b

If the true relationship between the variables is linear, and the theoretical conditions listed above are met, then the sampling distribution of the sample slope b has the following properties:

  1. Shape: the distribution is approximately normal.
  2. Center: the mean of the sample slopes μb​ is equal to the population slope β. This means b is an unbiased estimator of β.
  3. Spread: the standard deviation of the sample slopes (also called the standard error of the slope) is:

σb​=σx​n−1​σ​

Where:

  • σ is the standard deviation of the residuals in the population,
  • σx​ is the standard deviation of the x-values,
  • n is the sample size.

Estimating with Sample Statistics

Typically, you won’t know the population parameters σ and σx​, so you estimate them using sample statistics:

  • s: the standard deviation of the sample residuals.
  • sx​: the standard deviation of the sample x-values.

The estimated standard error of the slope:

sb​=sx​n−1​s​

When you use sb​ to estimate σb​, the standardized statistic:

t=sb​b−β​

follows a t-distribution with degrees of freedom:

df=n−2

Sampling distribution of the sample slope

  • Describes variability of sample slopes b from repeated samples
  • b estimates population slope β
  • Pattern of b values forms the sampling distribution

Theoretical conditions for inference

  • Linearity: true y vs x relationship is linear
  • Constant variability: residual standard deviation σ is constant for all x
  • Normality: y is normally distributed for each x
  • Check conditions using residual plots

Key properties of the sampling distribution

  • Shape: approximately normal if conditions are met
  • Center: mean of b equals β (unbiased estimator)
  • Spread: standard deviation σb​=σx​n−1​σ​
    • σ: population residual SD
    • σx​: population x-value SD
    • n: sample size

Estimating standard error and inference

  • Use sample statistics when population parameters unknown:
    • s: sample residual SD
    • sx​: sample x-value SD
  • Estimated standard error: sb​=sx​n−1​s​
  • Standardized statistic: t=sb​b−β​
    • t follows t-distribution with df=n−2

Sign up for free to take 5 quiz questions on this topic

Previous
Next  | 9.2 Confidence intervals for a slope of a least squares regression
All rights reserved ©2016 - 2026 Achievable, Inc.

Slope and sampling distribution

The Sampling Distribution of the Sample Slope

In linear regression, we model the relationship between two quantitative variables. The sample slope b (calculated from your sample data) is used to estimate the population slope β (the true slope in the population). If you repeatedly took samples and computed a slope each time, the pattern of those slopes is described by the sampling distribution of b.

Definitions

Sample Slope (b): The slope of the least-squares regression line calculated from a sample. It is a statistic used to estimate the true population slope.

Population Slope (β): The true slope of the linear relationship between the response and explanatory variables in the entire population. It is a parameter we typically do not know.

Sampling Distribution of b: The distribution of all possible sample slopes from samples of a given size n taken from the same population.

Standard Error of the Slope (sb​): An estimate of how much the sample slope b typically varies from the true population slope β across repeated samples.

Theoretical Conditions

The following theoretical conditions must be met for inference on the slope to be valid:

  1. Linearity: the true relationship between the response and explanatory variables must be linear.
  2. Constant Variability: the standard deviation of the residuals σ must be constant for all values of x.
  3. Normality: for each value of x, the y-values are approximately normally distributed.

You usually won’t be given confirmation of these conditions directly. Instead, you check whether they’re reasonable in practice by examining the residual plots you’re given.

Key Properties of the Sampling Distribution of b

If the true relationship between the variables is linear, and the theoretical conditions listed above are met, then the sampling distribution of the sample slope b has the following properties:

  1. Shape: the distribution is approximately normal.
  2. Center: the mean of the sample slopes μb​ is equal to the population slope β. This means b is an unbiased estimator of β.
  3. Spread: the standard deviation of the sample slopes (also called the standard error of the slope) is:

σb​=σx​n−1​σ​

Where:

  • σ is the standard deviation of the residuals in the population,
  • σx​ is the standard deviation of the x-values,
  • n is the sample size.

Estimating with Sample Statistics

Typically, you won’t know the population parameters σ and σx​, so you estimate them using sample statistics:

  • s: the standard deviation of the sample residuals.
  • sx​: the standard deviation of the sample x-values.

The estimated standard error of the slope:

sb​=sx​n−1​s​

When you use sb​ to estimate σb​, the standardized statistic:

t=sb​b−β​

follows a t-distribution with degrees of freedom:

df=n−2

Key points

Sampling distribution of the sample slope

  • Describes variability of sample slopes b from repeated samples
  • b estimates population slope β
  • Pattern of b values forms the sampling distribution

Theoretical conditions for inference

  • Linearity: true y vs x relationship is linear
  • Constant variability: residual standard deviation σ is constant for all x
  • Normality: y is normally distributed for each x
  • Check conditions using residual plots

Key properties of the sampling distribution

  • Shape: approximately normal if conditions are met
  • Center: mean of b equals β (unbiased estimator)
  • Spread: standard deviation σb​=σx​n−1​σ​
    • σ: population residual SD
    • σx​: population x-value SD
    • n: sample size

Estimating standard error and inference

  • Use sample statistics when population parameters unknown:
    • s: sample residual SD
    • sx​: sample x-value SD
  • Estimated standard error: sb​=sx​n−1​s​
  • Standardized statistic: t=sb​b−β​
    • t follows t-distribution with df=n−2

More from Linear regression

  • Confidence intervals for a slope of a least squares regression
  • Hypothesis test for the slope of a least squares regression