We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 821994a commit aa09c83Copy full SHA for aa09c83
src/hist/intervals.py
@@ -117,8 +117,11 @@ def ratio_uncertainty(
117
num: Numerator or number of successes.
118
denom: Denominator or number of trials.
119
uncertainty_type: Coverage interval type to use in the calculation of
120
- the uncertainties.
121
- Default is ``"poisson"``.
+ the uncertainties.
+ ``"poisson"`` (default) implements the Poisson interval for the
122
+ numerator scaled by the denominator.
123
+ ``"poisson-ratio"`` implements the Clopper-Pearson interval for Poisson
124
+ distributed ``num`` and ``denom``.
125
126
Returns:
127
The uncertainties for the ratio.
0 commit comments