Timeline for When should grouping variables interact in a mixed-effects model?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 19, 2023 at 19:00 | answer | added | Erik Ruzek | timeline score: 1 | |
Dec 19, 2023 at 17:14 | history | edited | wzbillings | CC BY-SA 4.0 |
fix typo
|
Dec 19, 2023 at 17:13 | comment | added | wzbillings | @ErikRuzek Yes, and it appears to benefit the model. But as we know, just because an LRT or AIC says to include the term doesn't mean it's always best from an inferential standpoint, so I was curious if something about the study design should affect this decision. | |
Dec 19, 2023 at 0:02 | comment | added | Erik Ruzek |
These models are nested within one another. Have you tried using a likelihood ratio test (anova() in R) to determine whether the added complexity of the (1|f:g) intercept fits the data better than the less complex model without it? If you have substantive reasons to prefer the more complex model, then so be it. But you can also use the LRT to help you if you don't have such reasons.
|
|
Dec 18, 2023 at 19:26 | history | asked | wzbillings | CC BY-SA 4.0 |