kolmogorov_smirnov_2 problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

kolmogorov_smirnov_2 problem

Dr. G. Buerger-2

the following line (68) of the abovementioned code is obviously wrong

count (find (i <= n_x)) = ones (1, n_x) / n_x;

giving an error message

error: A(I) = X: X must be a scalar or a matrix with the same size as I

BTW, the sort/count statistic is somewhat different from what I know about the
KS test from the literature, which estimates the difference of the 2 cdf's. Is
there a reason for doing so?


On the other hand, octave is great.