Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Empirical cumulative distribution function

```
[f,x]
= ecdf(y)
```

```
[f,x]
= ecdf(y,Name,Value)
```

```
[f,x,flo,fup]
= ecdf(___)
```

`ecdf(___)`

`ecdf(ax,___)`

`[`

returns
the empirical function values, `f`

,`x`

]
= ecdf(`y`

,`Name,Value`

)`f`

, evaluated at
the points in `x`

, with additional options specified
by one or more `Name,Value`

pair arguments.

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

Was this topic helpful?