logit y x
logistic y x
Logit output:
Logistic output:
If you want to export the coefficients to Word or Excel, it is the same as exporting an OLS regression. Here is the code I used:
esttab * using logistic1.csv, b(3) pr2
Exporting odds ratios requires transformation. The key is “eform” at the end of this command:
esttab * using logistic2.rtf, b(3) pr2 eform
and the results in Word look like this:
If you require t-test, you may use the following code:
esttab * using logistic3.csv, cells("b(fmt(3) star)" t(par fmt(2))) pr2
Comments
No response to “Stata: Export Logistic Regression (Coefficient/Odds ratio) to Word or Excel”
Post a Comment | Post Comments (Atom)
Post a Comment