1
$\begingroup$

I'm interested to know if there is a method for comparing the performance of two different models, such as a linear model and a linear mixed effect model on the same data set? I'm interested to compare these two statistical models and comment on their suitability for interpreting the data. Any suggestions would be greatly appreciated!

$\endgroup$

1 Answer 1

0
$\begingroup$

Test whether the random effects are significant using the likelihood ratio test. The parameters you're testing are on the boundary of the parameter space but the LRT is actually conservative in this case so you're good. If the random effects are not significant then use the regular linear model.

$\endgroup$
1
  • $\begingroup$ To clarify, do you mean a LRT between the two models or is there a way to test just the random effects in the mixed model. I have been using the lmer package in R with these two models: mixedmodel <- lme(Mass ~ Temperature + Time + Temperature* Time, random = ~1 + Time | Tank, data = input) linearmodel <- lm(Mass ~ Temperature + Time + Temperature* Time, data = input) lrtest(mixedmodel, linearmodel) $\endgroup$ Feb 3, 2017 at 1:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.