Currently working through some notes on linear regression and they say the following:
In the linear model: $$Y=\alpha+\beta x$$ the intercept term is the mean value of the response."
However, I've been working through some examples in R
, and for the two models I've fitted, R
gives me an estimate for the intercept parameters that is not equal to the mean value of the response variables. Why is this so ?