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
Spearman's rank correlation resultDear All, Can someone help me out, there's no result detail after i run my command. the code: by ag…
Specify overall column and heterogenity statistic on forest plot in Stata 17Hello! I'm working in Stata 17 with the following meta set, declared as follows: meta set logrr lo…
Explanation of tabstat commandHello, I am a little confused when running the "tabstat" command. For example, I entered the comman…
Yearly Sale Changes (in percentage)hello statalist, I hope everyone is fine I've following panel data of customers. I wanna know how …
The F or chi2 model statistic has been reported as missingHi, I have a panel data for US listed firms for the years 2001-2019. I am trying to a model to dete…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple imputation, mi
Post a Comment