Explorable.com308.5K reads

A Two-Way ANOVA is useful when we desire to compare the effect of multiple levels of two factors and we have multiple observations at each level.

Discover 34 more articles on this topic

Don't miss these related articles:

- 1Statistical Hypothesis Testing
- 2Relationships
- 3Correlation
- 4Regression
- 5Student’s T-Test
- 6ANOVA
- 7Nonparametric Statistics
- 8Other Ways to Analyse Data

One-Way ANOVA compares three or more levels of **one factor**. But some experiments involve **two factors** each with multiple levels in which case it is appropriate to use Two-Way ANOVA.

Let us discuss the concepts of factors, levels and observation through an example.

A Two-Way ANOVA is a design with two factors.

Let us suppose that the Human Resources Department of a company desires to know if occupational stress varies according to age and gender.

The variable of interest is therefore **occupational stress** as measured by a scale.

There are two **factors **being studied - age and gender.

Further suppose that the employees have been classified into three groups or **levels**:

- age less than 40,
- 40 to 55
- above 55

In addition employees have been labeled into gender classification **(levels)**:

- male
- female

In this design, factor age has three levels and gender two. In all, there are 3 x 2 = 6 groups or cells. With this layout, we obtain scores on occupational stress from employee(s) belonging to the six cells.

There are two versions of the Two-Way ANOVA.

The basic version has one observation in each cell - one occupational stress score from one employee in each of the six cells.

The second version has more than one observation per cell but the number of observations in each cell must be equal. The advantage of the second version is it also helps us to test if there is any interaction between the two factors.

For instance, in the example above, we may be interested to know if there is any interaction between age and gender.

This helps us to know if age and gender are independent of each other - they are independent if the effect of age on stress remains the same irrespective of whether we take gender into consideration.

In the basic version there are two null hypotheses to be tested.

- H
_{01}: All the age groups have equal stress on the average - H
_{02}: Both the gender groups have equal stress on the average.

In the second version, a third hypothesis is also tested:

- H
_{03}: The two factors are independent or that interaction effect is not present.

The computational aspect involves computing F-statistic for each hypothesis.

The assumptions in both versions remain the same - normality, independence and equality of variance.

- An important advantage of this design is it is more efficient than its one-way counterpart. There are two assignable sources of variation - age and gender in our example - and this helps to reduce error variation thereby making this design more efficient.
- Unlike One-Way ANOVA, it enables us to test the effect of two factors at the same time.
- One can also test for independence of the factors provided there are more than one observation in each cell. The only restriction is that the number of observations in each cell has to be equal (there is no such restriction in case of one-way ANOVA).

An Two-Way ANOVA satisfies all three principles of design of experiments namely replication, randomization and local control.

Principles of replication and randomization need to be satisfied in a manner similar to One-Way ANOVA.

The principle of local control means to make the observations as homogeneous as possible so that error due to one or more assignable causes may be removed from the experimental error.

In our example if we divided the employees only according to their age, then we would have ignored the effect of gender on stress which would then accumulate with the experimental error.

But we divided them not only according to age but also according to gender which would help in reducing the error - this is application of the principle of local control for reducing error variation and making the design more efficient.

Full reference:

Explorable.com (Oct 19, 2009). Two-Way ANOVA. Retrieved Jun 03, 2023 from Explorable.com: https://explorable.com/two-way-anova

The text in this article is licensed under the Creative Commons-License Attribution 4.0 International (CC BY 4.0).

This means you're free to copy, share and adapt any parts (or all) of the text in the article, as long as you give ** appropriate credit** and

That is it. You don't need our permission to copy the article; just include a link/reference back to this page. You can use it freely (with some kind of link), and we're also okay with people reprinting in publications like books, blogs, newsletters, course-material, papers, wikipedia and presentations (with clear attribution).

Discover 34 more articles on this topic

Don't miss these related articles:

- 1Statistical Hypothesis Testing
- 2Relationships
- 3Correlation
- 4Regression
- 5Student’s T-Test
- 6ANOVA
- 7Nonparametric Statistics
- 8Other Ways to Analyse Data

Thank you to...

This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 827736.

Subscribe / Share

- Subscribe to our RSS Feed
- Like us on Facebook
- Follow us on Twitter
- Founder:
- Oskar Blakstad Blog
- Oskar Blakstad on Twitter

Explorable.com - 2008-2023

You are free to copy, share and adapt any text in the article, as long as you give *appropriate credit* and *provide a link/reference* to this page.