mqr.inference.nonparametric.quantile.

confint_1sample#

mqr.inference.nonparametric.quantile.confint_1sample(x, q=0.5, conf=0.95, bounded='both')#

Confidence interval for the quantile of a sample.

Calls scipy.

Parameters:
xarray_like

Calculate the confidence interval for the quantile of this sample.

qfloat, optional

Calculate the interval around this quantile.

conffloat, optional

Confidence level that determines the width of the interval.

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

Which sides of the interval to close.

Returns:
mqr.inference.confint.ConfidenceInterval