wald_weighted_int

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

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

Parameters
Returns

Lower and upper bounds for the probability.

Return type

float or numpy.ndarray(float)