'Evaluates the ecdf at x
Parameters
x : scalar(float)
The x at which the ecdf is evaluated
Returns
scalar(float)
Fraction of the sample less than x'

def __call__(self, x):

    return np.mean((self.observations <= x))
