Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Statistics›Two-Way Analysis of Variance (Two-Way ANOVA)
Hypothesis test

Two-Way Analysis of Variance (Two-Way ANOVA)

Two-Way Analysis of Variance · Also known as: factorial ANOVA, two-factor ANOVA, İki Yönlü ANOVA

Two-Way ANOVA is a parametric hypothesis test that simultaneously examines the main effects of two independent categorical factors and their interaction effect on a single continuous dependent variable. The technique was developed within the broader framework of the analysis of variance established by Ronald A. Fisher in 1925 and remains the standard approach whenever an experiment or survey includes exactly two between-subjects factors.

ScholarGate
  1. Hypothesis test
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Two-Way ANOVA
ANCOVAKruskal-Wallis testMANOVAOne-way ANOVARepeated-measures ANOVAWelch ANOVAAligned Rank Transform A…Bayesian two-way ANOVAFractional Factorial Des…Full Factorial Design

+7 more

When to use it

Use Two-Way ANOVA when you have one continuous outcome variable, exactly two independent categorical factors (each with two or more levels), and independent observations. Three assumptions must hold: residuals within each cell are approximately normally distributed (check with Shapiro-Wilk applied per cell), variances are homogeneous across all cells (check with Levene's test), and the two factors are independent of each other. A minimum of roughly 40 total observations is recommended so that each cell contains enough cases for reliable F statistics. If cells are severely unbalanced, use Type III sums of squares. When normality fails, consider the Aligned Rank Transform (ART) ANOVA; when variance homogeneity fails, Welch ANOVA is an alternative; when sample size is too small, a permutation test or Kruskal-Wallis may be more appropriate.

Strengths & limitations

Strengths
  • Tests both main effects and their interaction with a single analysis, offering greater statistical efficiency than running separate one-way tests.
  • Detects interaction effects that separate analyses would miss entirely.
  • Widely accepted in all empirical disciplines and supported by a mature body of statistical theory (Montgomery, 2017).
  • Partial eta-squared provides a standardised, interpretable effect size that can be compared across studies.
Limitations
  • Requires a minimum sample size (around 40 observations) so that every cell has adequate observations for stable F ratios.
  • Sensitive to violations of normality and variance homogeneity, particularly in small or unbalanced designs.
  • A significant interaction makes the main effects harder to interpret and typically requires follow-up simple effects analysis or interaction plots.
  • Restricted to between-subjects designs; repeated measurements require a different model.

Frequently asked

What should I do when the interaction effect is significant?

A significant interaction means the effect of Factor A differs depending on the level of Factor B (and vice versa), so the main effects alone do not tell the full story. The standard approach is to produce an interaction plot to visualise the crossing or diverging lines, and then conduct simple effects analysis — that is, test the effect of one factor separately at each level of the other factor, applying an appropriate correction for multiple comparisons.

Does the order in which I enter the factors matter?

In a balanced design (equal cell sizes) the order does not matter because the factors are orthogonal. In unbalanced designs, however, Type I (sequential) sums of squares depend on the order of entry, which can lead to different conclusions. Always use Type III sums of squares for unbalanced data, as implemented by default in most software when a Type is specified explicitly.

How is Two-Way ANOVA different from running two separate One-Way ANOVAs?

Running two separate one-way ANOVAs inflates the experiment-wise error rate, ignores the interaction between the factors, and uses only the marginal data rather than the full cross-classified structure. Two-Way ANOVA tests both main effects and their interaction simultaneously within a single model, preserving the nominal significance level and providing the additional, often critical, interaction test.

Which effect size should I report?

Partial eta-squared (η²p) is the conventional choice for factorial ANOVA. It expresses each effect's sum of squares as a proportion of that effect's SS plus the error SS, making it interpretable on its own: values around 0.01 are considered small, 0.06 medium, and 0.14 large. Omega-squared (ω²) is a less biased estimator and is preferred for small samples or when generalising beyond the specific study.

Sources

  1. Montgomery, D. C. (2017). Design and Analysis of Experiments (9th ed.). Wiley. ISBN: 978-1119113478

How to cite this page

ScholarGate. (2026, June 1). Two-Way Analysis of Variance. ScholarGate. https://scholargate.app/en/statistics/two-way-anova

Related methods

ANCOVAKruskal-Wallis testMANOVAOne-way ANOVARepeated-measures ANOVAWelch ANOVA

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • ANCOVAStatistics↔ compare
  • Kruskal-Wallis testStatistics↔ compare
  • MANOVAStatistics↔ compare
  • One-way ANOVAStatistics↔ compare
  • Repeated-measures ANOVAStatistics↔ compare
  • Welch ANOVAStatistics↔ compare
Compare side by side →

Referenced by

Aligned Rank Transform ANOVABayesian two-way ANOVAFractional Factorial DesignFull Factorial DesignLatin Square DesignMixed ANOVAOne-way ANOVARandomized Complete Block DesignRepeated-measures ANOVAResponse Surface MethodologyRobust two-way ANOVAScheffé TestSplit-Plot Design

Similar methods

Analysis of Variance (ANOVA)Factorial ExperimentMixed ANOVAOne-way ANOVABayesian two-way ANOVARobust two-way ANOVAANCOVARepeated-measures ANOVA

Related reference concepts

Multivariate Analysis of VarianceMultivariate RegressionChi-Squared and Fisher Exact TestsMultivariate Multiple RegressionMultiple Linear RegressionStatistical Power and Sample Size

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Two-Way ANOVA (Two-Way Analysis of Variance). Retrieved 2026-07-20 from https://scholargate.app/en/statistics/two-way-anova · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Ronald A. Fisher
Year
1925
Family
Hypothesis test
Type
Parametric factorial mean comparison
Factors
2
Outcome
continuous
Parametric
Yes
Distribution
F
Effects
main effect A, main effect B, interaction A×B
MinSample
40
Related methods
ANCOVAKruskal-Wallis testMANOVAOne-way ANOVARepeated-measures ANOVAWelch ANOVA
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account