Hi members,
I have a question about the Likelihood Ratio test (LR test) for the mixed model with random slopes versus the model with random intercept only, while a restricted maximum likelihood (REML) method is used.
In Stata manual (page 314) in the section of xtmixed, it’s said that “LR tests with REML require identical fixed-effects specifications for both models…. if we fit the models using the REML option, we would have to confine our tests to models comparing different variance structures and not different βs.
In my analysis, model A contains only random intercept, model B contains both random intercept and random slopes. I used REML method to obtain the estimates for both models. I then used LR test to test the significance of the components with random slopes. Is LR test appropriate here based on the aforementioned Stata note?
Many thanks,
Zhiqiu Ye
I have a question about the Likelihood Ratio test (LR test) for the mixed model with random slopes versus the model with random intercept only, while a restricted maximum likelihood (REML) method is used.
In Stata manual (page 314) in the section of xtmixed, it’s said that “LR tests with REML require identical fixed-effects specifications for both models…. if we fit the models using the REML option, we would have to confine our tests to models comparing different variance structures and not different βs.
In my analysis, model A contains only random intercept, model B contains both random intercept and random slopes. I used REML method to obtain the estimates for both models. I then used LR test to test the significance of the components with random slopes. Is LR test appropriate here based on the aforementioned Stata note?
Many thanks,
Zhiqiu Ye
Comment