csep.utils.stats.ecdf

csep.utils.stats.ecdf(x)[source]

Compute the ecdf of vector x. This does not contain zero, should be equal to 1 in the last value to satisfy F(x) == P(X ≤ x).

Parameters:

x (numpy.array) – vector of values

Returns:

xs (numpy.array), ys (numpy.array)