Confidence interval for a coefficient vs prediction interval for a new observation: which is wider and why?
Role: Data Scientist
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks how a confidence interval for a regression coefficient differs from a prediction interval for a new observation, and which of the two is wider. Tests the sources of uncertainty behind each interval, the variance formulas, their behavior as the sample grows, and the assumptions they depend on.