From owner-help-octave at bevo dot che dot wisc dot edu Thu May 15 05:43:54 1997 Subject: kolmogorov_smirnov_2 problem From: "Dr. G. Buerger" Cc: "Dr. G. Buerger" , help-octave@bevo.che.wisc.edu Date: Thu, 15 May 1997 12:42:29 +0100 Hi, 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? Gerd On the other hand, octave is great.