mqr.inference.nonparametric.variance.

test_nsample#

mqr.inference.nonparametric.variance.test_nsample(*x, alternative='two-sided', method='levene')#

Hypothesis test for homogeneity of variances of multiple samples.

Null hypothesis

var(x[i]) == var(x[j]), for all i, j

Parameters:
xarray_like

Test equality of variances of these samples.

alternative{‘two-sided’}, optional

Sense of alternative hypothesis. Only ‘two-sided’ is currently supported.

method{‘levene’, ‘fligner-killeen’}, optional
‘levene’
Levene’s test for homogeneity of variance. Calls scipy..levene.
‘fligner-killeen’
Fligner-Killeen test for homogeneity of variance. Calls scipy..fligner.
Returns:
mqr.inference.hyptest.HypothesisTest