stats[anova][oneway]  analysis of variance, one way

Calling Sequence


anova[oneway](data)


Parameters


data



list of list of statistical data





Description


•

Suppose that one performs experiments varying only one factor. For each value of the factor, one repeats the experiment many times. Such experiments are known both as oneway classifications and as onefactor experiments.

•

The anova[oneway] command is used to test whether changing the factor has any significant influence, or whether the apparent change could have just as well been due to random fluctuations. Each value of the factor gives rise to one treatment. Each treatment is repeated (or replicated) and the results are put in a list. The data required by anova[oneway] is then a list of all those lists.

•

The anova[oneway] command allows each treatment to have different number of replications.

•

The result of anova[oneway] comprises two elements: the variance part and the variance ratio parts. The presentation models the usual analysis of variance tables and the elements are presented in a way that is similar between oneway, twoway, and twowayreplicated.

•

For oneway, the variance part is further subdivided into three subparts: the variance between treatments, the variance within treatments and the total variance. Each of those are lists of three elements (two for total variance): the degree of freedom associated to this element, the variation in this element and the mean square of this element (mean square is not used for the total variance).

•

For oneway, the variance ratio part has only one ratio. It has four components: two degrees of freedom, the ratio and the probability value. This ratio follows an Fratio statistic with the two given degrees of freedom. It allows us to test the null hypothesis (that the means of each treatment are equal) using a onetailed test of the Fratio distribution.



Examples


Important: The stats package has been deprecated. Use the superseding command Statistics[OneWayANOVA] instead.
>


>


>


 (1) 
Three of the measures have the same value
>


 (2) 
One bad measure
>


 (3) 
>


 (4) 
>


 (5) 
The Fratio is 68/715 with 2 and 8 degrees of freedom.
>


 (6) 
the level of significance is measured with
>


 (7) 
Since this is much smaller than 0.95, we conclude that there is no significance to the differences in means:
>


 (8) 
>


 (9) 
Now we change the treatment results to yield
>


>


 (10) 
The difference between
>


 (11) 
>


 (12) 
is significant at the 0.05 level (since 0.976>0.95) but not at the 0.01 level (since 0.976<0.99).


Download Help Document
Was this information helpful?