2-way ANOVA, or more technically 2-way between-subjects factor ANOVA, is a test for a difference in central location (mean) in a sample classified by two factors.
The requirements of the test are:
Data in existing Excel worksheets can be used and should be arranged in a List dataset layout . The dataset must contain a continuous scale variable and two nominal/ordinal scale variables (factors).
When entering new data we recommend using New Dataset to create a new 3 variables (2 categorical) dataset ready for data entry.
To start the test:
Excel 97, 2000, 2002 & 2003: Select any cell in the range containing the dataset to analyse, then click Analyse on the Analyse-it toolbar, click Compare Groups then click 2-way ANOVA.
If the dataset is arranged using the list layoutClick Factor A and Factor B and select the independent variables (factors) containing the groups, then click Variable and select the dependent variable.
The report shows the number of observations analysed, and, if applicable, how many missing values were excluded. Summary statistics, including pooled standard error, for the sample classified by each factor are then shown.
METHOD The pooled standard error for each sample is calculated from the pooled variance. The pooled variance is based upon all the observations and so if a better estimate than the variance calculated separately for each group. However, it is important that the equal variance requirement of the test mentioned above is met.
An analysis of variance table is shown which partitions the total variance into components due to variance between the groups of each factor individually, due to interaction effects, and variance within the samples (residual or error variance). If Include interaction term was clear, excluding the possibility of an interaction between the factors, the variance for the interaction is included in the residual/error variance.
F-tests are used to compare the between- and within- sample variances to determine if they are different. A hypothesis test is shown which tests the hypothesis that the samples have different means. The p-value shows the probability of rejecting the null hypothesis, that the samples have the same mean, when it is in fact true. A significant p-value implies that at least two samples have different means. If the interaction term is included, a significant p-value implies there is an interaction between the factors affecting the means, i.e. the means within the groups of one factor are different across the groups of the other factor (and vice-versa). In such a case it is difficult to interpret the main effects.