TriaLab Power Studio · Method
Ordered categorical outcome, proportional odds (Whitehead)
Sizes a two-group trial whose outcome is an ordered scale — a modified Rankin score, a Likert item, an illness-severity grade — for the common odds ratio of a proportional-odds model, analysed by ordinal logistic regression or the Mann–Whitney test. Enter the control group’s distribution and the odds ratio; the treatment’s distribution is derived.
Also known as: proportional odds, ordinal logistic regression, ordered logit, Whitehead, modified Rankin, mRS, Likert, ordinal outcome, common odds ratio, NYHA class, WHO ordinal scale.
Maturity
Validated: 22 published examples from 2 independent publications (Machin, Campbell, Tan & Tan 2018; 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 width for a common odds ratio is not sized here: neither PASS chapter 252 nor Machin’s chapter 4 offers one.
- 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: each subject is classified once (or once before and once after), so calendar time does not enter the power function.
Size axes:
- Subjects in group 1 (control); group 2 follows the allocation (
participants_per_group), 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 categories (
categories): a whole number, at least 2 and at most 64; default 4; typically 3 to 7 (two categories are a two-proportion test) How many ordered categories the outcome has, from the best (category 1) to the worst. Whitehead notes little power is gained beyond five. - Control-group distribution (
control_probability): one number per element, as many ascategories; default (1, 1, 1, 1) The anticipated probability of each category in the control group, best category first. Counts or percentages are accepted: the list is scaled to sum to one. The treatment group’s distribution is derived from it and the odds ratio. - Odds ratio (treatment vs control) (
odds_ratio): a number, above 0; default 1.5; typically 1.2 to 3 (or the reciprocals for a harmful shift) The common odds ratio of being in a given category or better, treatment against control. Above 1 the treatment shifts subjects toward the better categories; below 1 away from them. The same at every cut of the scale under proportional odds. - Log odds ratio (
log_odds_ratio): a number, any finite number; default 0.405465 The natural logarithm of the common odds ratio — the scale on which the test is a z-test and a margin’s two limits are one number either side of zero. - Sidedness of the equality test (
tails): a choice; defaulttwo_sidedTwo-sided is PASS’s and Whitehead’s default; a one-sided test spends alpha on the anticipated direction of the shift.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
- Subjects in group 1 (control); group 2 follows the allocation (
participants_per_group): a whole number, at least 1 Subjects in group 1 (control); group 2 follows the allocation. 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 common odds ratio, or its logarithm.
- Odds ratio, the form’s default: The clinical quantity; a margin is entered on this scale too. (fields
odds_ratio) - Log odds ratio: The canonical scale. (fields
log_odds_ratio)
Modifiers admitted
frame: Hypothesis frameallocation: Allocationdropout: Dropout
Published examples it reproduces (22)
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 |
|---|---|---|---|---|
| PASS chapter 252, Example 1 (printed p. 252-4) | Control 0.2/0.5/0.2/0.1, odds ratio 1.5, two-sided 0.05, 90% power => 451 per group (power 0.9005) | Sample size | alpha = 0.05; categories = 4; control_probability = (2, 5, 2, 1); odds_ratio = 1.5; power_target = 0.9; effect expressed as odds_ratio |
participants_per_group = 451 ± 0 |
| PASS chapter 252, Example 1 (printed p. 252-4) | The same at 451 per group => power 0.9005 | Power | alpha = 0.05; categories = 4; control_probability = (2, 5, 2, 1); odds_ratio = 1.5; participants_per_group = 451; power_target = 0.9; effect expressed as odds_ratio |
power = 0.9005 ± 0.00006 |
| PASS chapter 252, Example 1 (printed p. 252-4) | Control 0.2/0.5/0.2/0.1, odds ratio 2, two-sided 0.05, 90% power => 155 per group (power 0.901) | Sample size | alpha = 0.05; categories = 4; control_probability = (2, 5, 2, 1); odds_ratio = 2; power_target = 0.9; effect expressed as odds_ratio |
participants_per_group = 155 ± 0 |
| PASS chapter 252, Example 1 (printed p. 252-4) | The same at 155 per group => power 0.901 | Power | alpha = 0.05; categories = 4; control_probability = (2, 5, 2, 1); odds_ratio = 2; participants_per_group = 155; power_target = 0.9; effect expressed as odds_ratio |
power = 0.901 ± 0.00006 |
| PASS chapter 252, Example 1 (printed p. 252-4) | Control 0.2/0.5/0.2/0.1, odds ratio 2.5, two-sided 0.05, 90% power => 89 per group (power 0.9014) | Sample size | alpha = 0.05; categories = 4; control_probability = (2, 5, 2, 1); odds_ratio = 2.5; power_target = 0.9; effect expressed as odds_ratio |
participants_per_group = 89 ± 0 |
| PASS chapter 252, Example 1 (printed p. 252-4) | The same at 89 per group => power 0.9014 | Power | alpha = 0.05; categories = 4; control_probability = (2, 5, 2, 1); odds_ratio = 2.5; participants_per_group = 89; power_target = 0.9; effect expressed as odds_ratio |
power = 0.9014 ± 0.00006 |
| PASS chapter 252, Example 2, validating Whitehead 1993 (printed p. 252-7) | Whitehead’s example: log odds ratio 0.887, control 0.2/0.5/0.2/0.1, 90% power => 95 per group (he prints 94, whose power is 0.8985) | Sample size | alpha = 0.05; categories = 4; control_probability = (0.2, 0.5, 0.2, 0.1); log_odds_ratio = 0.887; power_target = 0.9; effect expressed as log_odds_ratio |
participants_per_group = 95 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern equal, odds ratio 0.6, 2:1 allocation, 90% power => 188 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (1, 1, 1, 1, 1, 1); odds_ratio = 0.6; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 188 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern equal, odds ratio 0.7, 2:1 allocation, 90% power => 384 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (1, 1, 1, 1, 1, 1); odds_ratio = 0.7; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 384 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern equal, odds ratio 0.8, 2:1 allocation, 90% power => 978 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (1, 1, 1, 1, 1, 1); odds_ratio = 0.8; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 978 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern pilot, odds ratio 0.6, 2:1 allocation, 90% power => 194 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (23, 13, 36, 10, 9, 9); odds_ratio = 0.6; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 194 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern pilot, odds ratio 0.7, 2:1 allocation, 90% power => 397 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (23, 13, 36, 10, 9, 9); odds_ratio = 0.7; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 397 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern pilot, odds ratio 0.8, 2:1 allocation, 90% power => 1013 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (23, 13, 36, 10, 9, 9); odds_ratio = 0.8; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 1013 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern linear, odds ratio 0.6, 2:1 allocation, 90% power => 190 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (6, 5, 4, 3, 2, 1); odds_ratio = 0.6; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 190 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern linear, odds ratio 0.7, 2:1 allocation, 90% power => 389 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (6, 5, 4, 3, 2, 1); odds_ratio = 0.7; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 389 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern linear, odds ratio 0.8, 2:1 allocation, 90% power => 993 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (6, 5, 4, 3, 2, 1); odds_ratio = 0.8; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 993 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern first-large, odds ratio 0.6, 2:1 allocation, 90% power => 275 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (15, 1, 1, 1, 1, 1); odds_ratio = 0.6; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 275 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern first-large, odds ratio 0.7, 2:1 allocation, 90% power => 586 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (15, 1, 1, 1, 1, 1); odds_ratio = 0.7; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 586 ± 0 |
| PASS chapter 252, Examples 3 and 4 (printed pp. 252-9 and 252-11) | Six-category COVID-19 scale, control pattern first-large, odds ratio 0.8, 2:1 allocation, 90% power => 1549 controls | Sample size | allocation_ratio = 2; alpha = 0.05; categories = 6; control_probability = (15, 1, 1, 1, 1, 1); odds_ratio = 0.8; power_target = 0.9; effect expressed as odds_ratio (with allocation) |
participants_per_group = 1549 ± 0 |
| Machin, Campbell, Tan & Tan 2018, Sample Sizes for Clinical, Laboratory and Epidemiology Studies 4e, Example 4.1 (printed p. 60) | Control [0.14, 0.24, 0.24, 0.38], odds ratio 3.65, two-sided 0.05, 80% power => N₄ = 60.09 by his equation 4.3 (this kernel’s own answer is 31 per group) | Sample size | alpha = 0.05; categories = 4; control_probability = (0.14, 0.24, 0.24, 0.38); odds_ratio = 3.65; power_target = 0.8; effect expressed as odds_ratio |
closed_form_total = 60.09 ± 0.01 |
| Machin, Campbell, Tan & Tan 2018, Sample Sizes for Clinical, Laboratory and Epidemiology Studies 4e, Example 4.3 (printed p. 61) | Control [0.1579, 0.2842, 0.5263, 0.0316], odds ratio 1.5, two-sided 0.05, 80% power => N₄ = 670.74 by his equation 4.3 with Γ = 3.5129 (670.89 unrounded) | Sample size | alpha = 0.05; categories = 4; control_probability = (0.1579, 0.2842, 0.5263, 0.0316); odds_ratio = 1.5; power_target = 0.8; effect expressed as odds_ratio |
closed_form_total = 670.74 ± 0.2 |
| Machin, Campbell, Tan & Tan 2018, Sample Sizes for Clinical, Laboratory and Epidemiology Studies 4e, Example 4.4 (printed p. 63) | Control [23.0, 50.0, 95.0, 125.0, 156.0, 82.0], odds ratio 0.9, two-sided 0.05, 80% power => 4,466 per group by his equation 4.3 (4,465.2 before rounding up) | Sample size | alpha = 0.05; categories = 6; control_probability = (23, 50, 95, 125, 156, 82); odds_ratio = 0.9; power_target = 0.8; effect expressed as odds_ratio |
closed_form_per_group = 4466 ± 1 |
Sources
- Whitehead J. Sample size calculations for ordered categorical data. Stat Med. 1993;12(24):2257-2271.
- NCSS, LLC. PASS 2026 documentation, chapter 252: Tests for Two Ordered Categorical Variables (Proportional Odds). Kaysville, UT: NCSS, LLC; 2026.
- Machin D, Campbell MJ, Tan SB, Tan SH. Sample Sizes for Clinical, Laboratory and Epidemiology Studies. 4th ed. Chichester: Wiley; 2018. §4.2, Equations 4.2-4.4.
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 →