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
rifreg and oaxaca8 error In order to analyze gender wage gap, the following is conducted. However, It is impossible to proce…
Bayesian spatial econometricsHi all, Is there the possibility to run Bayesian spatial econometrics in stata? Thanks in advance …
Generating New Variable As A Function of Group-Level Differences Of Another VariableHello All, and Thanks in Advance. I have a very large dataset for which I need to create a variable…
how to identify a mutual fund changes its name and whenI have an unbalanced panel data about U.S. equity funds Variables: yrqt: a date variable, such as 19…
Error message with usespssDear all, I'm trying to open a dataset with over 25 million observations using usespss. After runni…
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