***************************************************************
* *
* 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 gender
********************************** ANNOTATED RESULTS **********************************
Logistic regression Number of obs = 60
LR chi2(1) = 1.04
Prob > chi2 = 0.3071
Log likelihood = -35.242861 Pseudo R2 = 0.0146
------------------------------------------------------------------------------
diabetes | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
gender | 2.022222 1.451243 0.98 0.326 .4954114 8.254519
_cons | .2307692 .1478106 -2.29 0.022 .0657616 .8098102
------------------------------------------------------------------------------