What is the difference between a confidence band around a fitted regression mean and a prediction band, and why is the prediction band wider?

Last updated 20 July 2026

  • A confidence band covers the mean response E[y | x] and reflects only coefficient uncertainty, so it narrows as n grows (variance ~ σ²·leverage).

  • A prediction band covers a single new y and adds residual variance (σ²·(1 + leverage)), so it never collapses to the line even with infinite data.

  • Both share the fitted line as center, but the prediction band brackets the scatter of raw points, which makes it wider.

  • https://medium.com/data-science/confidence-interval-vs-prediction-interval-a6b0c4816a92
  • https://www.cnblogs.com/apachecn/p/18662735
  • https://www.youtube.com/watch?v=2LyWeDlh_x8
  • https://metricgate.com/blogs/confidence-vs-prediction-interval/
  • https://www.geeksforgeeks.org/maths/prediction-interval-vs-confidence-interval/
All Confidence Intervals interview questions