Mathematica 9 is now available

Wolfram Library Archive

All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Analysis of Variance

Steve M. Hunka
Organization: University of Alberta
Department: Professor Emeritus of Educational Psychology
Old MathSource #

Revision date


The notebook Anova.nb provides the functions to carryout a factorial analysis of variance following the procedures of the general linear model. Input data may have observations grouped within cells or ungrouped. Each cell must have at least one observation, but cell frequencies need not be equal. The user is given the option to remove interaction terms, plot 2D and 3D interactions, and to carryout user defined contrasts on the main effects. A general sum of squares table and a table for the terms of the model are provided with F tests of significance. To facilitate the analysis of anova designs having nested and random factors, the notebook MGems.nb is included. This notebook contains the Millman-Glass heuristic to calculate the symbolic representations of expected mean squares and the sources of variation. By restructuring the data of a nested design, and including one additional factor in a factorial design, and using the informatiion from MGems.nb, nested designs can be analyzed. Examples are given.

*Mathematics > Probability and Statistics

analysis of variance, general linear model
Related items

*Analysis of Covariance: Johnson-Neyman Procedure   [in MathSource: Packages and Programs]
*Analysis of Covariance: Johnson-Neyman Procedure; 3 Covariate Case   [in MathSource: Packages and Programs]
Downloads Download Wolfram CDF Player

Anova.nb (391.9 KB) - Mathematica Notebook
MGems.nb (88.4 KB) - Mathematica Notebook
readMe.nb (27.4 KB) - Mathematica Notebook

Files specific to Mathematica 2.2 version:
Download (95.5 KB) - Mathematica Notebook 2.2 or older