I want to know if there is a better, more accurate ECDF in python (for a single vector) or in general to use than mine. this is my current -
x = np.sort(X)
y = np.arange(1, len(x) + 1) / float(len(x))
I want to know if there is a better, more accurate ECDF in python (for a single vector) or in general to use than mine. this is my current -
x = np.sort(X)
y = np.arange(1, len(x) + 1) / float(len(x))