clopper_pearson_int

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

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

Parameters
Returns

Lower and upper bounds for the probability.

Return type

float or numpy.ndarray(float)