TriaLab Power Studio · Method
Two proportions in a partially nested (IRGT) trial — clustering in one arm
Sizes a trial with a binary outcome in which the treatment is delivered in groups, so the treated arm is clustered and the control arm is not, by Moerbeek & Wong’s model: the treated arm’s binomial variance with its intracluster correlation against the control arm’s plain binomial variance. Solves for the clusters in the treated arm or the participants in the individual arm.
Also known as: IRGT proportions, partially nested binary outcome, clustering in one arm, group treatment response rate.
Maturity
Validated: 4 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
- Proportion in the individual arm (P₂) (
p_control): a number, above 0 and below 1; default 0.4; entered as proportion (0-1) or percent The proportion with the outcome among participants treated individually. - Difference to detect (P₁ − P₂) (
difference): a number, above -1 and below 1; default -0.15; entered as proportion (0-1) or percent The treated arm’s proportion minus the individual arm’s. - Proportion in the clustered arm (P₁) (
p_treatment): a number, above 0 and below 1; entered as proportion (0-1) or percent The proportion with the outcome among participants treated in groups. - 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 correlation between two participants treated in the same group. - Average cluster size in the clustered arm (m̄) (
cluster_size): a number, at least 1; default 10 How many participants each group treats.
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 treated arm’s proportion against the individual arm’s.
- Difference in proportions, the form’s default: P₁ − P₂. (fields
difference) - Treated-arm proportion: P₁ itself; the difference is derived. (fields
p_treatment)
Modifiers admitted
frame: Hypothesis framedropout: Dropout
Published examples it reproduces (4)
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 153, Example 2 (Moerbeek & Wong 2008) | 23 clusters of 8 against 146 individuals, 0.397 against 0.243, ρ 0.05, two-sided 0.05 => power 0.80062 | Power | alpha = 0.05; cluster_size = 8; clusters = 23; icc = 0.05; individuals = 146; p_control = 0.243; p_treatment = 0.397; effect expressed as proportion |
power = 0.80062 ± 0.0001 |
| Moerbeek & Wong 2008, §5 (Statistics in Medicine 27) | 0.397 against 0.243, ρ 0.05, 23 groups of 8, 80%, two-sided 0.05 => 146 controls | Sample size | alpha = 0.05; cluster_size = 8; clusters = 23; icc = 0.05; p_control = 0.243; p_treatment = 0.397; power_target = 0.8; effect expressed as proportion |
individuals = 146 ± 0 |
| PASS chapter 153, Example 1 | 0.25 against 0.4, ρ 0.01, clusters of 10, 210 individuals, 90% power => 21 clusters | Sample size | alpha = 0.05; cluster_size = 10; icc = 0.01; individuals = 210; p_control = 0.4; p_treatment = 0.25; power_target = 0.9; effect expressed as proportion |
clusters = 21 ± 0 |
| PASS chapter 153, Example 1 | 0.25 against 0.4, ρ 0.01, clusters of 10, 160 individuals, 90% power => 32 clusters | Sample size | alpha = 0.05; cluster_size = 10; icc = 0.01; individuals = 160; p_control = 0.4; p_treatment = 0.25; power_target = 0.9; effect expressed as proportion |
clusters = 32 ± 0 |
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 153: Tests for Two Proportions in a Cluster-Randomized Design with Clustering in Only One Arm. 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 →