help-octave
[Top][All Lists]
Advanced

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

Re: kolmogorov-Smirnov once again


From: Michael Creel
Subject: Re: kolmogorov-Smirnov once again
Date: Wed, 29 Sep 2004 09:52:40 +0200
User-agent: KMail/1.7

This appears to be a problem that has been fixed recently. I get an error 
(different from yours) when using Octave 2.1.58, but with 2.1.60 all is well.
Michael

On Tuesday 28 September 2004 15:37, 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]