- one-way-anova-on-sequences groupsprocedure
As one-way-anova, but groups holds the samples themselves. A group may hold a single value; no group may be empty. The example uses the PlantGrowth data set of R and gives the same result as aov there.
> (define ctrl '(4.17 5.58 5.18 6.11 4.50 4.61 5.17 4.53 5.33 5.14)) > (define trt1 '(4.81 4.17 4.41 3.59 5.87 3.83 6.03 4.89 4.32 4.69)) > (define trt2 '(6.31 5.12 5.54 5.50 5.37 5.29 4.92 6.15 5.80 5.26)) > (one-way-anova-on-sequences (list ctrl trt1 trt2)) 4.84608786238014 0.0159099583059651 2 27