Hello everyone.
I am trying to do multiple imputation using mi impute chained using the syntax below. This is a simplified version of what I actually want to do.
mi impute chained (regress) imd = diag_group sex age_c_ent adm_bfr_cohort adm_1_mha_update antipsychot psychotro time_2_2nd_acute acute_care_1_yr_disc_1 adm_cohort c_cont_2 died_cohort, rseed(61044) add(10) force
But get this error message.
mi impute: invalid imputation method chained
I cannot see what the problem is. Any ideas?
All variables on the right of the = are registered as regular and imd is registered as imputed
Output from mi describe:
Style: flong
last mi update 19jun2019 09:10:50, 0 seconds ago
Obs.: complete 96
incomplete 808 (M = 0 imputations)
---------------------
total 904
Vars.: imputed: 35; ethnic(341) imd(293) f00_f09(376) f10_f19(376) f20_f29(376) f30_f39(376) f40_f48(376) f50_f59(376)
f60_f69(376) f90f98(376) f99(376) honos_f_1(431) honos_f_2(431) honos_f_3(433) honos_f_4(432)
honos_f_5(434) honos_f_6(432) honos_f_7(433) honos_f_8(450) honos_f_9(431) honos_f_10(433)
honos_f_11(431) honos_f_12(434) honos_1_1(782) honos_1_2(781) honos_1_3(782) honos_1_4(781)
honos_1_5(781) honos_1_6(782) honos_1_7(782) honos_1_8(784) honos_1_9(781) honos_1_10(782)
honos_1_11(782) honos_1_12(783)
passive: 1; num_diag_grps(250)
regular: 12; diag_group sex age_c_ent adm_bfr_cohort adm_1_mha_update antipsychot psychotro time_2_2nd_acute
acute_care_1_yr_disc_1 adm_cohort c_cont_2 died_cohort
system: 3; _mi_m _mi_id _mi_miss
(there are 547 unregistered variables)
Thanks
Louise
Related Posts with Multiple imputation using mi impute chained
Help regarding creating variables for line + bar graph.HI, I know that this has been discussed earlier in numerous fora, but, somehow I am unable to figur…
Histogram with density of 15??Hi everyone, I would like to know if I'm doing something wrong. I am running almost 200 regression…
Combining observations with the same year and id in a single datasetI have some data that looks like this: no. id year var1 var2 var3 1 1 2000 50 . . 2 1 2000 . …
First Differencing ErrorHi there, I'm trying to first difference my variable on industrial production, but all I get are mi…
generating variables with "or"Hi, I wish to create a new variable given certain parameters of 3 other variables. I have tried the …
Subscribe to:
Post Comments (Atom)
0 Response to Multiple imputation using mi impute chained
Post a Comment