Starting with the 'residual maker' defined by M in: $e= y-\hat{y} = Y-X(X'X)^{-1}X'Y = [I-X(X'X)^{-1}X']Y =MY$
where e is the regression residual.
one common equality i see relating the regression residual to the error (denoted $\epsilon$) is:
$e = MY = M[X \beta+\epsilon] = M\epsilon$
my question is.. why isnt this term = 0 if we are always assuming X is exogenous when making these derivaions? Isn't $X'\epsilon =0$? Or is this saying that in the particular sample, $X'\epsilon \neq 0$?