Definition

Two-way ANOVA Without Replications

Let ‘s be Random Sample from . The can be decomposed as sum of means (global mean -th level effect of factor -th level effect of factor ). In this setup, we assume that

We want to test . where , and

The Likelihood Ratio Test rejects if

Under , the follows Noncentral F-Distribution where

Therefore, the power of the test is

Two-way ANOVA With Equal Replications

Let ‘s be Random Sample from . The can be decomposed as sum of means (global mean + -th level effect of factor + -th level effect of factor + interaction effect of -th level of factor and the -th level of factor ). In this setup, we assume that

We want to test . where , , and

The Likelihood Ratio Test rejects if

Under , the follows Noncentral F-Distribution where

Therefore, the power of the test is

If is not rejected, then we continue to test or

Two-way ANOVA with a Regression Model

where and are dummy variables representing categories of the two factors, is the number of categories for the first factor, and is the number of categories for the second factor

In this setting, a corner-point constraint is used for both factors.

The null hypotheses can be tested by Deviance

Deviance Test for Two-way ANOVA

For a two-way ANOVA with factors and , we have three null hypotheses to test:

  • i.e. there is no treatment effect of factor
  • i.e. there is no treatment effect of factor
  • i.e. there is no interaction effect between factor and They can be tested with the Deviance.

If is known, the test statistic for is defined as And reject the if

If is unknown, the test statistic for is defined as And reject the if

If is known, the test statistic for is defined as And reject the if

If is unknown, the test statistic for is defined as And reject the if

If is known, the test statistic for is defined as And reject the if

If is unknown, the test statistic for is defined as And reject the if