scipy.stats.rv_continuous.interval#
- rv_continuous.interval(confidence=None, *args, **kwds)[source]#
Confidence interval with equal areas around the median.
Deprecated since version 1.9.0: Parameter
alpha
is replaced by parameter confidence to avoid name collisions with the shape parameteralpha
of some distributions. Parameteralpha
will be removed in SciPy 1.11.0.- Parameters
- confidencearray_like of float
Probability that an rv will be drawn from the returned range. Each value should be in the range [0, 1].
- arg1, arg2, …array_like
The shape parameter(s) for the distribution (see docstring of the instance object for more information).
- locarray_like, optional
location parameter, Default is 0.
- scalearray_like, optional
scale parameter, Default is 1.
- Returns
- a, bndarray of float
end-points of range that contain
100 * alpha %
of the rv’s possible values.