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
Propensity Score with TEFFECTS / IPWRA: is it possible to create a bar graph showing covariate balancing?In looking through the TEFFECTS help files & PDF manual, I do see that a graph of individual cov…
Assigning dates and days of week in a long datasetHello, I have a long dataset with observations that represent all of the days that a person was enr…
Sample size calculation using one sided test with power commandHello all, I am trying to run a test to determine the sample size where the outcome is proportions …
Difference between the two options under model two tab for three stage least squares?In stata after going to statistics-->endogenous covariates ---> Three stage least squares and …
Creating summary statistic tables with multiple variables with multiple super-columns.Hi all, I am trying to replicate the results of a paper, and I am having trouble creating nicely fo…
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