ECDF#

final class relife.lifetime_models.ECDF[source]#

Empirical Cumulative Distribution Function.

Methods

cdf

The estimation of the cumulative distribution function.

fit

Compute the non-parametric estimations with respect to lifetime data.

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.

fit(time)[source]#

Compute the non-parametric estimations with respect to lifetime data.

Parameters:
time1darray

Observed lifetime values.

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.