ecdf

Implements the empirical cumulative distribution function given an array of observations.

class quantecon.ecdf.ECDF(observations)[source]

Bases: object

One-dimensional empirical distribution function given a vector of observations.

Parameters:
observations : array_like

An array of observations

Attributes:
observations : see Parameters

Methods

__call__(x) Evaluates the ecdf at x