What role does the intercept play in linear regression, and when is it appropriate to force it to zero?
Role: Data Scientist
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks what the intercept does in a linear regression and when fitting the line through the origin is justified. Tests interpretation of the baseline, the bias a wrongly removed intercept puts into the slopes, and why R-squared changes meaning without an intercept.