------------------------------------------------------------------------------------------------- log: C:\MyDocs\MPH\Text\SecondEdition\WebDoFiles\5.5.EsophagealCa.log log type: text opened on: 30 Dec 2007, 20:54:21 . * 5.5.EsophagealCa.log . * . * Calculate the Mantel-Haenszel age-adjusted odds ratio from . * the Ille-et-Vilaine study of esophageal cancer and alcohol. . * . use C:\WDDtext\5.5.EsophagealCa.dta, clear . table cancer heavy [freq=patients] ---------------------------- | Heavy Alcohol Esophagea | Consumption l Cancer | < 80 g >= 80 g ----------+----------------- No | 666 109 Yes | 104 96 ---------------------------- . table cancer heavy [freq=patients], by(age) ---------------------------- Age | (years) | and | Heavy Alcohol Esophagea | Consumption l Cancer | < 80 g >= 80 g ----------+----------------- 25-34 | No | 106 9 Yes | 1 ----------+----------------- 35-44 | No | 164 26 Yes | 5 4 ----------+----------------- 45-54 | No | 138 29 Yes | 21 25 ----------+----------------- 55-64 | No | 139 27 Yes | 34 42 ----------+----------------- 65-74 | No | 88 18 Yes | 36 19 ----------+----------------- >= 75 | No | 31 Yes | 8 5 ---------------------------- . cc heavy cancer [freq=patients], by(age) Age (years) | OR [95% Conf. Interval] M-H Weight -----------------+------------------------------------------------- 25-34 | . 0 . 0 (exact) 35-44 | 5.046154 .9268668 24.86537 .6532663 (exact) 45-54 | 5.665025 2.632894 12.16535 2.859155 (exact) 55-64 | 6.359477 3.299319 12.28473 3.793388 (exact) 65-74 | 2.580247 1.131489 5.857258 4.024845 (exact) >= 75 | . 4.388738 . 0 (exact) -----------------+------------------------------------------------- Crude | 5.640085 3.937435 8.061794 (exact) M-H combined | 5.157623 3.562131 7.467743 ------------------------------------------------------------------- Test of homogeneity (Tarone) chi2(5) = 9.30 Pr>chi2 = 0.0977 Test that combined OR = 1: Mantel-Haenszel chi2(1) = 85.01 Pr>chi2 = 0.0000 . log close log: C:\MyDocs\MPH\Text\SecondEdition\WebDoFiles\5.5.EsophagealCa.log log type: text closed on: 30 Dec 2007, 20:54:27 -----------------------------------------------------------------------------------------------