TriaLab Power Studio · Method
Two proportions in a multisite trial with a treatment effect that varies by site
Sizes a trial that randomises participants within each of several sites, with a binary outcome and an odds ratio that is expected to differ from site to site. The average log odds ratio is tested against its variation across sites, so the number of sites decides the power; solves for the sites or the participants per site.
Also known as: multisite, multi-site, multicentre, multicenter, random treatment effect, treatment-by-site interaction, odds ratio, logistic, sites.
Maturity
Beta: 8 published examples from Moerbeek & Teerenstra 2016 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 — No source on disk sizes a confidence interval for the average effect of a multisite trial, 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 — The outcome is measured at a fixed follow-up, so calendar time does not enter the power function.
Size axes:
- Sites (J) (
sites), Count - Participants per site, both arms (n) (
participants_per_site), 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
- Average odds ratio (treatment : control) (
odds_ratio): a number, above 0; default 0.5 The odds of the event under treatment over the odds under control, as the average over sites on the log scale. 1 is no effect. - Average log odds ratio (γ₁₀) (
log_odds_ratio), advanced: a number, any finite number The natural logarithm of the odds ratio — the scale of the model and the test. - Treatment proportion (p_E) (
p_treatment): a number, above 0 and below 1; entered as proportion (0-1) or percent The event proportion under treatment; the odds ratio follows from it and the control proportion. - Control proportion (p_C) (
p_control): a number, above 0 and below 1; default 0.3; entered as proportion (0-1) or percent The event proportion under control. - Variance of the log odds ratio across sites (σ²_τ) (
treatment_by_site_variance): a number, at least 0; default 0.1 How much the sites’ log odds ratios vary around the average. The result prints the range of site odds ratios it implies, exp(γ₁₀ ± 1.96σ_τ), which is how Moerbeek & Teerenstra choose it: 0.1, 0.3 and 0.5 take an odds ratio of 0.46 to ranges of about 0.25–0.85, 0.16–1.35 and 0.12–1.84. - Estimation method the standard error is taken for (
estimation): a choice; defaultpql2The closed-form standard error is first-order MQL’s, which is biased. Second-order PQL’s is about 1.1 times as large (Moerbeek et al. 2001), and Moerbeek & Teerenstra size with that factor.pql2Second-order PQL (× 1.1): Moerbeek & Teerenstra eq. 6.30.mql1First-order MQL (× 1): The closed form of eq. 6.28 as it stands.
- Sidedness of the test (
tails): a choice; defaulttwo_sidedWhether the test of the average log odds ratio 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
- Sites (J) (
sites): a whole number, at least 1 Sites (J). Leave empty to solve for it; fill it in to solve for the other size instead. - Participants per site, both arms (n) (
participants_per_site): a number, above 0; default 20 Participants per site, both arms (n). Leave empty to solve for it; fill it in to solve for the other size instead.
Ways to express an input
Effect size — The average effect as an odds ratio, its logarithm, or the treatment proportion it implies at the control 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) - Treatment proportion: Enter the treatment proportion; the odds ratio is derived. (fields
p_treatment)
Modifiers admitted
frame: Hypothesis framemultiplicity: Multiplicity (a family of tests)fdr: False-discovery rate (many features tested at once)dropout: Dropout
Published examples it reproduces (8)
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 |
|---|---|---|---|---|
| Moerbeek & Teerenstra 2016, §6.5 | 15% against 7.5%, σ²_τ 0.1, 40 per jail, one-sided 0.05, 80%, second-order PQL => 15 jails | Sample size | alpha = 0.05; p_control = 0.15; p_treatment = 0.075; participants_per_site = 40; power_target = 0.8; tails = one_sided; treatment_by_site_variance = 0.1; effect expressed as proportion |
sites = 15 ± 1 |
| Moerbeek & Teerenstra 2016, §6.5 | 15 jails of 40, 15% against 7.5%, σ²_τ 0.1, one-sided 0.05, second-order PQL => power 80% | Power | alpha = 0.05; p_control = 0.15; p_treatment = 0.075; participants_per_site = 40; sites = 15; tails = one_sided; treatment_by_site_variance = 0.1; effect expressed as proportion |
power = 0.8 ± 0.0005 |
| Moerbeek & Teerenstra 2016, §6.5 (eq. 6.33) | OR 0.459, σ²_τ 0.1 => sites’ odds ratios from 0.247 to 0.854 | Power | alpha = 0.05; p_control = 0.15; p_treatment = 0.075; participants_per_site = 40; power_target = 0.8; sites = 15; tails = one_sided; treatment_by_site_variance = 0.1; effect expressed as proportion |
site_odds_ratio_lower = 0.247 ± 0.0015 |
| Moerbeek & Teerenstra 2016, §6.5 (eq. 6.33) | OR 0.459, σ²_τ 0.1 => sites’ odds ratios from 0.247 to 0.854 | Power | alpha = 0.05; p_control = 0.15; p_treatment = 0.075; participants_per_site = 40; power_target = 0.8; sites = 15; tails = one_sided; treatment_by_site_variance = 0.1; effect expressed as proportion |
site_odds_ratio_upper = 0.854 ± 0.0015 |
| Moerbeek & Teerenstra 2016, §6.5 (eq. 6.33) | OR 0.459, σ²_τ 0.3 => sites’ odds ratios from 0.157 to 1.345 | Power | alpha = 0.05; p_control = 0.15; p_treatment = 0.075; participants_per_site = 40; power_target = 0.8; sites = 15; tails = one_sided; treatment_by_site_variance = 0.3; effect expressed as proportion |
site_odds_ratio_lower = 0.157 ± 0.0015 |
| Moerbeek & Teerenstra 2016, §6.5 (eq. 6.33) | OR 0.459, σ²_τ 0.3 => sites’ odds ratios from 0.157 to 1.345 | Power | alpha = 0.05; p_control = 0.15; p_treatment = 0.075; participants_per_site = 40; power_target = 0.8; sites = 15; tails = one_sided; treatment_by_site_variance = 0.3; effect expressed as proportion |
site_odds_ratio_upper = 1.345 ± 0.0015 |
| Moerbeek & Teerenstra 2016, §6.5 (eq. 6.33) | OR 0.459, σ²_τ 0.5 => sites’ odds ratios from 0.115 to 1.838 | Power | alpha = 0.05; p_control = 0.15; p_treatment = 0.075; participants_per_site = 40; power_target = 0.8; sites = 15; tails = one_sided; treatment_by_site_variance = 0.5; effect expressed as proportion |
site_odds_ratio_lower = 0.115 ± 0.0015 |
| Moerbeek & Teerenstra 2016, §6.5 (eq. 6.33) | OR 0.459, σ²_τ 0.5 => sites’ odds ratios from 0.115 to 1.838 | Power | alpha = 0.05; p_control = 0.15; p_treatment = 0.075; participants_per_site = 40; power_target = 0.8; sites = 15; tails = one_sided; treatment_by_site_variance = 0.5; effect expressed as proportion |
site_odds_ratio_upper = 1.838 ± 0.0015 |
Sources
- Moerbeek M, Teerenstra S. Power Analysis of Trials with Multilevel Data. Boca Raton: Chapman & Hall/CRC; 2016. §6.4, sample size calculations for dichotomous outcomes in multisite trials.
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 →