Why does the OLS regression line always pass through the mean of the independent and dependent variables?
Role: Data Scientist
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why an ordinary least squares line fit with an intercept always passes through the mean of x and the mean of y. Tests whether you can derive the result from the first-order condition on the intercept and say which models keep or lose the property.