TriaLab Power Studio · Method
Two means in a three-level hierarchical design
Sizes a trial whose participants sit in units within units — students in classrooms in schools, measurements in patients in clinics — with the treatment assigned to whole top-level units, to the middle units within each top-level unit, or to individuals within each middle unit, by Ahn, Heo & Zhang’s mixed-model variance factors on two intraclass correlations. Solves for the top-level units or the participants per middle unit.
Also known as: three-level design, 3-level hierarchical, multilevel, students in classrooms in schools, Ahn Heo Zhang, nested design.
Maturity
Validated: 78 published examples from 2 independent publications (Ahn, Heo & Zhang 2015; 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 three-level design 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 once, so calendar time does not enter the power function.
Size axes:
- Level-3 units (C: per group when randomised at level 3, in total otherwise) (
level3_units), Count - Level-1 units per level-2 unit (M: per group when randomised at level 1) (
level1_units), 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 treatment mean minus the control mean, in the outcome’s units. - Standardised difference (δ/σ) (
standardised_effect): a number, any finite number The difference in standard deviations of a level-1 response. - Standard deviation of a level-1 response (σ) (
sd): a number, above 0; default 1 The total standard deviation across all three levels, σ² = σ_e² + σ₂² + σ₃². - Level the treatment is assigned at (
randomisation): a choice; defaultlevel_3Which units are randomised. At level 3 whole level-3 units (schools, clinics) are assigned to a group and the level-3 count is per group; at level 2 the level-2 units (classes, patients) within each level-3 unit are split between the groups and the level-2 count is per group per level-3 unit; at level 1 the level-1 units within each level-2 unit are split and the level-1 count is per group per level-2 unit. The variance factor and which count the allocation ratio multiplies follow the choice.level_3Level 3 (whole top-level units): f₃ = 1 + M(K − 1)ρ₂ + (M − 1)ρ₁; PASS 382 / 379.level_2Level 2 (within top-level units): f₂ = 1 + (M − 1)ρ₁ − Mρ₂; PASS 381 / 378.level_1Level 1 (within level-2 units): f₁ = 1 − ρ₁; PASS 380 / 377.
- Level-2 units per level-3 unit (K) (
level2_units): a whole number, at least 1; default 5 How many level-2 units each level-3 unit holds — classes per school, patients per clinic. Under level-2 randomisation this is the count in the control group within each level-3 unit, the treatment group’s the allocation ratio times it. - Correlation within a level-2 unit (ρ₁) (
icc_level2): a number, at least 0 and below 1; default 0.1 The correlation between two level-1 units in the same level-2 unit, (σ₂² + σ₃²)/σ² — the share of the variance above level 1. It is at least ρ₂. - Correlation within a level-3 unit across level-2 units (ρ₂) (
icc_level3): a number, at least 0 and below 1; default 0.05 The correlation between two level-1 units in different level-2 units of the same level-3 unit, σ₃²/σ² — the share of the variance at the top level. Not read under level-1 randomisation, which removes both cluster effects.
Sizes entered when another axis is solved for
- Level-3 units (C: per group when randomised at level 3, in total otherwise) (
level3_units): a whole number, at least 1 Level-3 units (C: per group when randomised at level 3, in total otherwise). Leave empty to solve for it; fill it in to solve for the other size instead. - Level-1 units per level-2 unit (M: per group when randomised at level 1) (
level1_units): a number, above 0; default 10 Level-1 units per level-2 unit (M: per group when randomised at level 1). 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 group means, in the outcome’s units or in standard deviations.
- Difference in means, the form’s default: The difference in the outcome’s own units. (fields
difference) - Standardised difference: δ/σ; multiplied by the standard deviation. (fields
standardised_effect)
Modifiers admitted
frame: Hypothesis frameallocation: Allocationdropout: Dropoutnonadherence: Non-adherence
Published examples it reproduces (78)
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 382, Example 1 (Ahn, Heo & Zhang 2015 §6.3.1) | level-3 randomisation, 10 units per group, K 10, M 10, δ 0.6, σ 2.6, ρ₁ 0.1, ρ₂ 0.05 => power 0.5318 | Power | alpha = 0.05; difference = 0.6; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 10; level2_units = 10; level3_units = 10; randomisation = level_3; sd = 2.6 |
power = 0.5318 ± 0.0002 |
| PASS chapter 382, Example 1 (Ahn, Heo & Zhang 2015 §6.3.1) | level-3 randomisation, 10 units per group, K 10, M 20, δ 0.6, σ 2.6, ρ₁ 0.1, ρ₂ 0.05 => power 0.5618 | Power | alpha = 0.05; difference = 0.6; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 20; level2_units = 10; level3_units = 10; randomisation = level_3; sd = 2.6 |
power = 0.5618 ± 0.0002 |
| PASS chapter 382, Example 1 (Ahn, Heo & Zhang 2015 §6.3.1) | level-3 randomisation, 10 units per group, K 10, M 30, δ 0.6, σ 2.6, ρ₁ 0.1, ρ₂ 0.05 => power 0.5725 | Power | alpha = 0.05; difference = 0.6; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 30; level2_units = 10; level3_units = 10; randomisation = level_3; sd = 2.6 |
power = 0.5725 ± 0.0002 |
| PASS chapter 382, Example 1 (Ahn, Heo & Zhang 2015 §6.3.1) | level-3 randomisation, 15 units per group, K 10, M 10, δ 0.6, σ 2.6, ρ₁ 0.1, ρ₂ 0.05 => power 0.7048 | Power | alpha = 0.05; difference = 0.6; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 10; level2_units = 10; level3_units = 15; randomisation = level_3; sd = 2.6 |
power = 0.7048 ± 0.0002 |
| PASS chapter 382, Example 1 (Ahn, Heo & Zhang 2015 §6.3.1) | level-3 randomisation, 20 units per group, K 10, M 20, δ 0.6, σ 2.6, ρ₁ 0.1, ρ₂ 0.05 => power 0.8489 | Power | alpha = 0.05; difference = 0.6; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 20; level2_units = 10; level3_units = 20; randomisation = level_3; sd = 2.6 |
power = 0.8489 ± 0.0002 |
| PASS chapter 382, Example 1 (Ahn, Heo & Zhang 2015 §6.3.1) | level-3 randomisation, 25 units per group, K 10, M 30, δ 0.6, σ 2.6, ρ₁ 0.1, ρ₂ 0.05 => power 0.9233 | Power | alpha = 0.05; difference = 0.6; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 30; level2_units = 10; level3_units = 25; randomisation = level_3; sd = 2.6 |
power = 0.9233 ± 0.0002 |
| PASS chapter 382, Example 4 (Ahn, Heo & Zhang 2015, p. 226) | level-3 randomisation, K 4, M 5, δ 0.3, σ 1, ρ₁ 0.1, ρ₂ 0.05, 80% power => 19 units per group | Sample size | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; power_target = 0.8; randomisation = level_3; sd = 1 |
level3_units = 19 ± 0 |
| PASS chapter 381, Example 1 (Ahn, Heo & Zhang 2015 §6.3.2) | level-2 randomisation, C 5, K 3 per group, M 5, δ 0.8, σ 2.6, ρ₁ 0.01, ρ₂ 0.005 => power 0.4643 | Power | alpha = 0.05; difference = 0.8; icc_level2 = 0.01; icc_level3 = 0.005; level1_units = 5; level2_units = 3; level3_units = 5; randomisation = level_2; sd = 2.6 |
power = 0.4643 ± 0.0002 |
| PASS chapter 381, Example 1 (Ahn, Heo & Zhang 2015 §6.3.2) | level-2 randomisation, C 5, K 3 per group, M 10, δ 0.8, σ 2.6, ρ₁ 0.01, ρ₂ 0.005 => power 0.7431 | Power | alpha = 0.05; difference = 0.8; icc_level2 = 0.01; icc_level3 = 0.005; level1_units = 10; level2_units = 3; level3_units = 5; randomisation = level_2; sd = 2.6 |
power = 0.7431 ± 0.0002 |
| PASS chapter 381, Example 1 (Ahn, Heo & Zhang 2015 §6.3.2) | level-2 randomisation, C 5, K 4 per group, M 10, δ 0.8, σ 2.6, ρ₁ 0.01, ρ₂ 0.005 => power 0.8548 | Power | alpha = 0.05; difference = 0.8; icc_level2 = 0.01; icc_level3 = 0.005; level1_units = 10; level2_units = 4; level3_units = 5; randomisation = level_2; sd = 2.6 |
power = 0.8548 ± 0.0002 |
| PASS chapter 381, Example 1 (Ahn, Heo & Zhang 2015 §6.3.2) | level-2 randomisation, C 5, K 5 per group, M 15, δ 0.8, σ 2.6, ρ₁ 0.01, ρ₂ 0.005 => power 0.9831 | Power | alpha = 0.05; difference = 0.8; icc_level2 = 0.01; icc_level3 = 0.005; level1_units = 15; level2_units = 5; level3_units = 5; randomisation = level_2; sd = 2.6 |
power = 0.9831 ± 0.0002 |
| PASS chapter 381, Example 3 (Ahn, Heo & Zhang 2015, p. 228) | level-2 randomisation, C 12, K 4 per group, M 5, δ 0.3, σ 1, ρ₁ 0.1, ρ₂ 0.05 => power 0.8653 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 12; randomisation = level_2; sd = 1 |
power = 0.8653 ± 0.00005 |
| PASS chapter 380, Example 1 (Ahn, Heo & Zhang 2015 §6.3.3) | level-1 randomisation, C 5, K 5, M 5 per group, δ 0.5, σ 2.6, ρ₁ 0.1 => power 0.3604 | Power | alpha = 0.05; difference = 0.5; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 5; level3_units = 5; randomisation = level_1; sd = 2.6 |
power = 0.3604 ± 0.0002 |
| PASS chapter 380, Example 1 (Ahn, Heo & Zhang 2015 §6.3.3) | level-1 randomisation, C 5, K 5, M 10 per group, δ 0.5, σ 2.6, ρ₁ 0.1 => power 0.6204 | Power | alpha = 0.05; difference = 0.5; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 10; level2_units = 5; level3_units = 5; randomisation = level_1; sd = 2.6 |
power = 0.6204 ± 0.0002 |
| PASS chapter 380, Example 1 (Ahn, Heo & Zhang 2015 §6.3.3) | level-1 randomisation, C 5, K 5, M 20 per group, δ 0.5, σ 2.6, ρ₁ 0.1 => power 0.8935 | Power | alpha = 0.05; difference = 0.5; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 20; level2_units = 5; level3_units = 5; randomisation = level_1; sd = 2.6 |
power = 0.8935 ± 0.0002 |
| PASS chapter 380, Example 3 (Ahn, Heo & Zhang 2015, p. 231) | level-1 randomisation, C 8, K 4, δ 0.3, σ 1, ρ₁ 0.1, 80% power => 5 per group per level-2 unit | Sample size | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level2_units = 4; level3_units = 8; power_target = 0.8; randomisation = level_1; sd = 1 |
level1_units = 5 ± 0 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 19, two-sided 0.05 => power 0.805 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 19; randomisation = level_3; sd = 1 |
power = 0.805 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 14, two-sided 0.05 => power 0.807 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 14; randomisation = level_3; sd = 1 |
power = 0.807 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 23, two-sided 0.05 => power 0.813 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 23; randomisation = level_3; sd = 1 |
power = 0.813 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 16, two-sided 0.05 => power 0.813 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 16; randomisation = level_3; sd = 1 |
power = 0.813 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 11, two-sided 0.05 => power 0.816 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 11; randomisation = level_3; sd = 1 |
power = 0.816 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 8, two-sided 0.05 => power 0.813 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 8; randomisation = level_3; sd = 1 |
power = 0.813 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 13, two-sided 0.05 => power 0.815 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 13; randomisation = level_3; sd = 1 |
power = 0.815 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 9, two-sided 0.05 => power 0.813 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 9; randomisation = level_3; sd = 1 |
power = 0.813 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 16, two-sided 0.05 => power 0.809 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 16; randomisation = level_3; sd = 1 (with allocation) |
power = 0.809 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 12, two-sided 0.05 => power 0.818 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 12; randomisation = level_3; sd = 1 (with allocation) |
power = 0.818 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 19, two-sided 0.05 => power 0.81 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 19; randomisation = level_3; sd = 1 (with allocation) |
power = 0.81 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 13, two-sided 0.05 => power 0.803 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 13; randomisation = level_3; sd = 1 (with allocation) |
power = 0.803 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 9, two-sided 0.05 => power 0.809 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 9; randomisation = level_3; sd = 1 (with allocation) |
power = 0.809 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 7, two-sided 0.05 => power 0.832 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 7; randomisation = level_3; sd = 1 (with allocation) |
power = 0.832 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 11, two-sided 0.05 => power 0.821 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 11; randomisation = level_3; sd = 1 (with allocation) |
power = 0.821 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.1 (printed p. 192) | level_3 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 8, two-sided 0.05 => power 0.837 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 8; randomisation = level_3; sd = 1 (with allocation) |
power = 0.837 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 12, two-sided 0.05 => power 0.865 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 12; randomisation = level_2; sd = 1 |
power = 0.865 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 6, two-sided 0.05 => power 0.865 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 6; randomisation = level_2; sd = 1 |
power = 0.865 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 14, two-sided 0.05 => power 0.814 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 14; randomisation = level_2; sd = 1 |
power = 0.814 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 7, two-sided 0.05 => power 0.814 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 7; randomisation = level_2; sd = 1 |
power = 0.814 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 6, two-sided 0.05 => power 0.824 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 6; randomisation = level_2; sd = 1 |
power = 0.824 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 3, two-sided 0.05 => power 0.824 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 3; randomisation = level_2; sd = 1 |
power = 0.824 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 8, two-sided 0.05 => power 0.82 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 8; randomisation = level_2; sd = 1 |
power = 0.82 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 4, two-sided 0.05 => power 0.82 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 4; randomisation = level_2; sd = 1 |
power = 0.82 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 10, N₂ 4, N₃ 6, two-sided 0.05 => power 0.824 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 10; level2_units = 4; level3_units = 6; randomisation = level_2; sd = 1 |
power = 0.824 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 10, N₂ 8, N₃ 3, two-sided 0.05 => power 0.824 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 10; level2_units = 8; level3_units = 3; randomisation = level_2; sd = 1 |
power = 0.824 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 10, two-sided 0.05 => power 0.865 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 10; randomisation = level_2; sd = 1 (with allocation) |
power = 0.865 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 5, two-sided 0.05 => power 0.865 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 5; randomisation = level_2; sd = 1 (with allocation) |
power = 0.865 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 10, N₂ 4, N₃ 6, two-sided 0.05 => power 0.861 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 10; level2_units = 4; level3_units = 6; randomisation = level_2; sd = 1 (with allocation) |
power = 0.861 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 10, N₂ 8, N₃ 3, two-sided 0.05 => power 0.861 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 10; level2_units = 8; level3_units = 3; randomisation = level_2; sd = 1 (with allocation) |
power = 0.861 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 12, two-sided 0.05 => power 0.824 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 12; randomisation = level_2; sd = 1 (with allocation) |
power = 0.824 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 6, two-sided 0.05 => power 0.824 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 6; randomisation = level_2; sd = 1 (with allocation) |
power = 0.824 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 6, two-sided 0.05 => power 0.886 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 6; randomisation = level_2; sd = 1 (with allocation) |
power = 0.886 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 3, two-sided 0.05 => power 0.886 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 3; randomisation = level_2; sd = 1 (with allocation) |
power = 0.886 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 8, two-sided 0.05 => power 0.883 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 8; randomisation = level_2; sd = 1 (with allocation) |
power = 0.883 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 4, two-sided 0.05 => power 0.883 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 4; randomisation = level_2; sd = 1 (with allocation) |
power = 0.883 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 10, N₂ 4, N₃ 6, two-sided 0.05 => power 0.886 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 10; level2_units = 4; level3_units = 6; randomisation = level_2; sd = 1 (with allocation) |
power = 0.886 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.2 (printed p. 195) | level_2 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 10, N₂ 8, N₃ 3, two-sided 0.05 => power 0.886 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 10; level2_units = 8; level3_units = 3; randomisation = level_2; sd = 1 (with allocation) |
power = 0.886 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 8, two-sided 0.05 => power 0.807 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 8; randomisation = level_1; sd = 1 |
power = 0.807 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 4, two-sided 0.05 => power 0.807 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 4; randomisation = level_1; sd = 1 |
power = 0.807 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 10, N₂ 4, N₃ 4, two-sided 0.05 => power 0.807 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 10; level2_units = 4; level3_units = 4; randomisation = level_1; sd = 1 |
power = 0.807 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 10, N₂ 8, N₃ 2, two-sided 0.05 => power 0.807 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 10; level2_units = 8; level3_units = 2; randomisation = level_1; sd = 1 |
power = 0.807 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 8, two-sided 0.05 => power 0.851 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 8; randomisation = level_1; sd = 1 |
power = 0.851 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 4, two-sided 0.05 => power 0.851 | Power | alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 4; randomisation = level_1; sd = 1 |
power = 0.851 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 6, two-sided 0.05 => power 0.904 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 6; randomisation = level_1; sd = 1 |
power = 0.904 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 3, two-sided 0.05 => power 0.904 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 3; randomisation = level_1; sd = 1 |
power = 0.904 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 4, two-sided 0.05 => power 0.807 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 4; randomisation = level_1; sd = 1 |
power = 0.807 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 2, two-sided 0.05 => power 0.807 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 2; randomisation = level_1; sd = 1 |
power = 0.807 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 10, N₂ 2, N₃ 4, two-sided 0.05 => power 0.807 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 10; level2_units = 2; level3_units = 4; randomisation = level_1; sd = 1 |
power = 0.807 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 10, N₂ 4, N₃ 2, two-sided 0.05 => power 0.807 | Power | alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 10; level2_units = 4; level3_units = 2; randomisation = level_1; sd = 1 |
power = 0.807 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 8, two-sided 0.05 => power 0.873 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 8; randomisation = level_1; sd = 1 (with allocation) |
power = 0.873 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 4, two-sided 0.05 => power 0.873 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 4; randomisation = level_1; sd = 1 (with allocation) |
power = 0.873 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 10, N₂ 4, N₃ 4, two-sided 0.05 => power 0.873 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 10; level2_units = 4; level3_units = 4; randomisation = level_1; sd = 1 (with allocation) |
power = 0.873 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.1, ρ₂ 0.05, N₁ 10, N₂ 8, N₃ 2, two-sided 0.05 => power 0.873 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 10; level2_units = 8; level3_units = 2; randomisation = level_1; sd = 1 (with allocation) |
power = 0.873 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 6, two-sided 0.05 => power 0.812 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 6; randomisation = level_1; sd = 1 (with allocation) |
power = 0.812 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.3, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 3, two-sided 0.05 => power 0.812 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.3; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 3; randomisation = level_1; sd = 1 (with allocation) |
power = 0.812 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 4, two-sided 0.05 => power 0.832 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 4; randomisation = level_1; sd = 1 (with allocation) |
power = 0.832 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.1, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 2, two-sided 0.05 => power 0.832 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.1; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 2; randomisation = level_1; sd = 1 (with allocation) |
power = 0.832 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 4, N₃ 4, two-sided 0.05 => power 0.873 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 4; level3_units = 4; randomisation = level_1; sd = 1 (with allocation) |
power = 0.873 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 5, N₂ 8, N₃ 2, two-sided 0.05 => power 0.873 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 5; level2_units = 8; level3_units = 2; randomisation = level_1; sd = 1 (with allocation) |
power = 0.873 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 10, N₂ 2, N₃ 4, two-sided 0.05 => power 0.873 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 10; level2_units = 2; level3_units = 4; randomisation = level_1; sd = 1 (with allocation) |
power = 0.873 ± 0.0005 |
| Ahn, Heo & Zhang 2015, Table 6.3 (printed p. 198) | level_1 randomisation, λ 1.5, Δ 0.4, ρ₁ 0.2, ρ₂ 0.05, N₁ 10, N₂ 4, N₃ 2, two-sided 0.05 => power 0.873 | Power | allocation_ratio = 1.5; alpha = 0.05; difference = 0.4; icc_level2 = 0.2; icc_level3 = 0.05; level1_units = 10; level2_units = 4; level3_units = 2; randomisation = level_1; sd = 1 (with allocation) |
power = 0.873 ± 0.0005 |
Sources
- Ahn C, Heo M, Zhang S. Sample Size Calculations for Clustered and Longitudinal Outcomes in Clinical Research. Boca Raton: Chapman & Hall/CRC; 2015. Chapter 6.
- NCSS, LLC. PASS 2026 Documentation, chapters 380, 381 and 382: Mixed Models Tests for Two Means in a 3-Level Hierarchical Design (Level-1, Level-2 and Level-3 Randomization). Kaysville, Utah; 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 →