scipy.stats.mood¶
- scipy.stats.mood(x, y)[source]¶
Perform Mood’s test for equal scale parameters.
Mood’s two-sample test for scale parameters is a non-parametric test for the null hypothesis that two samples are drawn from the same distribution with the same scale parameter.
Parameters : x, y : array_like
Arrays of sample data.
Returns : z : float
The z-score for the hypothesis test.
p-value : float
The p-value for the hypothesis test.
See also
Notes
The data are assumed to be drawn from probability distributions f(x) and f(x/s)/s respectively, for some probability density function f. The null hypothesis is that s = 1.
