Hi all,
I am estimating a multilevel model, where I use sample weights for the individual level variables.
xtmixed y female age agesqth married kids gini [pw=weight] || country:
I want to compare the model above to a random slopes model, so I use the likelihood test in stata.But I get the following error:
. lrtest rnd m1
LR test likely invalid for models with robust vce
r(498);
When I run the same model without any weights and compare to a random slopes model also without weight specification, then I get no error message with lrtest.
Is it wrong to use the weights in my estimation and then use the option 'force' with lrtest to compute the likelihood ration regardless?
I am estimating a multilevel model, where I use sample weights for the individual level variables.
xtmixed y female age agesqth married kids gini [pw=weight] || country:
I want to compare the model above to a random slopes model, so I use the likelihood test in stata.But I get the following error:
. lrtest rnd m1
LR test likely invalid for models with robust vce
r(498);
When I run the same model without any weights and compare to a random slopes model also without weight specification, then I get no error message with lrtest.
Is it wrong to use the weights in my estimation and then use the option 'force' with lrtest to compute the likelihood ration regardless?
Comment