statsmodels.miscmodels.ordinal_model.OrderedModel.prob

OrderedModel.prob(low, upp)[source]

Interval probability.

Probability that value is in interval (low, upp], computed as

prob = cdf(upp) - cdf(low)

Parameters:
lowarray_like

lower bound for interval

upparray_like

upper bound for interval

Returns:
float or ndarray

Probability that value falls in interval (low, upp]