Documentation Center    • Trial Software   • Product Updates
One-way analysis of variance   p = anova1(X) p = anova1(X,group)
p = anova1(X,group,displayopt) [p,table] = anova1(...)
[p,table,stats] = anova1(...)   p = anova1(X) performs balanced
one-way ANOVA for comparing the means of two or more columns of
data in the matrix X, where each column represents an
independent sample containing mutually independent observations.
The function returns the p-value under the null hypothesis that
all samples in X are drawn from populations with the same mean.
If p is near zero, it casts doubt on the null hypothesis and
suggests that at least one sample mean is significantly
different than the other sample means. Common significance
levels are 0.05 or 0.01.  The anova1 function displays two
figures, the standard ANOVA table and a box plot of the columns
of X.  The standard ANOVA table divides the variability of the
data into two parts:    • Variability due to the differences
among the column means (variability betwee