Dear all
I have a small data set with some missing data and first fit two models with listwise deletion:
Then I do some multiple imputation with chained equations:
Note that I have to use the -force- option here, because for one of the variables it's somehow not possible to impute all cases.
Now I want to run the models again with the multiply imputed data:
Note how weird this looks with the lower N in the second model. So I now want to restrict the sample in the first model to the complete imputed cases from the second model (weird, I know):
But this brings the N down to the unimputed listwise deletion N. What would be a better way to get a handle on the imputed data?
Thanks so much
I have a small data set with some missing data and first fit two models with listwise deletion:
Code:
capture drop touse mark touse markout touse y x1 x2 x3 regress y x1 if touse // N = 80 regress y x1 x2 x3 if touse // N = 80
Code:
mi register imputed y x1 x2 x3 x4 mi impute chained (regress) y x1 x2 x4 /// (logit) x3, /// add(5) rseed(2) force augment
Now I want to run the models again with the multiply imputed data:
Code:
mi estimate: regress y x1 // N = 100 mi estimate: regress y x1 x2 x3 // N = 95
Code:
capture drop touse mark touse markout touse y x1 x2 x3 mi estimate: regress y x1 if touse // N = 80 mi estimate: regress y x1 x2 x3 if touse // N = 80
But this brings the N down to the unimputed listwise deletion N. What would be a better way to get a handle on the imputed data?
Thanks so much