help-octave
[Top][All Lists]
Advanced

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

Re: kolmogorov_smirnov_test


From: Matt Foster
Subject: Re: kolmogorov_smirnov_test
Date: Tue, 10 Jun 2008 17:06:01 +0100

On Tue, Jun 10, 2008 at 4:42 PM, DimitryASuplatov <address@hidden> wrote:
Hello,
I have 100000 values that are most likely normally distributed. Values
are written in one column in a file. I run
rndnorm=load <file>
kolmogorov_smirnov_test(rndnorm, "normal", 0.47977, 0.34159)

Octave responds with this:

pval: 0
ans = 0

Even though pval = 0 is what I expected, ans=0 suggests that I am doing
something wrong.

Any suggestions?

Thanks.

Hi,

It looks to me like you're just not assigning the output, so it's being written to ans.

try something like:

pval = kolmogorov_smirnov_test(...)

and you should get what you expect. The "pval: 0" is printed from within the function.

Hope this helps,

Matt

--
Matt Foster | http://my-mili.eu/matt
reply via email to

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