## Documentation Center |

Empirical cumulative distribution function

`ecdf(___)`example`ecdf(ax,___)`

`[ f,x]
= ecdf(y)` returns the empirical cumulative
distribution function (cdf),

In survival and reliability analysis, this empirical cdf is called the Kaplan-Meier estimate. And the data might correspond to survival or failure times.

`[ f,x]
= ecdf(y,Name,Value)` returns
the empirical function values,

For example, you can specify the type of function to evaluate or which data is censored.

Was this topic helpful?