mqr.inference.mean.
confint_paired#
- mqr.inference.mean.confint_paired(x, y, conf=0.95, bounded='both', method='t')#
Confidence interval for difference of two paired means.
- Parameters:
- x, yarray_like
Calculate interval for difference between means of these samples.
- conffloat, optional
Confidence level that determines the width of the interval.
- bounded{‘two-sided’, ‘less’, ‘greater’}, optional
Which sides of the interval to close.
- method{‘t’, ‘z’}, optional
- ‘t’Interval based on Student’s t distribution. Calls
sm..tconfint_mean
.‘z’Interval based on z-score. Callssm..zconfint_mean
.
- Returns: