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
ivtobit cannot show first stage outcomeDear Statalist, I am using ivtobit. However, stata does not show the first stage outcome when using …
Random selection of observations in a variableHi, I have a dataset with 1500 each for 46 countries. But I want to make a random selection of coun…
Generalized unidiff model for individual-level data available from SSCHi all, there is a new package called -udiff- available from SSC. It can be used to estimate so-cal…
xtivreg with random effect and optimal sample sizeDear all, Hello! I am using panel data and I did an Instrumental Variable estimation using the -xti…
Order of layersHi! If we consider different plots in a twoway graph as layers and if we don't change the order of p…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple imputations: Predicting missing for selected categories
Post a Comment