TriaLab Power Studio · Method
Two means in a partially nested (IRGT) trial — clustering in one arm
Sizes a trial in which the treatment is delivered in groups — therapy sessions, classes, a clinician’s patients — so the treated arm is clustered while the control arm is treated individually, by Moerbeek & Wong’s heteroscedastic mixed model: the clustered arm’s variance is a ratio of the control’s, with its own intracluster correlation. Solves for the clusters in the treated arm or the participants in the individual arm.
Also known as: IRGT, individually randomised group treatment, partially nested, partially clustered, clustering in one arm, group therapy trial, therapist effect, Moerbeek and Wong.
Maturity
Validated: 35 published examples from 2 independent publications (Moerbeek & Wong 2008; 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 the difference is defined — it is the same variance — but no source on disk sizes a partially nested trial to 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 — The outcome is measured at a fixed follow-up, so calendar time does not enter the power function separately.
Size axes:
- Clusters in the treated arm (k) (
clusters), Count - Participants in the individual arm (N₂) (
individuals), 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
- Difference to detect (μ₁ − μ₂) (
difference): a number, any finite number; default 0.5 The mean in the clustered (treated) arm minus the mean in the individual (control) arm, in the outcome’s units. - Standardised difference (δ/σ₂) (
standardised_effect): a number, any finite number The difference in control-arm standard deviations — Moerbeek & Wong’s δ_s; the control standard deviation below is still needed for the variance. - Standard deviation in the individual arm (σ₂) (
sd_control): a number, above 0; default 1 The subject-to-subject standard deviation of the arm treated individually. Set to 1 to work in standardised units. - Variance ratio of the clustered arm to the individual arm (θ = σ₁²/σ₂²) (
variance_ratio): a number, above 0; default 1; typically 0.8 to 1.2 (unless the treatment is expected to change the spread) Moerbeek & Wong’s heteroscedastic model lets the treated arm’s total variance σ_u² + σ_e² differ from the control’s; 1 makes them equal, which is Julious’s model. - Intracluster correlation in the clustered arm (ρ) (
icc): a number, at least 0 and below 1; default 0.05; typically 0 to 0.1 (therapist and group effects in behavioural trials) The share of the treated arm’s variance that sits between its clusters, σ_u²/(σ_u² + σ_e²) — the therapist or group effect. Small values matter, and published values for group-delivered therapies run from 0.01 to 0.1. - Average cluster size in the clustered arm (m̄) (
cluster_size): a number, at least 1; default 10 How many participants each group, session or clinician treats. - Coefficient of variation of cluster sizes (CV) (
cluster_size_cv): a number, at least 0; default 0 How uneven the clusters are: the standard deviation of their sizes over the mean. Leave at 0 for equal groups; Julious’s correction replaces m̄ by m̄(1 + CV²) in the between-cluster term. - Analysis (
analysis): a choice; defaultzWhat the statistic δ̂/√Var(δ̂) is compared against. The normal approximation is what PASS’s printed examples compute (Moerbeek & Wong’s and Julious’s tables reproduce to the digit); the t on N₂ + k m̄ − 2 degrees of freedom is the statistic the chapter’s text describes and costs a little power at small sizes.zNormal approximation (z): Moerbeek & Wong 2008.t_subjectst, subject-level degrees of freedom: N₂ + k m̄ − 2.
Sizes entered when another axis is solved for
- Clusters in the treated arm (k) (
clusters): a whole number, at least 1 Clusters in the treated arm (k). Leave empty to solve for it; fill it in to solve for the other size instead. - Participants in the individual arm (N₂) (
individuals): a whole number, at least 1; default 100 Participants in the individual arm (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 difference between the arms’ means, in the outcome’s units or in control-arm standard deviations.
- Difference in means, the form’s default: The difference in the outcome’s own units. (fields
difference) - Standardised difference: δ/σ₂; multiplied by the control standard deviation. (fields
standardised_effect)
Modifiers admitted
frame: Hypothesis framedropout: Dropoutnonadherence: Non-adherence
Published examples it reproduces (35)
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 152, Example 2 (Moerbeek & Wong 2008, p. 2855) | 15 clusters of 5 against 67 individuals, δ 0.5, θ 0.9, ρ 0.1, two-sided 0.05 => power 0.8015 | Power | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 15; difference = 0.5; icc = 0.1; individuals = 67; sd_control = 1; variance_ratio = 0.9 | power = 0.8015 ± 0.0001 |
| PASS chapter 152, Example 3 (Julious 2023, p. 88) | 18 clusters of 20.555 against 234 individuals, δ 0.3, θ 1, ρ 0.03, two-sided 0.05 => power 0.90003 | Power | alpha = 0.05; cluster_size = 20.555; cluster_size_cv = 0; clusters = 18; difference = 0.3; icc = 0.03; individuals = 234; sd_control = 1; variance_ratio = 1 | power = 0.90003 ± 0.0001 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.1, θ 0.9, groups of 5, 15 groups, 80%, two-sided 0.05 => 67 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 15; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 67 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.1, θ 0.9, groups of 10, 10 groups, 80%, two-sided 0.05 => 68 controls | Sample size | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 10; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 68 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.1, θ 0.9, groups of 15, 8 groups, 80%, two-sided 0.05 => 73 controls | Sample size | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 8; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 73 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.1, θ 1, groups of 5, 16 groups, 80%, two-sided 0.05 => 70 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 16; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 1 | individuals = 70 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.1, θ 1, groups of 10, 10 groups, 80%, two-sided 0.05 => 78 controls | Sample size | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 10; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 1 | individuals = 78 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.1, θ 1, groups of 15, 8 groups, 80%, two-sided 0.05 => 85 controls | Sample size | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 8; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 1 | individuals = 85 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.1, θ 1.1, groups of 5, 17 groups, 80%, two-sided 0.05 => 73 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 17; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 1.1 | individuals = 73 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.1, θ 1.1, groups of 10, 11 groups, 80%, two-sided 0.05 => 78 controls | Sample size | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 11; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 1.1 | individuals = 78 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.1, θ 1.1, groups of 15, 9 groups, 80%, two-sided 0.05 => 82 controls | Sample size | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 9; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 1.1 | individuals = 82 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.2, θ 0.9, groups of 5, 18 groups, 80%, two-sided 0.05 => 73 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 18; difference = 0.5; icc = 0.2; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 73 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.2, θ 0.9, groups of 10, 13 groups, 80%, two-sided 0.05 => 81 controls | Sample size | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 13; difference = 0.5; icc = 0.2; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 81 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.2, θ 0.9, groups of 15, 11 groups, 80%, two-sided 0.05 => 90 controls | Sample size | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 11; difference = 0.5; icc = 0.2; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 90 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.2, θ 1, groups of 5, 20 groups, 80%, two-sided 0.05 => 73 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 20; difference = 0.5; icc = 0.2; power_target = 0.8; sd_control = 1; variance_ratio = 1 | individuals = 73 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.2, θ 1, groups of 10, 14 groups, 80%, two-sided 0.05 => 85 controls | Sample size | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 14; difference = 0.5; icc = 0.2; power_target = 0.8; sd_control = 1; variance_ratio = 1 | individuals = 85 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.2, θ 1, groups of 15, 12 groups, 80%, two-sided 0.05 => 94 controls | Sample size | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 12; difference = 0.5; icc = 0.2; power_target = 0.8; sd_control = 1; variance_ratio = 1 | individuals = 94 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.2, θ 1.1, groups of 5, 21 groups, 80%, two-sided 0.05 => 77 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 21; difference = 0.5; icc = 0.2; power_target = 0.8; sd_control = 1; variance_ratio = 1.1 | individuals = 77 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.2, θ 1.1, groups of 10, 15 groups, 80%, two-sided 0.05 => 89 controls | Sample size | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 15; difference = 0.5; icc = 0.2; power_target = 0.8; sd_control = 1; variance_ratio = 1.1 | individuals = 89 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.2, θ 1.1, groups of 15, 13 groups, 80%, two-sided 0.05 => 97 controls | Sample size | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 13; difference = 0.5; icc = 0.2; power_target = 0.8; sd_control = 1; variance_ratio = 1.1 | individuals = 97 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.4, θ 0.9, groups of 5, 24 groups, 80%, two-sided 0.05 => 81 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 24; difference = 0.5; icc = 0.4; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 81 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.4, θ 0.9, groups of 10, 19 groups, 80%, two-sided 0.05 => 100 controls | Sample size | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 19; difference = 0.5; icc = 0.4; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 100 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.4, θ 0.9, groups of 15, 18 groups, 80%, two-sided 0.05 => 102 controls | Sample size | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 18; difference = 0.5; icc = 0.4; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 102 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.4, θ 1, groups of 5, 27 groups, 80%, two-sided 0.05 => 80 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 27; difference = 0.5; icc = 0.4; power_target = 0.8; sd_control = 1; variance_ratio = 1 | individuals = 80 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.4, θ 1, groups of 10, 21 groups, 80%, two-sided 0.05 => 101 controls | Sample size | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 21; difference = 0.5; icc = 0.4; power_target = 0.8; sd_control = 1; variance_ratio = 1 | individuals = 101 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.4, θ 1, groups of 15, 19 groups, 80%, two-sided 0.05 => 116 controls | Sample size | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 19; difference = 0.5; icc = 0.4; power_target = 0.8; sd_control = 1; variance_ratio = 1 | individuals = 116 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.4, θ 1.1, groups of 5, 29 groups, 80%, two-sided 0.05 => 83 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 29; difference = 0.5; icc = 0.4; power_target = 0.8; sd_control = 1; variance_ratio = 1.1 | individuals = 83 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.4, θ 1.1, groups of 10, 23 groups, 80%, two-sided 0.05 => 102 controls | Sample size | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 23; difference = 0.5; icc = 0.4; power_target = 0.8; sd_control = 1; variance_ratio = 1.1 | individuals = 102 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | Table I, δ_s 0.5, ρ 0.4, θ 1.1, groups of 15, 21 groups, 80%, two-sided 0.05 => 114 controls | Sample size | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 21; difference = 0.5; icc = 0.4; power_target = 0.8; sd_control = 1; variance_ratio = 1.1 | individuals = 114 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | p. 2855, Table I’s first cell rounded to 70 in the treated arm, 14 groups, 80%, two-sided 0.05 => 73 controls | Sample size | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 14; difference = 0.5; icc = 0.1; power_target = 0.8; sd_control = 1; variance_ratio = 0.9 | individuals = 73 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | §5, pain coping, δ_s 0.4, θ 0.94, ρ 0.05, groups of 8, 15 groups, 80%, two-sided 0.05 => 102 controls | Sample size | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0; clusters = 15; difference = 0.4; icc = 0.05; power_target = 0.8; sd_control = 1; variance_ratio = 0.94 | individuals = 102 ± 0 |
| Moerbeek & Wong 2008 (Statistics in Medicine 27) | §5, pain coping with the nesting ignored, ρ 0, 12 groups, 80%, two-sided 0.05 => 95 controls | Sample size | alpha = 0.05; cluster_size = 8; cluster_size_cv = 0; clusters = 12; difference = 0.4; icc = 0; power_target = 0.8; sd_control = 1; variance_ratio = 0.94 | individuals = 95 ± 0 |
| Moerbeek & Wong 2008, §3 (Figure 1’s text) | 63 per arm, groups of 5, δ_s 0.5, θ 1, ρ 0.1, two-sided 0.05 => power 0.73 | Power | alpha = 0.05; cluster_size = 5; cluster_size_cv = 0; clusters = 12.6; difference = 0.5; icc = 0.1; individuals = 63; sd_control = 1; variance_ratio = 1 | power = 0.73 ± 0.005 |
| Moerbeek & Wong 2008, §3 (Figure 1’s text) | 63 per arm, groups of 10, δ_s 0.5, θ 1, ρ 0.1, two-sided 0.05 => power 0.64 | Power | alpha = 0.05; cluster_size = 10; cluster_size_cv = 0; clusters = 6.3; difference = 0.5; icc = 0.1; individuals = 63; sd_control = 1; variance_ratio = 1 | power = 0.64 ± 0.005 |
| Moerbeek & Wong 2008, §3 (Figure 1’s text) | 63 per arm, groups of 15, δ_s 0.5, θ 1, ρ 0.1, two-sided 0.05 => power 0.58 | Power | alpha = 0.05; cluster_size = 15; cluster_size_cv = 0; clusters = 4.2; difference = 0.5; icc = 0.1; individuals = 63; sd_control = 1; variance_ratio = 1 | power = 0.58 ± 0.005 |
Sources
- Moerbeek M, Wong WK. Sample size formulae for trials comparing group and individual treatments in a multilevel model. Stat Med. 2008;27:2850-2864.
- NCSS, LLC. PASS 2026 documentation, chapter 152: Tests for Two Means in a Cluster-Randomized Design with Clustering in Only One Arm. Kaysville, UT: NCSS, LLC; 2026.
- Julious SA. Sample Sizes for Clinical Trials. 2nd ed. Boca Raton: CRC Press; 2023. Chapter 4, pp. 86-88.
- Candlish J, Teare MD, Dimairo M, Flight L, Mandefield L, Walters SJ. Appropriate statistical methods for analysing partially nested randomised controlled trials with continuous outcomes: a simulation study. BMC Med Res Methodol. 2018;18:105.
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 →