To get a P-value across all categories of a particular exposure I use the likelihood ratio test comparing the full model to the null model, and if the P-value is significant I can state that there is a statistical significance across all exposure categories. When *not* using multiple imputation (complete case analysis) I would usually type that:
However, I have been trying the following after employing MICE for missing data but I get error messages.
when typing this command:
I get:
Can anyone help. How can I get a single P-value across categories while using multiple imputation?
clogit death i.ethnicity, group(matchedid) or
est store Danah
clogit death if ethnicity !=., group(matchedid) or
lrtest Danah
est store Danah
clogit death if ethnicity !=., group(matchedid) or
lrtest Danah
mi estimate, or: clogit death ethnicity, group(matchedid)
est store Danah
mi estimate, or: clogit death if ethnicity !=. , group(matchedid)
lrtest Danah
est store Danah
mi estimate, or: clogit death if ethnicity !=. , group(matchedid)
lrtest Danah
mi estimate, or: clogit death if ethnicity !=. , group(matchedid)
e(V) must be saved in all estimation results
Comment