rv_continuous.interval(alpha, *args, **kwds)

Confidence interval with equal areas around the median

Parameters :

alpha : array-like float in [0,1]

Probability that an rv will be drawn from the returned range

arg1, arg2, ... : array-like

The shape parameter(s) for the distribution (see docstring of the instance object for more information)

loc: array-like, optioal :

location parameter (deafult = 0)

scale : array-like, optional

scale paramter (default = 1)

Returns :

a, b: array-like (float) :

end-points of range that contain alpha % of the rvs

This Page