I have an epidemiological data set and am interested in the association of exposure to cigarette smoke on child blood pressure. I have run complete case analysis, and as a comparison would like to impute the missing data. Data is missing 5-10% of participants across covariates and is MAR. I am following the stata help guide to MI but am slightly confused about a couple of things.
So far I have run;
mi set wide
## listed the covariates I would like impute
mi register impute maternal_alcohol family_income child_IQ child_height
## here I have listed my outcome, exposure and vars that are complete but are related to my covariates I'd like to impute- is it appropriate to include the exposure and outcome?
mi register regular child_BP maternal_smoking maternal_BP paternal_BP
## my imputation command as follows- again after the "=" should I be including all complete vars that are related?
mi impute chained (regress) childIQ child_height (mlogit) family_income maternal_alcohol = child_BP i.maternal_smoking maternal_BP paternal_BP, add(20)
This results in 20 sets of data for each covar, and I am confused as how to merge these into a functional dataset? If anyone could advise on this (and of course if there are any errors in the way I have gone about this). If this is an appropriate way to go about imputing my covariates, what checks should I be doing before I continue with my main analyses?
Many thanks for any help and advice on this.
Related Posts with Using MICE well
Problems with Multilevel logistic modelDear all, I am currently working on a study looking at the link between weather shocks (precipitatio…
Error 301 for conditional fixed effects negative binomial regression, panel dataHello, Background I have a couple of years' worth of panel data for dengue case counts at the prov…
Panel data homogeneity test HsiaoHi everyone. I'm so glad that I found this forum. Well, I really need some help regarding panel data…
How to create crisis dummy variable in panel countriesTime Period 1970 to 2018 Countries 33 I wanted to create crisis dummy variable 1 if below crisis ye…
How to find all user-written programs related to Text Mining / Content AnalysisDear Forum Members, I wish to find all avaliable adofiles related to Text Mining / Content Analysis…
Subscribe to:
Post Comments (Atom)
0 Response to Using MICE well
Post a Comment