Hello,
I am trying to impute all missing values including covariates and outcomes at 3 months of follow-up and 9 months of follow-up using multiple imputation with chained equations (data were assumed to be missing at random).
For those who had missing outcomes at both 3-month and 9-month, I'm trying to impute the outcome variables at 3 months first and use imputed data to impute the outcomes at 9 months. Can I use imputed outcome data (3months) for imputing another outcome data (9months)?
mi set mlong
mi register regular age sex baseline
mi register imputed outcome_3month covariate
mi impute chained (logit) covariate (logit) outcome_3month=age sex baline, add(20) rseed(1500) burin(20)
How to save the imputed variables and use them to impute outcome_9month?
Thank you so much for your help.
Related Posts with Multiple imputation, mi
Understanding Stata's post estimation test commandI have a dataset with 25 observations. The variables are y, k and l. I run the following regression …
Interpretation of ritest resultHi, I am running an ritest for a difference-in-difference analysis but I'm unsure about the interpr…
Suggestion on statistical analysisHere I have attached disturbance estimates (sum of disturbance in each plot) of randomly selected pl…
chi2I got this one for my assignment. And didn´t quite follow. One question I have is if we need a set …
Enter vs. Origin - Landmark survival analysisI'm working on a survival analysis for patients undergoing cancer treatment. To account for immortal…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple imputation, mi
Post a Comment