-------------------------------------------------------------------------------------------------------- name: log: C:\MyDocs\MPH\LectureNotes\ClassDoLogData\logistic regression\5.5.EsophagealCa.log log type: text opened on: 23 Apr 2010, 17:32:34 . * 5.5.EsophagealCa.log . * . * Calculate the Mantel-Haenszel age-adjusted odds ratio from . * the Ille-et-Vilaine study of esophageal cancer and alcohol . * (Breslow & Day 1980, Tuyns 1977). . * . use 5.5.EsophagealCa.dta, clear . table cancer heavy [freq=patients] ------------------------------ | Heavy Alcohol Esophagea | Consumption l Cancer | < 80 gm >= 80 gm ----------+------------------- No | 666 109 Yes | 104 96 ------------------------------ . table cancer heavy [freq=patients], by(age) ------------------------------ Age | (years) | and | Heavy Alcohol Esophagea | Consumption l Cancer | < 80 gm >= 80 gm ----------+------------------- 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 name: log: C:\MyDocs\MPH\LectureNotes\ClassDoLogData\logistic regression\5.5.EsophagealCa.log log type: text closed on: 23 Apr 2010, 17:32:37 --------------------------------------------------------------------------------------------------------