mqr.inference.variance.

confint_1sample#

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

Confidence interval for the variance of a sample.

Parameters:
xarray_like

Calcaulate interval for the variance of this sample.

conffloat, optional

Confidence level that determines the width of the interval.

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

Which sides of the interval to close.

method{‘chi2’}, optional

Only ‘chi2’ for an exact interval based on the chi-squared distribution.

Returns:
mqr.inference.confint.ConfidenceInterval