mqr.inference.stddev.
test_2sample#
- mqr.inference.stddev.test_2sample(x, y, alternative='two-sided')#
Hypothesis test for the ratio of variances of two samples.
- Null hypothesis
var(x) / var(y) == 1
- Parameters:
- x, yarray_like
Test ratio of variances of these two samples.
- alternative{‘two-sided’, ‘less’, ‘greater’}, optional
Sense of alternative hypothesis.
- method{‘f’, ‘bartlett’}, optional
- ‘f’F-test on variances applied to the squares of sample standard deviations.‘bartlett’Bartlett’s test. Calls
scipy..bartlett
.
- Returns: