scipy.stats.mstats.

f_oneway#

scipy.stats.mstats.f_oneway(*args)[source]#

Performs a 1-way ANOVA, returning an F-value and probability given any number of groups. From Heiman, pp.394-7.

Usage: f_oneway(*args), where *args is 2 or more arrays, one per treatment group.

Deprecated since version 2.0.0: scipy.stats.mstats.f_oneway is deprecated as of SciPy 2.0.0 and will be removed, along with the scipy.stats.mstats namespace, in SciPy 2.4.0. For similar functionality, use scipy.stats.f_oneway with MArray(s) instead of NumPy masked array(s).

Returns:
statisticfloat

The computed F-value of the test.

pvaluefloat

The associated p-value from the F-distribution.

Notes

Array API Standard Support

f_oneway is not in-scope for support of Python Array API Standard compatible backends other than NumPy.

See Support for the array API standard for more information.