TriaLab Power Studio · Method
Factorial ANOVA — main effects and interactions
Sizes a balanced two- or three-factor design for the F test of one nominated term: a main effect, a two-way interaction or a three-way interaction. Exact noncentral F, equal allocation across treatment combinations, and a residual degrees-of-freedom override for reduced models such as Latin squares and fractional factorials.
Also known as: factorial ANOVA, two-way ANOVA, three-way ANOVA, multi-factor ANOVA, interaction, main effect, analysis of variance, randomised block, Latin square, 2x2 factorial, Cohen’s f.
Maturity
Validated: 8 published examples from 4 independent publications (Neter, Kutner, Nachtsheim & Wasserman, Applied Linear Statistical Models, 4th ed. (1996; PASS; Prihoda 1983; Winer, Statistical Principles in Experimental Design, 3rd ed. (1991) reproduce on every build (ADR-0001 §58).
What it solves for
- Sample size: offered.
- Power: offered.
- Detectable effect: offered.
- Precision: not offered — Precision sizing has no single meaning for an omnibus test: a main effect over three levels is not one quantity to put a confidence interval around. Size a specific contrast instead, with the single planned contrast kernel.
- 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: participants are assessed at a fixed follow-up, so calendar time does not enter the power function.
Size axes:
- Participants per treatment combination (equal allocation) (
participants_per_cell), 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
- Number of treatment combinations (
cells): a whole number, at least 4; default 4; typically 4 to 24 (2x2 up to 2x3x4) How many distinct groups the design has, counting every combination of the factors: 6 for a 3x2 design, 24 for a 2x3x4. Participants are divided equally among them. - Degrees of freedom of all fitted terms (
model_df), advanced: a whole number, at least 1 Leave blank for the usual case, where every main effect and every interaction is fitted and this is one less than the number of treatment combinations. Set it only for a reduced design that drops terms — a Latin square with three 5-level factors and no interactions fits 12. - Within-cell standard deviation (
sd): a number, above 0; default 1 The anticipated standard deviation of the outcome inside a single treatment combination, assumed common to all of them. Take it from a pilot study or from the residual mean square of a published analysis. - Levels of the factor being tested (
term_levels): a whole number, at least 2; default 2 How many levels the one factor has — 3 for a low / medium / high dose. Its test carries one fewer degree of freedom than that. - Levels of the first factor in the interaction (
interaction_levels_a): a whole number, at least 2; default 2 How many levels the first of the two interacting factors has. - Levels of the second factor in the interaction (
interaction_levels_b): a whole number, at least 2; default 2 How many levels the second of the two interacting factors has. - Levels of the first factor in the three-way interaction (
interaction3_levels_a): a whole number, at least 2; default 2 How many levels the first of the three interacting factors has. - Levels of the second factor in the three-way interaction (
interaction3_levels_b): a whole number, at least 2; default 2 How many levels the second of the three interacting factors has. - Levels of the third factor in the three-way interaction (
interaction3_levels_c): a whole number, at least 2; default 2 How many levels the third of the three interacting factors has. - Degrees of freedom of the term (
term_df): a whole number, at least 1; default 1 The numerator degrees of freedom of the F test: one less than the number of levels for a main effect, the product of those quantities for an interaction. Enter it directly for a term the other options do not describe — a nested factor, or a pooled set of contrasts. - Spread of the term’s effects (
sd_of_effects): a number, above 0; default 0.25 The standard deviation of the effects the term contributes, in the units of the outcome: sqrt(sum of squared effects / number of effects). For a factor whose three level means are 17.25, 18.25 and 32.00 this is 6.73. From a published analysis of variance table it is sqrt(df x mean square / N). - Cohen’s f (
effect_f): a number, above 0; default 0.25; typically 0.1 to 0.4 (Cohen’s small / medium / large) The spread of the term’s effects divided by the within-cell standard deviation. Cohen’s conventional values are 0.10 small, 0.25 medium, 0.40 large.
Sizes entered when another axis is solved for
- Participants per treatment combination (equal allocation) (
participants_per_cell): a whole number, at least 1 Participants per treatment combination (equal allocation). Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Ways to express an input
Term being tested — Which F test the design is being sized for. A factorial design runs one test per main effect and one per interaction; they share the participants and the standard deviation but not the power, so the protocol has to name the one it is powered for.
- A main effect, the form’s default: Does this one factor matter, averaged over the others? (fields
term_levels) - A two-way interaction: Does the effect of one factor depend on the level of another? (fields
interaction_levels_a,interaction_levels_b) - A three-way interaction: Does a two-way interaction itself depend on the level of a third factor? (fields
interaction3_levels_a,interaction3_levels_b,interaction3_levels_c) - Degrees of freedom, entered directly: The canonical form; use it for a term the other options do not describe. (fields
term_df)
Effect size — How large the term’s effects are. The F test sees them only through their spread, so that spread — raw or standardised — is the whole effect.
- Spread of the effects, the form’s default: In outcome units — the clinical quantity. (fields
sd_of_effects) - Cohen’s f: The canonical form; use it when only a standardised effect is published. (fields
effect_f)
Modifiers admitted
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 |
|---|---|---|---|---|
| Winer, Statistical Principles in Experimental Design, 3rd ed. (1991), pp. 428-429 | 2x3 factorial, n 3 per cell, sigma 2.97, A*B spread of effects 2.65 (df 2) => Winer’s interpolated 0.86; exact noncentral F 0.85338, which is what PASS 2026 also reports (0.8534) | Power | alpha = 0.05; cells = 6; effect_f = 0.892256; participants_per_cell = 3; sd = 2.97; term_df = 2; effect expressed as standardised; term expressed as degrees_of_freedom |
power = 0.86 ± 0.01 |
| Winer, Statistical Principles in Experimental Design, 3rd ed. (1991), pp. 428-429 | Same design, factor A (df 1), spread of effects 0.714 => Winer brackets the power between 0.10 and 0.26 and interpolates 0.17; exact noncentral F 0.15576 (PASS 0.1558), inside his bracket and below his interpolation | Power | alpha = 0.05; cells = 6; effect_f = 0.240404; participants_per_cell = 3; sd = 2.97; term_df = 1; effect expressed as standardised; term expressed as degrees_of_freedom |
power = 0.17 ± 0.02 |
| Prihoda 1983, pp. 7-8 (two-way design, power of the interaction test) | 2x4 factorial, sigma 8, A*B spread 2.345208 (df 3), n 6 per cell => 0.34; engine 0.33722 | Power | alpha = 0.05; cells = 8; effect_f = 0.293151; participants_per_cell = 6; sd = 8; term_df = 3; effect expressed as standardised; term expressed as degrees_of_freedom |
power = 0.34 ± 0.005 |
| Prihoda 1983, pp. 7-8 (two-way design, power of the interaction test) | Same design, n 10 per cell => 0.56; engine 0.55558 | Power | alpha = 0.05; cells = 8; effect_f = 0.293151; participants_per_cell = 10; sd = 8; term_df = 3; effect expressed as standardised; term expressed as degrees_of_freedom |
power = 0.56 ± 0.005 |
| Prihoda 1983, pp. 7-8 (two-way design, power of the interaction test) | Same design, n 14 per cell => 0.73; engine 0.72541 | Power | alpha = 0.05; cells = 8; effect_f = 0.293151; participants_per_cell = 14; sd = 8; term_df = 3; effect expressed as standardised; term expressed as degrees_of_freedom |
power = 0.73 ± 0.005 |
| Neter, Kutner, Nachtsheim & Wasserman, Applied Linear Statistical Models, 4th ed. (1996), p. 1057 | 3x2 factorial, n 2 per cell, sigma 3, factor A means 50 / 55 / 45 (spread sqrt(50/3) = 4.0824829, df 2) => their ‘about 0.89’; exact noncentral F 0.90162, which PASS 2026 also reports (0.9016) | Power | alpha = 0.05; cells = 6; effect_f = 1.360828; participants_per_cell = 2; sd = 3; term_df = 2; effect expressed as standardised; term expressed as degrees_of_freedom |
power = 0.89 ± 0.015 |
| PASS 2026 documentation, chapter 560 (Factorial Analysis of Variance), Example 3 - Latin Square Design | 5x5 Latin square: 25 cells, one observation each, three 5-level main effects and no interactions (model_df 12, residual df 12), sigma 1, factor C level means 1..5 (spread sqrt(2), df 4) => 0.9987 | Power | alpha = 0.05; cells = 25; effect_f = 1.414214; model_df = 12; participants_per_cell = 1; sd = 1; term_df = 4; effect expressed as standardised; term expressed as degrees_of_freedom |
power = 0.9987 ± 0.0002 |
| PASS 2026 documentation, chapter 560 (Factorial Analysis of Variance), Example 2 - Finding the Sample Size | 2x3x4 factorial (24 cells, saturated), Cohen’s f 0.2 on every term, alpha 0.05, 90% power on the B*C interaction (df 6) => 19 participants per cell | Sample size | alpha = 0.05; cells = 24; effect_f = 0.2; power_target = 0.9; sd = 1; term_df = 6; effect expressed as standardised; term expressed as degrees_of_freedom |
participants_per_cell = 19 ± 0 |
Sources
- Winer BJ, Brown DR, Michels KM. Statistical Principles in Experimental Design. 3rd ed. New York: McGraw-Hill; 1991. pp. 428-429 (power of the F tests of a two-factor design).
- Neter J, Kutner MH, Nachtsheim CJ, Wasserman W. Applied Linear Statistical Models. 4th ed. Chicago: Irwin; 1996. p. 1057 (power of a two-factor analysis of variance).
- Prihoda TJ. A generalized approach to the power of the analysis of variance for arbitrary sets of means. PhD dissertation, Baylor University; 1983. pp. 7-8.
- Cohen J. Statistical Power Analysis for the Behavioral Sciences. 2nd ed. Hillsdale, NJ: Lawrence Erlbaum; 1988. Ch. 8 (the f effect-size convention for factorial designs).
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 →