Hi
I'm currently trying to use multiple imputation for a register based cohort analysis on maternal smoking during pregnancy and the risk of cryptorchidism and hypospadias.
My exposure smoke_cat i categorized as 0-6 + missings (4%). Category 6 is "Smoker amount unknown".
I wish to predict the missings as category 0-5 (0: Never, 1: Former, 2:<5cig/day, 3: 6-10, 4: 11-20, 5: >21). I also want to treat category 6 "Smoker, amount unknown" as missing, but to only predict it into category 2-5. How is that possible.
My current syntax is the following:
mi impute chained (ologit) smoke_cat education (regress) gestage_week birthweight (logit) parity maritalstatus (mlogit) nationality = boy_no cryptorchidism hypospadias maternalage birthyear, add(100)
Related Posts with Multiple imputations: Predicting missing for selected categories
Regressing on two years backHi all, until now I have estimated intercepts and coefficients "asking" STATA to do it for each diff…
Technical Issues with STATAI want to know if anyone is having the same problem as I do. Every time I paste my data on STATA, it…
New package: simulate2 and psimulate2Thanks to Kit Baum a new package is available on SSC. simulate2 and psimulate2 enhance and parallali…
Significant interaction term in fixed effects modelDear all, I am currently running linear fixed effects regression models (xtreg, fe vce(cluster id)) …
How to do a graph like this one in StataDear Statalist, I am trying do replicate (with my own data) a graph like the one I show below. As y…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple imputations: Predicting missing for selected categories
Post a Comment