macroeco.empirical.empirical_cdf

macroeco.empirical.empirical_cdf(data)

Generates an empirical cdf from data

Parameters:

data : iterable

Empirical data

Returns:

DataFrame :

Columns ‘data’ and ‘ecdf’. ‘data’ contains ordered data and ‘ecdf’ contains the corresponding ecdf values for the data.