-------------------------------------------------------------------------------------------------------- name: log: C:\MyDocs\MPH\LectureNotes\ClassDoLogData\Poisson\8.2.Framingham.log log type: text opened on: 29 Apr 2010, 17:19:57 . * 8.2.Framingham.log . * . * Estimate the crude (unadjusted) relative risk of . * coronary heart disease in men compared to women using . * person-year data from the Framingham Heart Study (Levy 1999). . * . iri 823 650 42259 61451 | Exposed Unexposed | Total -----------------+------------------------+------------ Cases | 823 650 | 1473 Person-time | 42259 61451 | 103710 -----------------+------------------------+------------ | | Incidence rate | .0194751 .0105775 | .0142031 | | | Point estimate | [95% Conf. Interval] |------------------------+------------------------ Inc. rate diff. | .0088976 | .0073383 .010457 Inc. rate ratio | 1.84118 | 1.659204 2.043774 (exact) Attr. frac. ex. | .45687 | .3973015 .510709 (exact) Attr. frac. pop | .2552641 | +------------------------------------------------- (midp) Pr(k>=823) = 0.0000 (exact) (midp) 2*Pr(k>=823) = 0.0000 (exact) . * . * The equivalent ir command is illustrated below. . * . use 8.2.Framingham.dta, clear . list +-----------------------+ | male chd per_yrs | |-----------------------| 1. | Women 650 61451 | 2. | Men 823 42259 | +-----------------------+ . ir chd male per_yrs | Male | | Exposed Unexposed | Total -----------------+------------------------+------------ CHD patients | 823 650 | 1473 P-yrs follow-up | 42259 61451 | 103710 -----------------+------------------------+------------ | | Incidence rate | .0194751 .0105775 | .0142031 | | | Point estimate | [95% Conf. Interval] |------------------------+------------------------ Inc. rate diff. | .0088976 | .0073383 .010457 Inc. rate ratio | 1.84118 | 1.659204 2.043774 (exact) Attr. frac. ex. | .45687 | .3973015 .510709 (exact) Attr. frac. pop | .2552641 | +------------------------------------------------- (midp) Pr(k>=823) = 0.0000 (exact) (midp) 2*Pr(k>=823) = 0.0000 (exact) . log close name: log: C:\MyDocs\MPH\LectureNotes\ClassDoLogData\Poisson\8.2.Framingham.log log type: text closed on: 29 Apr 2010, 17:19:57 --------------------------------------------------------------------------------------------------------