***************************************************************
* *
* Logistic Regression - Odds Ratio Confidence Interval *
* *
* *
***************************************************************
insheet using http://hedwig.mgh.harvard.edu/biostatistics/sites/default/files/public/education/tmp_sample_data.csv
logistic diabetes i.race
********************************** ANNOTATED RESULTS **********************************
Logistic regression Number of obs = 60
LR chi2(2) = 4.96
Prob > chi2 = 0.0838
Log likelihood = -33.285646 Pseudo R2 = 0.0693
------------------------------------------------------------------------------
diabetes | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
race |
2 | .2139037 .1789305 -1.84 0.065 .0415134 1.10217
3 | 1.212121 .905103 0.26 0.797 .2805081 5.237774
|
_cons | .55 .2064582 -1.59 0.111 .2635359 1.147851
------------------------------------------------------------------------------