Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HELP with R Statistics and Kolmogorov Test

14 views
Skip to first unread message

Ricardo Otero

unread,
Jan 10, 2013, 5:11:48 PM1/10/13
to
Hi,

Some days ago i tried to do a KSTest on R, but i didn't get the answer that i needed. In Fact i didn't understand why this test gives me the same P-value for a True or False Hypotesis.

I tried with an Normal distribution testing a normal distribution, and i tried a Uniform distribution testing a normal distribution. So in this case the First test should had accepted the hipotesys, but not the second.

And the outcome was the same (Not the KS statisctic, but the P-value: 2.3e-9).

Can you give me any advice or explanations?.

Thanks in advance





Ray Koopman

unread,
Jan 11, 2013, 3:00:24 AM1/11/13
to

Bruce Weaver

unread,
Jan 11, 2013, 8:56:05 AM1/11/13
to
Various R-Help fora are also available via Nabble:

http://r.789695.n4.nabble.com/

--
Bruce Weaver
bwe...@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/Home
"When all else fails, RTFM."

Rich Ulrich

unread,
Jan 11, 2013, 1:05:42 PM1/11/13
to
If the same p-value of 2.3e-9 is given for different values
of the statistic, my first guess would be that the author
(or his p-value routine) decided to stick in that minimum
value.


But if you are getting that for when the null is true, then
either you have put in your data wrong or maybe your
version of the program is corrupted. - It is conceivable
that a bad version of an R program could be offered for
downloading for a short period, but I would expect that
to be fixed quickly. So a new download might work,
whether your version was corrupt originally or not until
later.

--
Rich Ulrich
0 new messages