scipy.stats.mstats.

obrientransform#

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

Computes a transform on input data (any number of columns). Used to test for homogeneity of variance prior to running one-way stats. Each array in *args is one level of a factor. If an f_oneway() run on the transformed data and found significant, variances are unequal. From Maxwell and Delaney, p.112.

Returns: transformed data for use in an ANOVA

Deprecated since version 2.0.0: scipy.stats.mstats.obrientransform 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.obrientransform with regular NumPy array(s), replacing masked values with NaNs and using the nan_policy=’omit’ option.