Chris Beaumont's IDL Library

Download source code

single page | use frames     summary     class     fields     routine details     file attributes

./

edf.pro

topedf

Statistics

edf, data, x, y [, plot=plot] [, _extra=_extra]

This procedure calculates the empirical distribution function (edf) of a set of data, evaluated at each input data point. The edf is the empirical equivalent of the cumulative distribution function.

Parameters

data in required

A vector of data values

x required

On output, the variable holds the values of data, in numerical order

y required

On output, the variable holds a vector. y[i] = Fraction(data < x)

Keywords

plot in optional

Set to plot the results.

_extra in optional

Any extra kewyord passed to edf is forwarded to PLOT

File attributes

Modifcation date: Mon Mar 22 16:17:13 2010
Lines: 55