I am using Stata 14/IC - I have successfully conducted a multiple imputation using chained equations. I am now trying to run xtmixed models in three stages
an empty model, a model with only individual predictors and a model with individual and school level predictors.
This is my script -
** MODEL 1 – empty model
mi estimate: xtmixed tku_a || ïs_num:
estimate store em1
estat icc
** MODEL 2 – ind level only
mi estimate: xtmixed tku_a gender_num yip || ïs_num:
estimate store em2
estat icc
**lrtest
lrtest em1 em2
** MODEL 3 – school level (all levels)
mi estimate: xtmixed tku_a gender_num yip scty dmhl_rc tsel tats t_total b_sum || ïs_num:
estimate store em3
estat icc
**lrtest
lrtest em1 em3
lrtest em2 em3
I have two problems - the lrtest does not appear to be working and I understand the estat for ICC is not possible using imputed data.
Any suggestions on these two issues?
Related Posts with using lrtest to compare an empty, individual level and two-level xtmixed model after multiple imputation
Problem merging two panel datasetsI have the following panel dataset of number of workers on online websites ( such as freelancer, Upw…
S-GMM interpretationHello everyone! I'm confused by my Stata-output. I'm doing a system-GMM estimation with bank risk a…
clustering error in gravity modelHi stata users, Currently, I'm researching for my thesis about the impact of non-tariff measures on…
Dummy trap(intercept) removal in stata. xtreg (AB9 Dne9* Dnr9* Dpe9* Dnr9*) note: Dnr9 omitted because of collinearity Random-effects GLS…
Diff-in-diff with dynamic treatment timeHi, I am trying to investigate the effect of an in-hospital intervention on: 1) Time to emergency …
Subscribe to:
Post Comments (Atom)
0 Response to using lrtest to compare an empty, individual level and two-level xtmixed model after multiple imputation
Post a Comment