This Page

stac.parametric_tests.anova_test

stac.parametric_tests.anova_test(*args)[source]

Performs a 1-way ANOVA. Tests the hypothesis that in a set of k independent samples groups (where k >= 2) at least two of the groups represent populations with different mean values.

Parameters:

sample1, sample2, ... : array_like

The sample measurements for each group.

Returns:

F-value : float

The computed F-value of the test.

p-value : float

The associated p-value from the F-distribution.

pivots : array_like

The pivotal quantities for each group.

References

D.J. Sheskin, Handbook of parametric and nonparametric statistical procedures. crc Press, 2003, Test 21: The Single-Factor Between-Subjects Analysis of Variance