mqr.inference.mean.

confint_1sample#

mqr.inference.mean.confint_1sample(x, conf=0.95, bounded='both', method='t')#

Confidence interval for mean.

Parameters:
xarray_like

Interval for the mean of the population from which this data was sampled.

conffloat, optional

Confidence level that determines the width of the interval.

bounded{‘both’, ‘below’, ‘above’}, optional

Which sides of the interval to close.

method{‘t’, ‘z’}, optional
‘t’
Interval from Student’s t distribution. Calls sm..tconfint_mean.
‘z’
Interval from the z-scores. Calls sm..zconfint_mean.
Returns:
mqr.inference.confint.ConfidenceInterval