Skip to content
Prev 166873 / 398502 Next

Trouble about the interpretation of intercept in lm models

Marc Schwartz wrote:

            
Actually, notice that you are averaging identical values, so the "mean"
in the tapply is slightly misleading.

Notice also that the intercept may be defined even when _no_
observations have zero entries in the design matrix. This is the usual
case in linear regression, for instance, but it can happen in factorial
designs (unbalanced, or using other than treatment contrasts) as well.