Overview

Use analysis of variance to test whether the means of three or more groups (sets of data) differ: for example, crop yields under three fertilisers. It can also test how several factors, and the interactions between them, affect a measured variable. With several dependent variables, multivariate analysis of variance (MANOVA) tests them together.

statistiXL fits ANOVA designs as general linear models, using Type III sums of squares, so balanced and unbalanced designs are handled the same way. Custom designs are entered as a model formula, for example A|B for all crossed terms, B(A) for B nested within A, and - to remove a term.

Factors can be fixed or random, giving fixed, random and mixed effects models. Post hoc tests are available for any design without covariates. The nonparametric equivalents of one-way and repeated measures ANOVA are the Kruskal–Wallis and Friedman tests.

Three overlapping bell-shaped curves labelled Group 1 to Group 3, plotting the number of observations against the dependent variable. Each group has a different mean and a slightly different spread.
Distributions from three groups with different means.

Methods

  • One-way ANOVA
  • Full factorial ANOVA
  • Randomised block design
  • Latin square design
  • Split-plot design
  • Nested (hierarchical) ANOVA
  • Repeated measures ANOVA
  • User-defined models
  • Fixed, random and mixed effects models
  • Analysis of covariance (ANCOVA)
  • Multivariate analysis of variance (MANOVA)
  • Multivariate analysis of covariance (MANCOVA)
  • Tukey, Student–Newman–Keuls and Scheffé post hoc tests

Running the analysis

Click Analysis of Variance on the statistiXL ribbon and choose Full Factorial, Repeated Measures or User Specified Model. In the dialog, select your dependent variable, factor and any covariate ranges and the output location, and set any options. Post hoc tests are chosen on the Post Hoc Tests page; for a User Specified Model, the model formula is entered on the Model page.

The Analysis of Variance button on the statistiXL ribbon with its menu open, listing Full Factorial (highlighted), Repeated Measures and User Specified Model.
The Analysis of Variance menu on the statistiXL ribbon.
The Full Factorial ANOVA dialog, with boxes for the Y variable, factor and covariate ranges, a Labels in First Row option, an output range and descriptive statistics, a Post Hoc Tests tab, and the QuickHelp pane on the right.
The Full Factorial ANOVA dialog, with QuickHelp on the right.

What the output includes

  • Descriptive statistics for each group (optional)
  • The ANOVA table, with Type III sums of squares, degrees of freedom, mean squares, F and P for each term
  • Wilks' Λ, with its F equivalent and P, for within-subjects effects in repeated measures designs
  • Post hoc comparisons, with the mean difference, standard error, q and P for each pair of groups
ANOVA output in Excel for strontium concentration by water body. The ANOVA table gives a model sum of squares of 2161.615 on 3 degrees of freedom, F of 81.449 and P of 0.000, followed by Tukey post hoc comparisons between Pond, Lake, Cove and River.
Output from a single factor ANOVA, with Tukey post hoc tests.