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
How to calculate weighted mean incomeI want to calculate a weighted mean income for each state. Here is a part of the sample. (I randoml…
putdocx + loop --> label?Hello! I'm using a loop to output graphs and save them directly to Word. Is there a possibility to i…
Exporting variable values rather than labelsHello I intend to use a dataset multiple times. After encoding all my string variables, I exported …
Generate cases according to a number in variableDear All, How do we create a number of cases according to the number in a variable. For example I w…
How to extract matrix elements to Word table using putdocx table?I have a matrix called matrix1 whose values are present and verified (e.g., using matrix list matrix…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple imputation, mi
Post a Comment