Hello,
I am using the mediate command. e.g.,
mediate (x1, logit) (m1, logit) (e1)
x1 (outcome)
m1 (mediator)
e1 (exposure)
I run it again to get the coefficient labels i.e.,
mediate (x1, logit) (m1, logit) (e1), coeflegend
For simiplicity, I get.
NIE ceof_nie
NDE coef_nde
TE coef_te
I run estat or to refitt to get odds ratios for ease of translation in a paper.
For exporting the odds ratio to excel using putexcel use:
lincom coef_nie, or
lincom coef_nde, or
lincom coef_te, or
Unfortunately, the estat or command syntax gave much different odds ratio estimates than the lincom results.
Is there something wrong with my above syntax?
Thanks,
David
I am using the mediate command. e.g.,
mediate (x1, logit) (m1, logit) (e1)
x1 (outcome)
m1 (mediator)
e1 (exposure)
I run it again to get the coefficient labels i.e.,
mediate (x1, logit) (m1, logit) (e1), coeflegend
For simiplicity, I get.
NIE ceof_nie
NDE coef_nde
TE coef_te
I run estat or to refitt to get odds ratios for ease of translation in a paper.
For exporting the odds ratio to excel using putexcel use:
lincom coef_nie, or
lincom coef_nde, or
lincom coef_te, or
Unfortunately, the estat or command syntax gave much different odds ratio estimates than the lincom results.
Is there something wrong with my above syntax?
Thanks,
David
Comment