mqr.inference.mean.
test_paired#
- mqr.inference.mean.test_paired(x, y, alternative='two-sided', method='t')#
Hypothesis test for the difference between means of two paired samples.
- Null-hypothesis
mean(x) == mean(y)
- Parameters:
- x, yarray_like
Test the difference between means of these samples.
- alternative{‘two-sided’, ‘less’, ‘greater’}, optional
Sense of alternative hypothesis.
- method‘t’, optional
Only Student’s t is currently available. Calls
scipy..ttest_rel
.
- Returns: