bayesplain.core.intervals.probability_from_draws¶ bayesplain.core.intervals.probability_from_draws(draws, op, value)[source]¶ Posterior probability that a quantity satisfies a comparison. Parameters:¶ draws : array_like¶Posterior draws. op : {'>', '>=', '<', '<=', 'between', 'outside'}¶Comparison to evaluate. value : float or tuple of float¶Threshold, or a (low, high) pair for 'between' and 'outside'. Returns:¶ The share of posterior probability satisfying the comparison. Return type:¶ float