Hello,
(Firstly, really sorry for lack of direct export of STATA code - I'm using it via a secure VDI so have had to re-write here)
Could somebody kindly help me with running commands to assess the strength of a linear trend when using multiple imputation with logistic regression? I am looking at odds of coronary angiogram in people with different degrees of kidney impairment (an ordinal variable - ckdstages 1-5).
This was all working for me without multiple imputation. My code was:
logistic angiogram i.ckdstage i.ageyears_grp obese cvd diabetes...
contrast p.ckdstage, noeffects
************************************************** ************************************************** *****************************
However, I then realised I needed to impute some ethnicity data and using multiple imputation for this.
mi estimate, or post: logit angiogram i.ckdstage i.ageyears_grp obese cvd diabetes...
I think I need to now use the command mimrgns to assess trend, but have failed to make head or tails of the STATA file on this command. Could somebody possibly help me?
Sorry if this is terribly obvious. It's sadly not to me!
Thankyou so much for your time.
Jemima
(Firstly, really sorry for lack of direct export of STATA code - I'm using it via a secure VDI so have had to re-write here)
Could somebody kindly help me with running commands to assess the strength of a linear trend when using multiple imputation with logistic regression? I am looking at odds of coronary angiogram in people with different degrees of kidney impairment (an ordinal variable - ckdstages 1-5).
This was all working for me without multiple imputation. My code was:
logistic angiogram i.ckdstage i.ageyears_grp obese cvd diabetes...
contrast p.ckdstage, noeffects
************************************************** ************************************************** *****************************
However, I then realised I needed to impute some ethnicity data and using multiple imputation for this.
mi estimate, or post: logit angiogram i.ckdstage i.ageyears_grp obese cvd diabetes...
I think I need to now use the command mimrgns to assess trend, but have failed to make head or tails of the STATA file on this command. Could somebody possibly help me?
Sorry if this is terribly obvious. It's sadly not to me!
Thankyou so much for your time.
Jemima
Comment