Function Anova-One-Way-Groups

Part of:

package cl-mathstats
( anova-one-way-groups < data > &optional < scheffe-tests-p > < confidence-intervals > )
Performs a one-way analysis of variance (ANOVA) on the `data,' which should be a sequence of sequences, where each interior sequence is the data for a particular group. Furthermore, each sequence should consist entirely of numbers, and each should have at least 2 elements. The significance of the result indicates that the group means are not all equal; that is, at least two of the groups have significantly different means. If there were only two groups, this would be semantically equivalent to an unmatched, two-tailed t-test, so you can think of the one-way ANOVA as a multi-group, two-tailed t-test. This function returns five values: 1. an ANOVA table; 2. a list a group means; 3. either a Scheffe table or nil depending on `scheffe-tests-p'; 4. an alternate value for SST; and 5. a list of confidence intervals in the form `(,mean ,lower ,upper) for each group, if `confidence-intervals' is a number between zero and one, giving the kind of confidence interval, such as 0.9. The fourth value is only interesting if you think there are numerical accuracy problems; it should be approximately equal to the SST value in the ANOVA table. This function differs from `anova-one-way-variables' only in its input representation. See the manual for more information.