Skip to content
Prev 1340 / 20628 Next

fixed effect testing again (but different)

Daniel,

I think you're running into a problem of model misspecification (where the population has effects that are omitted from your model in lmer).

1. If there aren't any fixed effects in the population and you omit the fixed effects from lmer but include the random effects in lmer (call that lmer model A) then lmer should correctly model the heteroscedasticity.

2. If there are fixed effects in the population and you include the fixed effects as well as the random effects (call that lmer model B) in lmer then lmer should correctly model the heteroscedasticity.

3. If there are fixed effects in the population and you omit the fixed effects from lmer but include the random effects in lmer (model A again) then lmer might not correctly model the data because of model misspecification. I think this is the
problem you're running into.

Assuming that you keep the heteroscedasticity in the lmer models, testing for the presence of fixed effects amounts to comparing the fit of model B against the fit of model A. If the fixed effects are present then you'll accept model B and use that
model's coefficients to estimate the heteroscedasticity; if the fixed effects are absent then you'll accept model A and use that model's coefficients to estimate the heteroscedasticity.

alan
"Daniel Ezra Johnson" <danielezrajohnson at gmail.com> on Saturday, August 30, 2008 at 5:39 AM -0500 wrote: