ECDF#

final class relife.lifetime_models.ECDF(time)[source]#

Empirical Cumulative Distribution Function.

Parameters:
timendarray

Observed lifetime values.

Methods

cdf

The estimation of the cumulative distribution function.

plot

sf

The estimation of the survival function.

cdf()[source]#

The estimation of the cumulative distribution function.

Returns:
outtuple of 3 1darray

A tuple containing the timeline, the estimated values and the estimated standard errors.

sf()[source]#

The estimation of the survival function.

Returns:
outtuple of 3 1darray

A tuple containing the timeline, the estimated values and the estimated standard errors.