------------------------------------------------------------------------------------------------- log: C:\MyDocs\MPH\Text\SecondEdition\WebDoFiles\4.22.EsophagealCa.log log type: text opened on: 30 Dec 2007, 20:53:42 . * 4.22.EsophagealCa.log . * . * Logistic regression analysis of 2x2 case-control data from . * the Ille-et-Vilaine study of esophageal cancer and alcohol. . * . use C:\WDDtext\4.21.EsophagealCa.dta,clear . cc cancer alcohol [freq=patients], woolf | alcohol | Proportion | Exposed Unexposed | Total Exposed -----------------+------------------------+------------------------ Cases | 96 104 | 200 0.4800 Controls | 109 666 | 775 0.1406 -----------------+------------------------+------------------------ Total | 205 770 | 975 0.2103 | | | Point estimate | [95% Conf. Interval] |------------------------+------------------------ Odds ratio | 5.640085 | 4.000589 7.951467 (Woolf) Attr. frac. ex. | .8226977 | .7500368 .8742371 (Woolf) Attr. frac. pop | .3948949 | +------------------------------------------------- chi2(1) = 110.26 Pr>chi2 = 0.0000 . logistic alcohol cancer [freq=patients] Logistic regression Number of obs = 975 LR chi2(1) = 96.43 Prob > chi2 = 0.0000 Log likelihood = -453.2224 Pseudo R2 = 0.0962 ------------------------------------------------------------------------------ alcohol | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- cancer | 5.640085 .9883491 9.87 0.000 4.000589 7.951467 ------------------------------------------------------------------------------ . log close log: C:\MyDocs\MPH\Text\SecondEdition\WebDoFiles\4.22.EsophagealCa.log log type: text closed on: 30 Dec 2007, 20:53:42 -----------------------------------------------------------------------------------------------