Hi Guys,
I am modelling a binary outcome variable prevalence <2% using mice for missing data. I am trying to get adjusted risk ratios using a poisson model and multiple imputation chained equations.
I have the following code:
mi set mlong
mi register imputed V1 V2 V3 V4 V5 V6
mi impute chained (mlogit) V2 (mlogit)V3 (logit) V4 (mlogit) V5 (logit) V6 = V1, add (10) rseed (53421) savetrace(trace1, replace)
mi estimate: glm V1V2 V3 V4 V5 V6, fam(poisson) link(log) nolog vce(robust) eform
I am able to obtain beta coefficients with this code but for some reason I am not able to obtain RR? Any clue how I can obtain this in an imputed mice model?
Thanks for your help!
I am modelling a binary outcome variable prevalence <2% using mice for missing data. I am trying to get adjusted risk ratios using a poisson model and multiple imputation chained equations.
I have the following code:
mi set mlong
mi register imputed V1 V2 V3 V4 V5 V6
mi impute chained (mlogit) V2 (mlogit)V3 (logit) V4 (mlogit) V5 (logit) V6 = V1, add (10) rseed (53421) savetrace(trace1, replace)
mi estimate: glm V1V2 V3 V4 V5 V6, fam(poisson) link(log) nolog vce(robust) eform
I am able to obtain beta coefficients with this code but for some reason I am not able to obtain RR? Any clue how I can obtain this in an imputed mice model?
Thanks for your help!
Comment