Hello forum, I am using mi estimate to run regressions on a set of data for which I created 10 imputed data sets. The original data set is about 3,000 observations (depends which vars are included in the reg) with the imputed data sets it was closer to 30,000. I ran several models with the mi estimate command and could see that the number of observations were what I'd expect close to 30,000. However, over the last week after cleaning a new variable to be included in the regression when I run the mi estimate command I get observations that are closer to 1600, even less than those in the original data set. I can't figure out what I've done to the data set.
Here are the commands I'm using:
mi xtset pid
mi estimate, dots post: xtlogit mifias2 depscore stress socialsupp i.gestpp i.status i.groupwealthq i.groupsite if oddvisit==1 | visit==8 , re
outreg2 using stagmodelspm.doc, word replace label pvalue eform ctitle("FI & Psycho gestapp")
I have checked to see that each variable was imputed and the total observations for each variable are as I expect. I have tried to run a shorten regression with just two variables at a time to see if I can pin point which variable was making noise but I get the same result no matter the combination.
Attached is a screen shot o the total observations used in the regression.
Any advice on how to troubleshoot this?
Thanks
Gloria
Here are the commands I'm using:
mi xtset pid
mi estimate, dots post: xtlogit mifias2 depscore stress socialsupp i.gestpp i.status i.groupwealthq i.groupsite if oddvisit==1 | visit==8 , re
outreg2 using stagmodelspm.doc, word replace label pvalue eform ctitle("FI & Psycho gestapp")
I have checked to see that each variable was imputed and the total observations for each variable are as I expect. I have tried to run a shorten regression with just two variables at a time to see if I can pin point which variable was making noise but I get the same result no matter the combination.
Attached is a screen shot o the total observations used in the regression.
Any advice on how to troubleshoot this?
Thanks
Gloria
Comment