TriaLab Power Studio · Method
Cochran–Mantel–Haenszel test across strata
Sizes a two-arm binary trial whose analysis adjusts for centre or another stratification factor, from the response rates assumed in each stratum and the share of the trial each holds. Reduces to the pooled comparison of two proportions when the strata agree.
Also known as: Cochran-Mantel-Haenszel, CMH, stratified, multicentre, multicenter, centre effect, stratified randomisation, adjusted analysis, 2x2 tables.
Maturity
Validated: 50 published examples from 3 independent publications (Chow, Shao, Wang & Lokhnygina 2017; Nam 1992; PASS) reproduce on every build (ADR-0001 §58).
What it solves for
- Sample size: offered.
- Power: offered.
- Detectable effect: offered.
- Precision: not offered — A confidence interval for a stratified effect is an interval for a common odds ratio or risk difference, neither of which is the quantity this test standardises, so the precision target does not apply to it.
- Assurance: not offered — No source on disk states a prior on this design’s effect, so the assurance modifier is not admitted here.
- Duration: not offered — This design has no time axis: participants are assessed at a fixed follow-up, so calendar time does not enter the power function.
Size axes:
- Participants in total, across all strata and both arms (
participants_total), Count
Inputs
Every field as the form shows it, with its help. A field marked advanced sits behind Expert mode.
Common to every method
- Significance level (alpha) (
alpha): a number, above 0 and below 1; default 0.05; typically 0.01 to 0.05 (0.05 in most trials; 0.01 for confirmatory claims); entered as proportion (0-1) or percent The type I error rate. Interpreted as two-sided when testing plain equality and one-sided when a margin frame is active, following the usual convention. - Target power (
power_target): a number, above 0 and below 1; default 0.8; typically 0.8 to 0.9 (0.80 is conventional; 0.90 for definitive trials); entered as proportion (0-1) or percent The chance of a significant result if the assumed effect is real. Used when solving for sample size or detectable effect; ignored when solving for power.
The method’s own
- Number of strata (
strata): a whole number, at least 1 and at most 64; default 4; typically 2 to 20 (more than about 20 strata rarely helps) How many centres, or levels of the stratification factor, the analysis will adjust for. - Relative share of the trial in each stratum (
stratum_fraction): one number per element, as many asstrata; default (1, 1, 1, 1) How the participants are expected to divide between the strata, as relative weights. They are normalised, so they need not sum to anything in particular: 1, 1, 1, 1 means four equal strata, and so does 0.25, 0.25, 0.25, 0.25. The weights are not neutral — the stratified effect depends on them, not only on their ratios to each other — so a stratum expected to recruit twice as fast should carry twice the weight. - Standardised stratified effect (δ) (
cmh_delta): a number, any finite number; default 0.3 Chow’s Equation 6.4: the stratum-weighted treatment effect divided by its standard error at one participant. The trial needs (z + z)² / δ² participants in total. Enter the per-stratum rates instead and this is computed for you. - Response rate on treatment, in each stratum (
p_treatment): one number per element, as many asstrata; default (0.3, 0.3, 0.3, 0.3); entered as proportion (0-1) or percent The probability of the outcome for a treated participant in each stratum — a conditional rate within the stratum, not a share of the whole trial. - Response rate on control, in each stratum (
p_control): one number per element, as many asstrata; default (0.5, 0.5, 0.5, 0.5); entered as proportion (0-1) or percent The probability of the outcome for a control participant in each stratum, in the same stratum order. - Test and its power (
test_form): a choice; defaultcochranWhich form of the Cochran–Mantel–Haenszel test the trial is sized for. Cochran’s statistic, the default, takes the variance under the null for the significance quantile and under the alternative for the power, as Woolson, Bean and Rojas and Nam do and PASS prints; Nam’s continuity correction of one half asks for more, and is the form Nam recommends to hold the level. Chow’s Equation 6.4 uses the null variance in both, through the single number δ. The two Cochran forms need the rates in each stratum.cochranCochran’s statistic: The default; Woolson, Bean and Rojas (1986), Nam (1992), PASS 225.cochran_correctedCochran’s statistic, continuity-corrected: Nam’s (1992) correction of one half; PASS 225’s corrected test.chowChow’s Equation 6.4: The null variance in both quantiles; sizes from δ alone.
- Sidedness of the equality test (
tails): a choice; defaulttwo_sidedThe Cochran–Mantel–Haenszel statistic is a chi-square on one degree of freedom, which is the two-sided test; Chow writes it that way. The one-sided form is the equivalent normal deviate.two_sidedTwo-sided: Either direction rejects.one_sidedOne-sided: Only the anticipated direction rejects; alpha is spent on that tail.
Sizes entered when another axis is solved for
- Participants in total, across all strata and both arms (
participants_total): a whole number, at least 1 Participants in total, across all strata and both arms. Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Ways to express an input
Effect size — The treatment effect across strata: each stratum’s share of the trial and the two response rates in it, or the single standardised quantity they reduce to.
- Standardised stratified effect: Chow’s δ, the one number the power depends on. (fields
cmh_delta) - Response rate in each stratum, the form’s default: The two arms’ rates per stratum and the share of the trial each stratum holds; δ is computed from them. (fields
stratum_fraction,p_treatment,p_control)
Modifiers admitted
allocation: Allocationdropout: Dropout
Published examples it reproduces (50)
Each is a worked example: the inputs as a user enters them, and the number the source prints, which the engine reproduces within the tolerance on every build (the Validation screen runs them on your machine).
| Source | Example | Solves for | Inputs | Published |
|---|---|---|---|---|
| Chow, Shao, Wang & Lokhnygina 2017, §6.3.2 (printed p. 138) | Four countries holding a quarter of the trial each, adverse-event rates 0.30/0.50, 0.40/0.60, 0.20/0.60 and 0.30/0.70 on the two arms, two-sided alpha 0.05, power 0.80 => delta 0.3030 and 86 participants in total | Sample size | alpha = 0.05; p_control = (0.5, 0.6, 0.6, 0.7); p_treatment = (0.3, 0.4, 0.2, 0.3); power_target = 0.8; strata = 4; stratum_fraction = (0.25, 0.25, 0.25, 0.25); test_form = chow; effect expressed as rates |
participants_total = 86 ± 0 |
| Nam 1992, §3 (printed p. 392), after Woolson, Bean & Rojas 1986 | four age strata at 0.10/0.40/0.35/0.15, controls exposed 0.75/0.70/0.65/0.60, odds ratio 3, cases and controls equal, one-sided 0.05, 90% power, uncorrected => 171 in all | Sample size | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); power_target = 0.9; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 171 ± 0 |
| Nam 1992, §3 (printed p. 392), after Woolson, Bean & Rojas 1986 | four age strata at 0.10/0.40/0.35/0.15, controls exposed 0.75/0.70/0.65/0.60, odds ratio 3, cases and controls equal, one-sided 0.05, 70% power, uncorrected => 95 in all | Sample size | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); power_target = 0.7; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 95 ± 0 |
| Nam 1992, §3 (printed p. 392), after Woolson, Bean & Rojas 1986 | four age strata at 0.10/0.40/0.35/0.15, controls exposed 0.75/0.70/0.65/0.60, odds ratio 3, cases and controls equal, one-sided 0.05, 90% power, continuity-corrected => 192 in all | Sample size | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); power_target = 0.9; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 192 ± 0 |
| Nam 1992, §3 (printed p. 392), after Woolson, Bean & Rojas 1986 | four age strata at 0.10/0.40/0.35/0.15, controls exposed 0.75/0.70/0.65/0.60, odds ratio 3, cases and controls equal, one-sided 0.05, 70% power, continuity-corrected => 115 in all (115.16, printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); power_target = 0.7; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 115 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.1/0.2/0.5, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, continuity-corrected => 151 in all | Sample size | alpha = 0.05; p_control = (0.1, 0.2, 0.5); p_treatment = (0.25, 0.428571, 0.75); power_target = 0.9; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 151 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.1/0.2/0.5, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, uncorrected => 134 in all (printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.1, 0.2, 0.5); p_treatment = (0.25, 0.428571, 0.75); power_target = 0.9; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 134 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.1/0.2/0.5, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, continuity-corrected => 114 in all | Sample size | alpha = 0.05; p_control = (0.1, 0.2, 0.5); p_treatment = (0.25, 0.428571, 0.75); power_target = 0.8; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 114 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.1/0.2/0.5, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, uncorrected => 97 in all (printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.1, 0.2, 0.5); p_treatment = (0.25, 0.428571, 0.75); power_target = 0.8; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 97 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.1/0.2/0.5, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, continuity-corrected => 165 in all (printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.1, 0.2, 0.5); p_treatment = (0.25, 0.428571, 0.75); power_target = 0.9; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 165 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.1/0.2/0.5, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, uncorrected => 147 in all (printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.1, 0.2, 0.5); p_treatment = (0.25, 0.428571, 0.75); power_target = 0.9; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 147 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.1/0.2/0.5, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, continuity-corrected => 125 in all | Sample size | alpha = 0.05; p_control = (0.1, 0.2, 0.5); p_treatment = (0.25, 0.428571, 0.75); power_target = 0.8; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 125 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.1/0.2/0.5, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, uncorrected => 107 in all | Sample size | alpha = 0.05; p_control = (0.1, 0.2, 0.5); p_treatment = (0.25, 0.428571, 0.75); power_target = 0.8; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 107 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.3/0.5/0.4, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, continuity-corrected => 134 in all | Sample size | alpha = 0.05; p_control = (0.3, 0.5, 0.4); p_treatment = (0.5625, 0.75, 0.666667); power_target = 0.9; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 134 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.3/0.5/0.4, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, uncorrected => 119 in all | Sample size | alpha = 0.05; p_control = (0.3, 0.5, 0.4); p_treatment = (0.5625, 0.75, 0.666667); power_target = 0.9; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 119 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.3/0.5/0.4, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, continuity-corrected => 101 in all (printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.3, 0.5, 0.4); p_treatment = (0.5625, 0.75, 0.666667); power_target = 0.8; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 101 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.3/0.5/0.4, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, uncorrected => 86 in all (printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.3, 0.5, 0.4); p_treatment = (0.5625, 0.75, 0.666667); power_target = 0.8; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 86 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.3/0.5/0.4, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, continuity-corrected => 136 in all | Sample size | alpha = 0.05; p_control = (0.3, 0.5, 0.4); p_treatment = (0.5625, 0.75, 0.666667); power_target = 0.9; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 136 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.3/0.5/0.4, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, uncorrected => 121 in all | Sample size | alpha = 0.05; p_control = (0.3, 0.5, 0.4); p_treatment = (0.5625, 0.75, 0.666667); power_target = 0.9; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 121 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.3/0.5/0.4, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, continuity-corrected => 103 in all | Sample size | alpha = 0.05; p_control = (0.3, 0.5, 0.4); p_treatment = (0.5625, 0.75, 0.666667); power_target = 0.8; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 103 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.3/0.5/0.4, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, uncorrected => 88 in all | Sample size | alpha = 0.05; p_control = (0.3, 0.5, 0.4); p_treatment = (0.5625, 0.75, 0.666667); power_target = 0.8; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 88 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.5/0.4/0.7, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, continuity-corrected => 169 in all | Sample size | alpha = 0.05; p_control = (0.5, 0.4, 0.7); p_treatment = (0.75, 0.666667, 0.875); power_target = 0.9; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 169 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.5/0.4/0.7, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, uncorrected => 150 in all (printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.5, 0.4, 0.7); p_treatment = (0.75, 0.666667, 0.875); power_target = 0.9; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 150 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.5/0.4/0.7, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, continuity-corrected => 128 in all | Sample size | alpha = 0.05; p_control = (0.5, 0.4, 0.7); p_treatment = (0.75, 0.666667, 0.875); power_target = 0.8; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 128 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.1/0.3/0.6, controls exposed 0.5/0.4/0.7, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, uncorrected => 109 in all (printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.5, 0.4, 0.7); p_treatment = (0.75, 0.666667, 0.875); power_target = 0.8; strata = 3; stratum_fraction = (0.1, 0.3, 0.6); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 109 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.5/0.4/0.7, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, continuity-corrected => 147 in all | Sample size | alpha = 0.05; p_control = (0.5, 0.4, 0.7); p_treatment = (0.75, 0.666667, 0.875); power_target = 0.9; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 147 ± 0 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.5/0.4/0.7, cases and controls equal in each, odds ratio 3, one-sided 0.05, 90% power, uncorrected => 130 in all (printed to the nearest; this engine rounds up) | Sample size | alpha = 0.05; p_control = (0.5, 0.4, 0.7); p_treatment = (0.75, 0.666667, 0.875); power_target = 0.9; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 130 ± 1 |
| Nam 1992, Table 2 (printed p. 393) | three strata at 0.25/0.5/0.25, controls exposed 0.5/0.4/0.7, cases and controls equal in each, odds ratio 3, one-sided 0.05, 80% power, uncorrected => 95 in all | Sample size | alpha = 0.05; p_control = (0.5, 0.4, 0.7); p_treatment = (0.75, 0.666667, 0.875); power_target = 0.8; strata = 3; stratum_fraction = (0.25, 0.5, 0.25); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 95 ± 0 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 50 in all, one-sided 0.05, continuity-corrected => power 0.17827 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 50; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.17827 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 100 in all, one-sided 0.05, continuity-corrected => power 0.35051 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 100; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.35051 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 150 in all, one-sided 0.05, continuity-corrected => power 0.49917 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 150; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.49917 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 200 in all, one-sided 0.05, continuity-corrected => power 0.62148 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 200; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.62148 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 250 in all, one-sided 0.05, continuity-corrected => power 0.71862 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 250; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.71862 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 300 in all, one-sided 0.05, continuity-corrected => power 0.79373 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 300; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.79373 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 350 in all, one-sided 0.05, continuity-corrected => power 0.85059 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 350; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.85059 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 400 in all, one-sided 0.05, continuity-corrected => power 0.89289 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 400; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.89289 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 450 in all, one-sided 0.05, continuity-corrected => power 0.92392 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 450; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.92392 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 2, 500 in all, one-sided 0.05, continuity-corrected => power 0.94639 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.857143, 0.823529, 0.787879, 0.75); participants_total = 500; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.94639 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 50 in all, one-sided 0.05, continuity-corrected => power 0.33564 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 50; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.33564 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 100 in all, one-sided 0.05, continuity-corrected => power 0.63373 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 100; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.63373 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 150 in all, one-sided 0.05, continuity-corrected => power 0.81513 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 150; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.81513 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 200 in all, one-sided 0.05, continuity-corrected => power 0.91213 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 200; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.91213 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 250 in all, one-sided 0.05, continuity-corrected => power 0.96006 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 250; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.96006 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 300 in all, one-sided 0.05, continuity-corrected => power 0.98247 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 300; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.98247 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 350 in all, one-sided 0.05, continuity-corrected => power 0.99252 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 350; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.99252 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 400 in all, one-sided 0.05, continuity-corrected => power 0.99688 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 400; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.99688 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 450 in all, one-sided 0.05, continuity-corrected => power 0.99873 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 450; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.99873 ± 0.000005 |
| PASS chapter 225, Example 1 (printed p. 225-6) | Nam’s four age strata, odds ratio 3, 500 in all, one-sided 0.05, continuity-corrected => power 0.99949 | Power | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); participants_total = 500; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
power = 0.99949 ± 0.000005 |
| PASS chapter 225, Example 2, validating Nam (1992) p. 392 | Nam’s design at odds ratio 3, one-sided 0.05, 90% power, continuity-corrected => 192 | Sample size | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); power_target = 0.9; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran_corrected; effect expressed as rates |
participants_total = 192 ± 0 |
| PASS chapter 225, Example 2, validating Nam (1992) p. 392 | Nam’s design at odds ratio 3, one-sided 0.05, 90% power, uncorrected => 171 | Sample size | alpha = 0.05; p_control = (0.75, 0.7, 0.65, 0.6); p_treatment = (0.9, 0.875, 0.847826, 0.818182); power_target = 0.9; strata = 4; stratum_fraction = (0.1, 0.4, 0.35, 0.15); tails = one_sided; test_form = cochran; effect expressed as rates |
participants_total = 171 ± 0 |
Sources
- Chow S-C, Shao J, Wang H, Lokhnygina Y. Sample Size Calculations in Clinical Research. 3rd ed. Boca Raton: Chapman & Hall/CRC; 2017. §6.3, Equation 6.4.
- Cochran WG. Some methods for strengthening the common chi-squared tests. Biometrics. 1954;10(4):417-451. Mantel N, Haenszel W. Statistical aspects of the analysis of data from retrospective studies of disease. J Natl Cancer Inst. 1959;22(4):719-748.
- Woolson RF, Bean JA, Rojas PB. Sample size for case-control studies using Cochran’s statistic. Biometrics. 1986;42(4):927-932.
- Nam J. Sample size determination for case-control studies and the comparison of stratified and unstratified analyses. Biometrics. 1992;48(2):389-395.
- NCSS, LLC. PASS 2026 documentation, chapter 225: Tests for Two Proportions in a Stratified Design (Cochran-Mantel-Haenszel Test). Kaysville, UT: NCSS, LLC; 2026.
This page was generated from TriaLab Power Studio 2.0.1's engine, as the method is built, and is published in English only. All methods →