Tools › Statistics › Health Statistics › Epidemiology Tables › Example
Three strata with risk ratio 1.5 each and a crude risk ratio of 0.69: Mantel-Haenszel pooling step by step
| Tool | Epidemiology Tables |
| Source | original |
| Level | Undergraduate |
Problem
A new treatment was given to 800 patients and 800 others were not treated; a complication was counted in both groups, by severity of illness. Mild: 12 of 400 treated and 2 of 100 untreated. Moderate: 27 of 300 and 18 of 300. Severe: 30 of 100 and 80 of 400. Compare the crude risk ratio with the Mantel-Haenszel risk ratio pooled over the three strata, with 95 % intervals, and test the homogeneity of the strata.
Inputs to Enter
- Kind of data: cohort study or trial, counts
- Strata (a, b, c, d): Mild 12, 388, 2, 98; Moderate 27, 273, 18, 282; Severe 30, 70, 80, 320
- Confidence level 95 %; zero cells left as entered
Answers
- Stratum risk ratios: 3 % / 2 % = 1.50, 9 % / 6 % = 1.50, 30 % / 20 % = 1.50
- Crude table 69, 731, 100, 700: risks 8.63 % and 12.50 %, risk ratio 0.690 (95 % interval 0.516 to 0.923)
- Mantel-Haenszel risk ratio = (2.4 + 13.5 + 24.0) / (1.6 + 9.0 + 16.0) = 39.9 / 26.6 = 1.500; standard error of its logarithm √(25.432 / (39.9 × 26.6)) = 0.1548; interval 1.107 to 2.032
- Pooled odds ratio 1.635 (1.123 to 2.380); pooled risk difference 4.29 points (0.94 to 7.64) against a crude difference of −3.88 points
- The pooled ratio is 117.4 % higher than the crude one and lies on the other side of 1: half of the treated are in the mild stratum (baseline risk 2 %), half of the untreated in the severe one (baseline risk 20 %)
- Homogeneity of the odds ratios: Breslow-Day with Tarone's correction 0.074 on 2 degrees of freedom, p = 0.964; Cochran-Mantel-Haenszel chi-square 6.71, p = 0.0096
Notes
The tool's default inputs are this case; press Submit, or open /analysis-tools/statistics/health/epidemiology-tables/?try=sides-flip. The counts are made up for illustration. Every figure is checked against an independent scipy computation. The page states the two ratios; whether severity is a variable to adjust for is a judgment about the study.
More Examples for This Tool
- CDC's tuberculosis outbreak in a prison dormitory: risk ratio 6.1 and odds ratio 7.2 from one 2×2 table
- CDC's legionellosis outbreak and Grocery Store A: the odds ratio of a case-control table and its Cornfield interval
- Night shifts and injury in two age groups: risk ratios of 3.0 and 0.91 and the test of homogeneity
- Heavy lifting and back injury by age: rate ratios from cases and person-years, crude 1.68 and pooled 2.09
- A 2×2 table with a zero cell: 9 of 15 ill against 0 of 11, with the 0.5 correction and the exact methods