help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kolmogorov-Smirnov once again


From: Quentin Spencer
Subject: Re: kolmogorov-Smirnov once again
Date: Wed, 29 Sep 2004 13:06:33 +0000
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

I also tried this on version 2.1.60 and it appears to work properly. If you're interested, I have put a newly updated set of binaries for octave and related programs compiled on Fedora Core 2 at http://www.ee.byu.edu/~qhs/octave/ . The progess of octave in the last two years has been such that the versions included with releases such as Fedora tend to get outdated quickly. It appears the upcoming Fedora Core 3 will include version 2.1.57.

Regards,
Quentin



Toke Reichstein wrote:

Hi,

I seem to have a problem with the kolmogorov smirnov test (both the one sample and two sample test). As nobody else have posted any problems with this by now old routine, I guess it is a local problem and not a bug in Octave. That is why I am posting my question to this list.

I use Fedora Core 2 with the latest updates. Octave is version 2.1.50 (i686-pc-linux-gnu). If I for instance submit this in Octave (ng is a vector of data, m_ng is the mean and v_ng the variance of the data all defined):

[pval_ng, ks_ng] = kolmogorov_smirnov_test(ng, "normal", m_ng, v_ng)

I get the following output (the line is in line 93 of my program as you can see):

error: octave_base_value::char_matrix_value(): wrong type argument `function handle'
error: evaluating argument list element number 1
error: evaluating argument list element number 1
error: evaluating assignment expression near line 81, column 7
error: evaluating if command near line 69, column 3
error: called from `kolmogorov_smirnov_test' in file `/usr/share/octave/2.1.50/m/statistics/tests/kolmogorov_smirnov_test.m'
error: near line 93 of file `/home/tr/data/p_stat.m'

I have earlier used the routine without problems. But that was on a RedHat system before they changed it into the Fedora project. I realize that it refers to the kolmogorov smirnov file in the /usr/share/octave/2.1.50/m/statistics/tests/ directory. I have been looking at this file. But I see no errors in the lines referred to. And I would be surprised if the error was there. Did anybody else have a similar problem? I would be greatful for any ideas of how to get by this problem.

thanks,

Toke



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------





-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]