scipy.stats.bartlett

scipy.stats.bartlett(*args)

Perform Bartlett’s test for equal variances

Bartlett’s test tests the null hypothesis that all input samples are from populations with equal variances. For samples from significantly non-normal populations, Levene’s test `levene`_ is more robust.

Parameters :

sample1, sample2,... : array_like

arrays of sample data. May be different lengths.

Returns :

T : float

the test statistic

p-value : float

the p-value of the test

References

[R44]http://www.itl.nist.gov/div898/handbook/eda/section3/eda357.htm
[R45]Snedecor, George W. and Cochran, William G. (1989), Statistical Methods, Eighth Edition, Iowa State University Press.

Previous topic

scipy.stats.ansari

Next topic

scipy.stats.levene

This Page