clopper_pearson_unc

hep_spt.clopper_pearson_unc(k, N, cl=0.6826894921370859)[source]

Return the frequentist Clopper-Pearson uncertainties of having “k” events in “N”.

Parameters
Returns

Lower and upper uncertainties for the probability.

Return type

float or numpy.ndarray(float)