generate a one-way ANOVA table - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Statistics : Statistics Package : Regression : Statistics/OneWayANOVA

Statistics[OneWayANOVA] - generate a one-way ANOVA table

Calling Sequence





list(Vector) or Matrix; observations



The OneWayANOVA command generates a Matrix that represents the standard analysis-of-variance (ANOVA) table for a one-way classification. Suppose one performs experiments varying only one factor.  Each value of the factor results in one group of observations.  The ANOVA table generated by analyzing all the observations can help in determining whether changing the factor has any significant influence.


The parameter X is a list of Vectors, each containing the observations for a single group.  If each group contains the same number of observations, then X can be a Matrix in which each column contains observations for one group. The data sets for the groups can also be supplied as lists; see the Input Forms help page for more details.


The OneWayANOVA command returns a Matrix with 3 rows and 5 columns. The first row contains variance between groups, the second contains variance within groups and the third contains total variance.


The first column of the ANOVA table contains the degrees of freedom for each source of variance, the second column contains the sum of squares, and the third contains the mean square.  The final two columns show the F-statistic (ratio of the mean squares) and the p-value for the null hypothesis that there is no difference between means of the groups.



Consider three groups of observations.




Generate the one-way ANOVA table.




When all groups have equal numbers of observations, the observations can be placed in a Matrix.





See Also

Statistics, Statistics/Regression, Statistics/Regression/InputForms



Draper, Norman R., and Smith, Harry. Applied Regression Analysis. 3rd ed. New York: Wiley, 1998.

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam