TriaLab Power Studio · Method
Meta-analysis of an odds ratio
Sizes a planned systematic review of two-group studies with a binary outcome summarised by an odds ratio: the number of studies, or the average study size, for the power of the pooled test under a fixed-effect or a random-effects model, with the studies individually or cluster-randomised.
Also known as: meta-analysis, systematic review, odds ratio, binary outcome, number of studies, pooled odds ratio, random effects, fixed effect, Mantel-Haenszel.
Maturity
Beta: 28 published examples from PASS reproduce on every build; a second independent publication is wanted before the label becomes Validated (ADR-0001 §58). The catalogue’s row says which source is sought.
What it solves for
- Sample size: offered.
- Power: offered.
- Detectable effect: offered.
- Precision: not offered — The interval for the pooled effect has half-width z·√((σ̃² + τ²)/K), but no source on disk sizes a review to it, so it is not offered rather than offered unchecked.
- 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 — A review has no time axis: the studies are counted, not followed.
Size axes:
- Number of studies (K) (
studies), Count - Average participants per group in each study (N₁) (
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
- Pooled odds ratio (group 1 : group 2) (
odds_ratio): a number, above 0; default 1.5; typically 0.5 to 3 (odds ratios in clinical reviews) The ratio of the odds of the event in group 1 to the odds in group 2 that the review should be able to detect. 1 is no effect. - Log odds ratio (
log_odds_ratio), advanced: a number, any finite number The natural logarithm of the odds ratio — the scale the test and any margin are computed on. - Group 1 proportion (P₁) (
p_treatment): a number, above 0 and below 1; entered as proportion (0-1) or percent The event proportion in group 1; the odds ratio follows from it and the group 2 proportion. - Group 2 proportion (P₂) (
p_control): a number, above 0 and below 1; default 0.4; entered as proportion (0-1) or percent The event proportion in the control group, assumed common to the studies. - Size of group 2 relative to group 1 (N₂/N₁) (
group_size_ratio): a number, above 0; default 1; typically 0.25 to 4 (the usual range of study allocations) The average size of the second group in each study as a multiple of the first. 1 for equally sized groups; Hedges & Pigott’s example has groups of 12 and 36, a ratio of 3. - Between-study variance (τ²) (
tau_squared): a number, at least 0; default 0 The variance of the true effects across studies, on the scale of the effect. 0 is the fixed-effect model: every study estimates the same effect and only sampling error separates them. Enter it directly when solving for the per-study size or the detectable effect; the two spellings below are defined relative to a study of the size and effect entered. - Heterogeneity ratio (R = τ²/σ̃²) (
heterogeneity_ratio): a number, at least 0; typically 0 to 1 (Hedges & Pigott’s small to large) The between-study variance as a multiple of the within-study variance of one study of the entered size and effect. Hedges & Pigott suggest 0.333 for small heterogeneity, 0.667 for medium and 1 for large; 0 is the fixed-effect model. - Heterogeneity index (I²) (
i_squared): a number, at least 0 and below 1; typically 0 to 0.75 (Higgins’s low to high) Higgins’s share of the total variance that is between studies, τ²/(τ² + σ̃²), with σ̃² the within-study variance of one study of the entered size and effect. 0.25, 0.5 and 0.75 are the conventional low, moderate and high values; 0 is the fixed-effect model. - Design effect of the studies’ design (DE) (
design_effect): a number, at least 1; default 1 The factor each study’s group size is divided by to give its effective size. 1 is an individually randomised study. Enter the intracluster correlation and cluster size instead for cluster-randomised studies, and PASS’s 1 + ((CV² + 1)M − 1)ρ is computed for you. - Intracluster correlation of the studies (ρ) (
icc): a number, at least 0 and below 1; typically 0 to 0.2 (intracluster correlations in health research) The correlation between two observations in one cluster, assumed common to every study in the review. - Average cluster size in the studies (M) (
cluster_size): a number, at least 1 The average number of subjects per cluster across the studies. The per-study group size divided by it is the average number of clusters per group. - Coefficient of variation of cluster sizes (CV) (
cluster_size_cv): a number, at least 0 How uneven the clusters are: the standard deviation of their sizes over their mean. 0 for equal clusters; 0.65 is a commonly quoted value for health-service clusters. - Sidedness of the test (
tails): a choice; defaulttwo_sidedWhether the pooled test rejects in one direction or both. Ignored under a margin frame, which is one-sided by construction.two_sidedTwo-sided: Alpha split over both tails.one_sidedOne-sided: Alpha in the tail of the anticipated direction.
Sizes entered when another axis is solved for
- Number of studies (K) (
studies): a whole number, at least 1 The number of studies the review will combine. Leave it blank to solve for it; fill it in to ask what power the review has, or clear the per-study size instead to ask how large the studies must be. Leave empty to solve for it; fill it in to solve for the other size instead. - Average participants per group in each study (N₁) (
participants_per_group): a number, above 0; default 25 The average size of the first group across the studies; the second group’s size is this times the group-size ratio. For cluster-randomised studies it is the clusters times the cluster size, before the design effect. Clear it to solve for it at a stated number of studies. Leave empty to solve for it; fill it in to solve for the other size instead.
Ways to express an input
Effect size — The pooled effect as an odds ratio, its logarithm, or the group 1 proportion it implies at the group 2 proportion.
- 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) - Group 1 proportion: Enter the group 1 proportion; the odds ratio is derived. (fields
p_treatment)
Between-study heterogeneity — How much the true effects differ from study to study. Zero is the fixed-effect model; anything else is a random-effects model, and the sentence says which.
- Between-study variance τ², the form’s default: The variance itself, on the effect’s scale. (fields
tau_squared) - Ratio to the within-study variance (R): PASS’s and Hedges & Pigott’s spelling: τ² = R × σ̃². (fields
heterogeneity_ratio) - Heterogeneity index I²: Higgins’s spelling: τ² = I²/(1 − I²) × σ̃². (fields
i_squared)
Design of the studies — Individually randomised studies have a design effect of 1. For cluster-randomised studies the effective size of each group is its size divided by the design effect (PASS chapters 643–648).
- Design effect, the form’s default: 1 for individually randomised studies, or a design effect you have. (fields
design_effect) - Cluster-randomised studies: The intracluster correlation, the average cluster size and how uneven the clusters are; the design effect follows. (fields
icc,cluster_size,cluster_size_cv)
Modifiers admitted
frame: Hypothesis framemultiplicity: Multiplicity (a family of tests)fdr: False-discovery rate (many features tested at once)
Published examples it reproduces (28)
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 632, Example 1 (printed p. 632-7) | fixed effect, groups of 25, P₂ 0.4, OR 1.5, 90% power => 21 studies | Sample size | alpha = 0.05; odds_ratio = 1.5; p_control = 0.4; participants_per_group = 25; power_target = 0.9 | studies = 21 ± 0 |
| PASS chapter 632, Example 1 (printed p. 632-7) | the same design at 21 studies => power 0.90165 | Power | alpha = 0.05; odds_ratio = 1.5; p_control = 0.4; participants_per_group = 25; studies = 21 | power = 0.90165 ± 0.000006 |
| PASS chapter 632, Example 1 (printed p. 632-7) | fixed effect, groups of 25, P₂ 0.4, OR 1.75, 90% power => 11 studies | Sample size | alpha = 0.05; odds_ratio = 1.75; p_control = 0.4; participants_per_group = 25; power_target = 0.9 | studies = 11 ± 0 |
| PASS chapter 632, Example 1 (printed p. 632-7) | the same design at 11 studies => power 0.9002 | Power | alpha = 0.05; odds_ratio = 1.75; p_control = 0.4; participants_per_group = 25; studies = 11 | power = 0.9002 ± 0.000006 |
| PASS chapter 632, Example 1 (printed p. 632-7) | fixed effect, groups of 25, P₂ 0.4, OR 2, 90% power => 8 studies | Sample size | alpha = 0.05; odds_ratio = 2; p_control = 0.4; participants_per_group = 25; power_target = 0.9 | studies = 8 ± 0 |
| PASS chapter 632, Example 1 (printed p. 632-7) | the same design at 8 studies => power 0.92687 | Power | alpha = 0.05; odds_ratio = 2; p_control = 0.4; participants_per_group = 25; studies = 8 | power = 0.92687 ± 0.000006 |
| PASS chapter 633, Example 1 (printed p. 633-7) | random effects R 0.667, groups of 25, P₂ 0.4, OR 1.5, 90% power => 35 studies | Sample size | alpha = 0.05; heterogeneity_ratio = 0.667; odds_ratio = 1.5; p_control = 0.4; participants_per_group = 25; power_target = 0.9; heterogeneity expressed as heterogeneity_ratio |
studies = 35 ± 0 |
| PASS chapter 633, Example 1 (printed p. 633-7) | the same design at 35 studies => power 0.90159 | Power | alpha = 0.05; heterogeneity_ratio = 0.667; odds_ratio = 1.5; p_control = 0.4; participants_per_group = 25; studies = 35; heterogeneity expressed as heterogeneity_ratio |
power = 0.90159 ± 0.000006 |
| PASS chapter 633, Example 1 (printed p. 633-7) | random effects R 0.667, groups of 25, P₂ 0.4, OR 1.75, 90% power => 19 studies | Sample size | alpha = 0.05; heterogeneity_ratio = 0.667; odds_ratio = 1.75; p_control = 0.4; participants_per_group = 25; power_target = 0.9; heterogeneity expressed as heterogeneity_ratio |
studies = 19 ± 0 |
| PASS chapter 633, Example 1 (printed p. 633-7) | the same design at 19 studies => power 0.91001 | Power | alpha = 0.05; heterogeneity_ratio = 0.667; odds_ratio = 1.75; p_control = 0.4; participants_per_group = 25; studies = 19; heterogeneity expressed as heterogeneity_ratio |
power = 0.91001 ± 0.000006 |
| PASS chapter 633, Example 1 (printed p. 633-7) | random effects R 0.667, groups of 25, P₂ 0.4, OR 2, 90% power => 13 studies | Sample size | alpha = 0.05; heterogeneity_ratio = 0.667; odds_ratio = 2; p_control = 0.4; participants_per_group = 25; power_target = 0.9; heterogeneity expressed as heterogeneity_ratio |
studies = 13 ± 0 |
| PASS chapter 633, Example 1 (printed p. 633-7) | the same design at 13 studies => power 0.92067 | Power | alpha = 0.05; heterogeneity_ratio = 0.667; odds_ratio = 2; p_control = 0.4; participants_per_group = 25; studies = 13; heterogeneity expressed as heterogeneity_ratio |
power = 0.92067 ± 0.000006 |
| PASS chapter 645, Example 1 (printed p. 645-6) | fixed effect, cluster-randomised studies (7 clusters of 8 per group, CV 0.65, ICC 0.05), P₂ 0.5, OR 1.25, 90% power => 47 studies | Sample size | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; icc = 0.05; odds_ratio = 1.25; p_control = 0.5; participants_per_group = 56; power_target = 0.9; clustering expressed as cluster |
studies = 47 ± 0 |
| PASS chapter 645, Example 1 (printed p. 645-6) | the same design at 47 studies => power 0.90555 | Power | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; icc = 0.05; odds_ratio = 1.25; p_control = 0.5; participants_per_group = 56; studies = 47; clustering expressed as cluster |
power = 0.90555 ± 0.000006 |
| PASS chapter 645, Example 1 (printed p. 645-6) | fixed effect, cluster-randomised studies (7 clusters of 8 per group, CV 0.65, ICC 0.05), P₂ 0.5, OR 1.5, 90% power => 15 studies | Sample size | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; icc = 0.05; odds_ratio = 1.5; p_control = 0.5; participants_per_group = 56; power_target = 0.9; clustering expressed as cluster |
studies = 15 ± 0 |
| PASS chapter 645, Example 1 (printed p. 645-6) | the same design at 15 studies => power 0.91567 | Power | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; icc = 0.05; odds_ratio = 1.5; p_control = 0.5; participants_per_group = 56; studies = 15; clustering expressed as cluster |
power = 0.91567 ± 0.000006 |
| PASS chapter 645, Example 1 (printed p. 645-6) | fixed effect, cluster-randomised studies (7 clusters of 8 per group, CV 0.65, ICC 0.05), P₂ 0.5, OR 1.75, 90% power => 8 studies | Sample size | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; icc = 0.05; odds_ratio = 1.75; p_control = 0.5; participants_per_group = 56; power_target = 0.9; clustering expressed as cluster |
studies = 8 ± 0 |
| PASS chapter 645, Example 1 (printed p. 645-6) | the same design at 8 studies => power 0.91491 | Power | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; icc = 0.05; odds_ratio = 1.75; p_control = 0.5; participants_per_group = 56; studies = 8; clustering expressed as cluster |
power = 0.91491 ± 0.000006 |
| PASS chapter 646, Example 1 (printed p. 646-7) | random effects I² 0.5, cluster-randomised studies (7 clusters of 8 per group, CV 0.65, ICC 0.05), P₂ 0.5, OR 1.25, 90% power => 93 studies | Sample size | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; i_squared = 0.5; icc = 0.05; odds_ratio = 1.25; p_control = 0.5; participants_per_group = 56; power_target = 0.9; clustering expressed as cluster; heterogeneity expressed as i_squared |
studies = 93 ± 0 |
| PASS chapter 646, Example 1 (printed p. 646-7) | the same design at 93 studies => power 0.90257 | Power | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; i_squared = 0.5; icc = 0.05; odds_ratio = 1.25; p_control = 0.5; participants_per_group = 56; studies = 93; clustering expressed as cluster; heterogeneity expressed as i_squared |
power = 0.90257 ± 0.000006 |
| PASS chapter 646, Example 1 (printed p. 646-7) | random effects I² 0.5, cluster-randomised studies (7 clusters of 8 per group, CV 0.65, ICC 0.05), P₂ 0.5, OR 1.5, 90% power => 29 studies | Sample size | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; i_squared = 0.5; icc = 0.05; odds_ratio = 1.5; p_control = 0.5; participants_per_group = 56; power_target = 0.9; clustering expressed as cluster; heterogeneity expressed as i_squared |
studies = 29 ± 0 |
| PASS chapter 646, Example 1 (printed p. 646-7) | the same design at 29 studies => power 0.90666 | Power | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; i_squared = 0.5; icc = 0.05; odds_ratio = 1.5; p_control = 0.5; participants_per_group = 56; studies = 29; clustering expressed as cluster; heterogeneity expressed as i_squared |
power = 0.90666 ± 0.000006 |
| PASS chapter 646, Example 1 (printed p. 646-7) | random effects I² 0.5, cluster-randomised studies (7 clusters of 8 per group, CV 0.65, ICC 0.05), P₂ 0.5, OR 1.75, 90% power => 16 studies | Sample size | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; i_squared = 0.5; icc = 0.05; odds_ratio = 1.75; p_control = 0.5; participants_per_group = 56; power_target = 0.9; clustering expressed as cluster; heterogeneity expressed as i_squared |
studies = 16 ± 0 |
| PASS chapter 646, Example 1 (printed p. 646-7) | the same design at 16 studies => power 0.91491 | Power | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0.65; i_squared = 0.5; icc = 0.05; odds_ratio = 1.75; p_control = 0.5; participants_per_group = 56; studies = 16; clustering expressed as cluster; heterogeneity expressed as i_squared |
power = 0.91491 ± 0.000006 |
| PASS chapter 632, Example 2 (printed p. 632-10) | fixed effect, 10 studies with groups of 10, P₂ 0.5, OR 1.5 => power 0.29457 | Power | alpha = 0.05; odds_ratio = 1.5; p_control = 0.5; participants_per_group = 10; studies = 10 | power = 0.29457 ± 0.000006 |
| PASS chapter 633, Example 2 (printed p. 633-10) | random effects R 1, 10 studies with groups of 10, P₂ 0.5, OR 1.5 => power 0.1708820 | Power | alpha = 0.05; heterogeneity_ratio = 1; odds_ratio = 1.5; p_control = 0.5; participants_per_group = 10; studies = 10; heterogeneity expressed as heterogeneity_ratio |
power = 0.170882 ± 0.000006 |
| PASS chapter 645, Example 2 (printed p. 645-11) | fixed effect, 10 cluster-randomised studies (10 clusters of 15 per group, CV 0.65, ICC 0.04), P₂ 0.5, OR 1.5 => power 0.98302 | Power | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0.65; icc = 0.04; odds_ratio = 1.5; p_control = 0.5; participants_per_group = 150; studies = 10; clustering expressed as cluster |
power = 0.98302 ± 0.000006 |
| PASS chapter 646, Example 2 (printed p. 646-12) | random effects R 1, 10 cluster-randomised studies (10 clusters of 15 per group, CV 0.65, ICC 0.04), P₂ 0.5, OR 1.5 => power 0.82263 | Power | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0.65; heterogeneity_ratio = 1; icc = 0.04; odds_ratio = 1.5; p_control = 0.5; participants_per_group = 150; studies = 10; clustering expressed as cluster; heterogeneity expressed as heterogeneity_ratio |
power = 0.82263 ± 0.000006 |
Sources
- NCSS, LLC. PASS 2026 Documentation, chapters 632 and 633: Meta-Analysis of Tests for the Odds Ratio of Two Proportions using a Fixed-Effects Model; …using a Random-Effects Model. Kaysville, Utah; 2026.
- NCSS, LLC. PASS 2026 Documentation, chapters 645 and 646: Meta-Analysis of Tests for the Odds Ratio of Two Proportions using a Fixed-Effects Model in a Cluster-Randomized Design; …Random-Effects Model in a Cluster-Randomized Design. Kaysville, Utah; 2026.
- Hedges LV, Pigott TD. The power of statistical tests in meta-analysis. Psychol Methods. 2001;6(3):203-217.
- Harrer M, Cuijpers P, Furukawa TA, Ebert DD. Doing Meta-Analysis with R: A Hands-On Guide. Boca Raton: Chapman & Hall/CRC; 2022.
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 →