wald_weighted_unc

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

Calculate the symmetric Wald uncertainty for a weighted sample, where “k” is the array of weights in the survival sample and “N” in the main sample.

Parameters
Returns

symmetric uncertainty.

Return type

float or numpy.ndarray(float)