Course contentsShow
← Mathematics
Lesson 3070 of 3,12160. Statistics — ModelingFree lesson

Inference for Predictions

Distinguish between confidence intervals for mean response and prediction intervals for individual observations.

Inference for Predictions

What you'll learn: You'll learn the crucial difference between estimating the average response for a given predictor value versus predicting a single observation's outcome.

Two Types of Intervals in Regression

When you've built a regression model and want to make predictions, there are actually two different questions you might ask:

  1. "What is the mean response for all observations at x = x₀?" → Use a confidence interval for the mean response
  2. "What will a single new observation's value be at x = x₀?" → Use a prediction interval for an individual observation

The Key Distinction

Both intervals center on the same predicted value ŷ₀ from your regression line. However:

  • A confidence interval for mean response estimates where the average Y-value falls for a given x₀. It's narrower because you're estimating a population mean—many observations average out variability.

  • A prediction interval for an individual observation must account for both uncertainty in estimating the mean and the natural variability of individual data points around that mean. It's always wider.

The Analogy

Think of predicting tomorrow's temperature in your city:

  • Estimating the average temperature for all January 15ths over the next 100 years? That's relatively precise (confidence interval).
  • Predicting the exact temperature on next January 15th? Much more uncertain—individual days vary wildly (prediction interval).

The prediction interval includes an extra term for individual observation variance: σ²(1 + 1/n + ...), where the "1" accounts for one new observation's inherent randomness.

Key Takeaway: Confidence intervals estimate the mean response (narrower); prediction intervals account for individual variation around that mean (wider). Always use prediction intervals when forecasting specific outcomes.