Empirical (nonparametric) cummulative distribution function for given a random sample.
Usage
edf(xin, xout)
Arguments
xin
A vector of data points - the available sample.
xout
A vector of design points where the distribution function will be estimated.
Value
A vector with the estimated distribution function at xout.
Details
The empirical distribution function estimator at \(x\) is defined as the number of observations up to \(x\), divided by \(n\), i.e.
$$ F_{n}(x) = \frac{\# \{ X_{1},..,X_{n}\} \le x}{n}$$.