TriaLab Power Studio · Method
Ratio of two variances (F test)
Sizes a two-arm parallel study comparing the variability of a test product with a reference: the F test that the variances differ, Chow’s non-inferiority and superiority on the variance ratio, his similarity test (PASS’s equivalence) as two one-sided F tests, and the confidence interval for the ratio sized to a width or a relative error.
Also known as: variance ratio, F test, two variances, total variability, equivalence of variances, comparing variabilities, homogeneity of variance.
Maturity
Validated: 55 published examples from 3 independent publications (Chow, Shao, Wang & Lokhnygina 2017; PASS; Sachs 1984) reproduce on every build (ADR-0001 §58).
What it solves for
- Sample size: offered.
- Power: offered.
- Detectable effect: offered.
- Precision: offered.
- 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 — This design has no time axis: the variability is measured on subjects, not over calendar time.
Size axes:
- Participants per arm (reference arm when allocation is unequal) (
participants_per_arm), 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
- Reference (control) variance (σ²_R) (
variance_control): a number, above 0; default 1 The variance of the reference product, in the outcome’s squared units. The interval is built from it and the ratio. - Test (treatment) variance (σ²_T) (
variance_treatment): a number, above 0; default 0.8 The variance of the test product; the reduction ln(σ²_R/σ²_T) is derived. - Ratio of total variances (σ²_T/σ²_R) (
variance_ratio): a number, above 0; default 0.8; typically 0.5 to 2 (variance ratios in comparability studies) The test product’s variance over the reference product’s. Below one the test product is less variable, which is the better direction; a margin is entered on this scale too (PASS’s RL and RU). - Ratio of total standard deviations (σ_T/σ_R) (
sd_ratio): a number, above 0; default 0.9; typically 0.7 to 1.4 (standard-deviation ratios in comparability studies) The same comparison on the standard-deviation scale — Chow’s δ is a margin on this scale, 1.1 for 10% of the reference’s standard deviation. - Log variance reduction, ln(σ²_R/σ²_T) (
log_variance_reduction), advanced: a number, any finite number The scale the test and any margin are computed on: positive when the test product is less variable. Enter a ratio unless your source publishes on this scale. - Sidedness of the test (
tails): a choice; defaulttwo_sidedWhether the 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.
- Precision criterion (
criterion): a choice; defaultinterval_widthWhat the precision target is measured as under the Precision target: half the width of the confidence interval for the variance ratio, or the relative error — the fraction of the true value the estimate is within, with the stated confidence (PASS’s Desu & Raghavarao form).interval_widthInterval half-width: The target is half the confidence interval’s width, on the chosen scale.relative_errorRelative error: The target is the relative error r: the estimate lies within r of the true value with the stated confidence.
- Precision target (half-width, or relative error) (
half_width_target): a number, above 0 Under the Precision target: half the width of the confidence interval for the variance ratio — or, under the relative-error criterion, the relative error r of the estimated ratio. Ignored for every other target. - Full interval width (W) (
interval_width): a number, above 0 The distance from the lower to the upper confidence limit of the ratio — PASS’s W. The interval is not symmetric about the estimate.
Sizes entered when another axis is solved for
- Participants per arm (reference arm when allocation is unequal) (
participants_per_arm): a whole number, at least 1 Participants per arm (reference arm when allocation is unequal). Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Ways to express an input
Total variability of the test product against the reference — As a ratio of variances, of standard deviations, the test product’s own variability beside the reference’s, or the log reduction the test is computed on. A smaller variability is the better one. A margin is entered as a ratio on the ratio spellings and on the log scale on the others.
- Test variance: σ²_T beside the reference variance. (fields
variance_treatment) - Variance ratio, the form’s default: σ²_T/σ²_R; a margin is entered as a variance ratio. (fields
variance_ratio) - Standard-deviation ratio: σ_T/σ_R; a margin is entered as Chow’s δ. (fields
sd_ratio) - Log variance reduction: The canonical scale. (fields
log_variance_reduction)
Interval precision — How precise the confidence interval for the ratio must be, as half its width or its whole width; under the relative-error criterion the half-width field carries r. Used only when solving for precision.
- Half-width (or relative error): Half the interval’s width, or r. (fields
half_width_target) - Full width W, the form’s default: PASS’s W; halved. (fields
interval_width)
Modifiers admitted
frame: Hypothesis framemultiplicity: Multiplicity (a family of tests)fdr: False-discovery rate (many features tested at once)allocation: Allocationdropout: Dropout
Published examples it reproduces (55)
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 |
|---|---|---|---|---|
| Chow, Shao, Wang & Lokhnygina 2017, §9.4.1.4 (printed p. 220) | σ_TT 0.55 against σ_TR 0.75, non-inferiority margin δ 1.1, 80% power at 5% => 40 per arm | Sample size | alpha = 0.05; frame = non_inferiority; margin = 1.1; power_target = 0.8; sd_ratio = 0.733333; effect expressed as sd_ratio (with frame) |
participants_per_arm = 40 ± 0 |
| PASS chapter 139, Example 1 (printed p. 139-4) | equivalence limits 1/1.5 and 1.5 on the variance ratio, true ratio 0.8, 90% power => 1033 per group | Sample size | alpha = 0.05; frame = equivalence; margin = 1.5; power_target = 0.9; variance_ratio = 0.8; effect expressed as variance_ratio (with frame) |
participants_per_arm = 1033 ± 0 |
| PASS chapter 139, Example 1 (printed p. 139-4) | the same design at 1033 per group => power 0.9002 | Power | alpha = 0.05; frame = equivalence; margin = 1.5; participants_per_arm = 1033; variance_ratio = 0.8; effect expressed as variance_ratio (with frame) |
power = 0.9002 ± 0.00006 |
| PASS chapter 139, Example 1 (printed p. 139-4) | equivalence limits 1/1.5 and 1.5 on the variance ratio, true ratio 0.9, 90% power => 383 per group | Sample size | alpha = 0.05; frame = equivalence; margin = 1.5; power_target = 0.9; variance_ratio = 0.9; effect expressed as variance_ratio (with frame) |
participants_per_arm = 383 ± 0 |
| PASS chapter 139, Example 1 (printed p. 139-4) | the same design at 383 per group => power 0.9001 | Power | alpha = 0.05; frame = equivalence; margin = 1.5; participants_per_arm = 383; variance_ratio = 0.9; effect expressed as variance_ratio (with frame) |
power = 0.9001 ± 0.00006 |
| PASS chapter 139, Example 1 (printed p. 139-4) | equivalence limits 1/1.5 and 1.5 on the variance ratio, true ratio 1, 90% power => 266 per group | Sample size | alpha = 0.05; frame = equivalence; margin = 1.5; power_target = 0.9; variance_ratio = 1; effect expressed as variance_ratio (with frame) |
participants_per_arm = 266 ± 0 |
| PASS chapter 139, Example 1 (printed p. 139-4) | the same design at 266 per group => power 0.9009 | Power | alpha = 0.05; frame = equivalence; margin = 1.5; participants_per_arm = 266; variance_ratio = 1; effect expressed as variance_ratio (with frame) |
power = 0.9009 ± 0.00006 |
| PASS chapter 139, Example 1 (printed p. 139-4) | equivalence limits 1/1.5 and 1.5 on the variance ratio, true ratio 1.1, 90% power => 360 per group | Sample size | alpha = 0.05; frame = equivalence; margin = 1.5; power_target = 0.9; variance_ratio = 1.1; effect expressed as variance_ratio (with frame) |
participants_per_arm = 360 ± 0 |
| PASS chapter 139, Example 1 (printed p. 139-4) | the same design at 360 per group => power 0.9004 | Power | alpha = 0.05; frame = equivalence; margin = 1.5; participants_per_arm = 360; variance_ratio = 1.1; effect expressed as variance_ratio (with frame) |
power = 0.9004 ± 0.00006 |
| PASS chapter 139, Example 1 (printed p. 139-4) | equivalence limits 1/1.5 and 1.5 on the variance ratio, true ratio 1.2, 90% power => 690 per group | Sample size | alpha = 0.05; frame = equivalence; margin = 1.5; power_target = 0.9; variance_ratio = 1.2; effect expressed as variance_ratio (with frame) |
participants_per_arm = 690 ± 0 |
| PASS chapter 139, Example 1 (printed p. 139-4) | the same design at 690 per group => power 0.9001 | Power | alpha = 0.05; frame = equivalence; margin = 1.5; participants_per_arm = 690; variance_ratio = 1.2; effect expressed as variance_ratio (with frame) |
power = 0.9001 ± 0.00006 |
| PASS chapter 139, Example 1 (printed p. 139-4) | equivalence limits 1/1.5 and 1.5 on the variance ratio, true ratio 1.3, 90% power => 1675 per group | Sample size | alpha = 0.05; frame = equivalence; margin = 1.5; power_target = 0.9; variance_ratio = 1.3; effect expressed as variance_ratio (with frame) |
participants_per_arm = 1675 ± 0 |
| PASS chapter 139, Example 1 (printed p. 139-4) | the same design at 1675 per group => power 0.9 | Power | alpha = 0.05; frame = equivalence; margin = 1.5; participants_per_arm = 1675; variance_ratio = 1.3; effect expressed as variance_ratio (with frame) |
power = 0.9 ± 0.00006 |
| PASS chapter 139, Example 2 (printed p. 139-7) | hand calculation: 266 per group at a true ratio of 1 => 0.90094805 | Power | alpha = 0.05; frame = equivalence; margin = 1.5; participants_per_arm = 266; variance_ratio = 1; effect expressed as variance_ratio (with frame) |
power = 0.900948 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 95% interval for the ratio of width 0.2 => 392 per group | Precision | alpha = 0.05; interval_width = 0.2; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 392 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 95% interval for the ratio of width 0.3 => 178 per group | Precision | alpha = 0.05; interval_width = 0.3; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 178 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 95% interval for the ratio of width 0.4 => 104 per group | Precision | alpha = 0.05; interval_width = 0.4; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 104 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 95% interval for the ratio of width 0.5 => 69 per group | Precision | alpha = 0.05; interval_width = 0.5; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 69 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 95% interval for the ratio of width 0.6 => 50 per group | Precision | alpha = 0.05; interval_width = 0.6; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 50 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 95% interval for the ratio of width 0.7 => 39 per group | Precision | alpha = 0.05; interval_width = 0.7; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 39 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 95% interval for the ratio of width 0.8 => 31 per group | Precision | alpha = 0.05; interval_width = 0.8; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 31 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 99% interval for the ratio of width 0.2 => 675 per group | Precision | alpha = 0.01; interval_width = 0.2; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 675 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 99% interval for the ratio of width 0.3 => 307 per group | Precision | alpha = 0.01; interval_width = 0.3; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 307 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 99% interval for the ratio of width 0.4 => 178 per group | Precision | alpha = 0.01; interval_width = 0.4; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 178 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 99% interval for the ratio of width 0.5 => 118 per group | Precision | alpha = 0.01; interval_width = 0.5; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 118 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 99% interval for the ratio of width 0.6 => 85 per group | Precision | alpha = 0.01; interval_width = 0.6; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 85 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 99% interval for the ratio of width 0.7 => 65 per group | Precision | alpha = 0.01; interval_width = 0.7; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 65 ± 0 |
| PASS chapter 656, Example 1 (printed p. 656-4) | variances 5 and 10, 99% interval for the ratio of width 0.8 => 53 per group | Precision | alpha = 0.01; interval_width = 0.8; variance_control = 10; variance_treatment = 5; effect expressed as variance_treatment |
participants_per_arm = 53 ± 0 |
| Sachs 1984 p. 261, as PASS chapter 656 Example 2 reproduces it (printed p. 656-7) | variances 8 and 3, 90% interval of width 4.56 => 20 per group | Precision | alpha = 0.1; interval_width = 4.56; variance_control = 3; variance_treatment = 8; effect expressed as variance_treatment |
participants_per_arm = 20 ± 0 |
| PASS chapter 657, Example 1 (printed p. 657-3) | 95% confidence that the estimated ratio is within 0.05 of the true ratio => 6154 per group | Precision | alpha = 0.05; criterion = relative_error; half_width_target = 0.05; precision expressed as half_width |
participants_per_arm = 6154 ± 0 |
| PASS chapter 657, Example 1 (printed p. 657-3) | 95% confidence that the estimated ratio is within 0.1 of the true ratio => 1544 per group | Precision | alpha = 0.05; criterion = relative_error; half_width_target = 0.1; precision expressed as half_width |
participants_per_arm = 1544 ± 0 |
| PASS chapter 657, Example 1 (printed p. 657-3) | 95% confidence that the estimated ratio is within 0.15 of the true ratio => 690 per group | Precision | alpha = 0.05; criterion = relative_error; half_width_target = 0.15; precision expressed as half_width |
participants_per_arm = 690 ± 0 |
| PASS chapter 657, Example 1 (printed p. 657-3) | 95% confidence that the estimated ratio is within 0.2 of the true ratio => 392 per group | Precision | alpha = 0.05; criterion = relative_error; half_width_target = 0.2; precision expressed as half_width |
participants_per_arm = 392 ± 0 |
| PASS chapter 657, Example 1 (printed p. 657-3) | 95% confidence that the estimated ratio is within 0.25 of the true ratio => 253 per group | Precision | alpha = 0.05; criterion = relative_error; half_width_target = 0.25; precision expressed as half_width |
participants_per_arm = 253 ± 0 |
| PASS chapter 657, Example 2 (printed p. 657-6) | confidence 0.8421668897 that the estimated ratio is within 0.2 of the true ratio => 200 per group, the direct calculation’s size | Precision | alpha = 0.157833; criterion = relative_error; half_width_target = 0.2; precision expressed as half_width |
participants_per_arm = 200 ± 0 |
| PASS chapter 134 | =2 R0 1, R1 0.5, power 0.9 => 90 | Sample size | alpha = 0.05; power_target = 0.9; tails = two_sided; variance_ratio = 0.5; effect expressed as variance_ratio |
participants_per_arm = 90 ± 0 |
| PASS chapter 134 | =2 R0 1, R1 0.8, power 0.9 => 847 | Sample size | alpha = 0.05; power_target = 0.9; tails = two_sided; variance_ratio = 0.8; effect expressed as variance_ratio |
participants_per_arm = 847 ± 0 |
| PASS chapter 134 | =2 R0 1, R1 0.9, power 0.9 => 3789 | Sample size | alpha = 0.05; power_target = 0.9; tails = two_sided; variance_ratio = 0.9; effect expressed as variance_ratio |
participants_per_arm = 3789 ± 0 |
| PASS chapter 134 | =2 R0 1, R1 1.111, power 0.9 => 3796 | Sample size | alpha = 0.05; power_target = 0.9; tails = two_sided; variance_ratio = 1.111; effect expressed as variance_ratio |
participants_per_arm = 3796 ± 0 |
| PASS chapter 134 | =2 R0 1, R1 1.25, power 0.9 => 847 | Sample size | alpha = 0.05; power_target = 0.9; tails = two_sided; variance_ratio = 1.25; effect expressed as variance_ratio |
participants_per_arm = 847 ± 0 |
| PASS chapter 134 | =2 R0 1, R1 2, power 0.9 => 90 | Sample size | alpha = 0.05; power_target = 0.9; tails = two_sided; variance_ratio = 2; effect expressed as variance_ratio |
participants_per_arm = 90 ± 0 |
| PASS chapter 134 | =1 R0 1, R1 4, power 0.99 => 36 | Sample size | alpha = 0.05; power_target = 0.99; tails = one_sided; variance_ratio = 4; effect expressed as variance_ratio |
participants_per_arm = 36 ± 0 |
| PASS chapter 136 | ni R0 1.21, R1 0.53777778, power 0.8 => 40 | Sample size | alpha = 0.05; frame = non_inferiority; margin = 1.21; power_target = 0.8; variance_ratio = 0.537778; effect expressed as variance_ratio (with frame) |
participants_per_arm = 40 ± 0 |
| PASS chapter 137 | ni R0 1.5, R1 0.8, power 0.9 => 89 | Sample size | alpha = 0.05; frame = non_inferiority; margin = 1.5; power_target = 0.9; variance_ratio = 0.8; effect expressed as variance_ratio (with frame) |
participants_per_arm = 89 ± 0 |
| PASS chapter 137 | ni R0 1.5, R1 0.9, power 0.9 => 134 | Sample size | alpha = 0.05; frame = non_inferiority; margin = 1.5; power_target = 0.9; variance_ratio = 0.9; effect expressed as variance_ratio (with frame) |
participants_per_arm = 134 ± 0 |
| PASS chapter 137 | ni R0 1.5, R1 1, power 0.9 => 211 | Sample size | alpha = 0.05; frame = non_inferiority; margin = 1.5; power_target = 0.9; variance_ratio = 1; effect expressed as variance_ratio (with frame) |
participants_per_arm = 211 ± 0 |
| PASS chapter 137 | ni R0 1.5, R1 1.2, power 0.9 => 690 | Sample size | alpha = 0.05; frame = non_inferiority; margin = 1.5; power_target = 0.9; variance_ratio = 1.2; effect expressed as variance_ratio (with frame) |
participants_per_arm = 690 ± 0 |
| PASS chapter 137 | ni R0 1.5, R1 1.3, power 0.9 => 1675 | Sample size | alpha = 0.05; frame = non_inferiority; margin = 1.5; power_target = 0.9; variance_ratio = 1.3; effect expressed as variance_ratio (with frame) |
participants_per_arm = 1675 ± 0 |
| PASS chapter 137 | ni R0 1.21, R1 0.5377778, power 0.8 => 40 | Sample size | alpha = 0.05; frame = non_inferiority; margin = 1.21; power_target = 0.8; variance_ratio = 0.537778; effect expressed as variance_ratio (with frame) |
participants_per_arm = 40 ± 0 |
| PASS chapter 138 | sm R0 0.75, R1 0.2, power 0.9 => 22 | Sample size | alpha = 0.05; frame = superiority_margin; margin = 0.75; power_target = 0.9; variance_ratio = 0.2; effect expressed as variance_ratio (with frame) |
participants_per_arm = 22 ± 0 |
| PASS chapter 138 | sm R0 0.75, R1 0.3, power 0.9 => 43 | Sample size | alpha = 0.05; frame = superiority_margin; margin = 0.75; power_target = 0.9; variance_ratio = 0.3; effect expressed as variance_ratio (with frame) |
participants_per_arm = 43 ± 0 |
| PASS chapter 138 | sm R0 0.75, R1 0.4, power 0.9 => 89 | Sample size | alpha = 0.05; frame = superiority_margin; margin = 0.75; power_target = 0.9; variance_ratio = 0.4; effect expressed as variance_ratio (with frame) |
participants_per_arm = 89 ± 0 |
| PASS chapter 138 | sm R0 0.75, R1 0.5, power 0.9 => 211 | Sample size | alpha = 0.05; frame = superiority_margin; margin = 0.75; power_target = 0.9; variance_ratio = 0.5; effect expressed as variance_ratio (with frame) |
participants_per_arm = 211 ± 0 |
| PASS chapter 138 | sm R0 0.75, R1 0.6, power 0.9 => 690 | Sample size | alpha = 0.05; frame = superiority_margin; margin = 0.75; power_target = 0.9; variance_ratio = 0.6; effect expressed as variance_ratio (with frame) |
participants_per_arm = 690 ± 0 |
| PASS chapter 138 | sm R0 0.75, R1 0.5, N 266 => power 0.9505 | Power | alpha = 0.05; frame = superiority_margin; margin = 0.75; participants_per_arm = 266; power_target = 0.8; variance_ratio = 0.5; effect expressed as variance_ratio (with frame) |
power = 0.9505 ± 0.00005 |
Sources
- Chow S-C, Shao J, Wang H, Lokhnygina Y. Sample Size Calculations in Clinical Research. 3rd ed. Boca Raton: Chapman & Hall/CRC; 2017. §9.4.1, comparing total variabilities in a parallel design without replicates.
- NCSS, LLC. PASS 2026 documentation, chapter 139: Equivalence Tests for the Ratio of Two Variances. Kaysville, UT: NCSS, LLC; 2026.
- NCSS, LLC. PASS 2026 Documentation, chapters 656 and 657: Confidence Intervals for the Ratio of Two Variances using Variances; using Relative Error. 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 →