Hi,
I have a 2-level linear model that I am running with 250,000 people and 185 level 2 clusters. There are at least 5 people in each cluster. I have run a series of 5 sequential models with increasing complexity no problem. However, I am having issues with post-estimation commands.
For example, I run the following null model:
mixed bmi_real || stratum_all :
estimates save "m1A.ster", replace
*store the between stratum variance
scalar m1Asigma2 = exp(_b(lns1_1_1:_cons)^2
*predict the mean outcome
predict m1Am, fitted
After the predict command I get the following error message: variable stratum_ _ 00006 not found
Any insight or help would be most welcome.
I have a 2-level linear model that I am running with 250,000 people and 185 level 2 clusters. There are at least 5 people in each cluster. I have run a series of 5 sequential models with increasing complexity no problem. However, I am having issues with post-estimation commands.
For example, I run the following null model:
mixed bmi_real || stratum_all :
estimates save "m1A.ster", replace
*store the between stratum variance
scalar m1Asigma2 = exp(_b(lns1_1_1:_cons)^2
*predict the mean outcome
predict m1Am, fitted
After the predict command I get the following error message: variable stratum_ _ 00006 not found
Any insight or help would be most welcome.
Comment