uvex_transients.utils.stat_utils#
Reusable statistical operations.
Exact binomial confidence intervals, distribution-free tolerance limits, a logit transform of binomial counts, and propagation of fractional errors. Everything here is a plain function of arrays and numbers.
Functions
|
Histogram samples into counts and a probability density, with a confidence interval on each bin. |
|
Transform binomial counts to the logit scale, with the variance of the transformed value. |
|
Compute the exact (Clopper-Pearson) confidence interval on a binomial proportion. |
|
Combine the fractional errors of independent factors of a product. |
|
Convert an asymmetric confidence interval to fractional errors. |
|
Convert a fractional error of a positive quantity to multiplicative bounds on it. |
|
Compute a distribution-free upper tolerance limit from a sample. |
|
Find the fewest samples for which the sample maximum is a valid upper tolerance limit. |
|
Find the rank of the sample value that is the tightest valid upper tolerance limit (Wilks 1941). |