[R] Kolmogorov-Smirnov test

rommel rmaneja at ifm-geomar.de
Fri Sep 23 15:51:15 CEST 2011


Dear Dr. Snow,

I would like to ask for help on my three questions regarding Kolmogorov
Smirnov test.

1. 
'With a sample size over 10,000 you will have power to detect differences
that are not practically meaningful. '
    -Is sample size of 3000 for each sample okay for using Kolmogorov
Smirnov test?

2. 
I am checking whether my KS procedure is correct. 
I have compared results of KS tests using the following 3 softwares:
1. Statistica
2. http://www.wessa.net/rwasp_Reddy-Moores%20K-S%20Test.wasp
3. http://www.physics.csbsju.edu/stats/KS-test.html


I have observed that the three softwares produced the same results only if
the samples sizes are equal. 
However, when samples are not equal, I did not get similar results
particularly from the wessa.net calculator.
Is it allowed to do a KS test to compare samples with unequal sizes?

3. 
Is it allowed to use the raw data values in doing KS test? Or should I use
the frequencies obtained from frequency distribution table of the raw data
from each sample?
I think that when I use the frequency, the KS test will construct new
cumulative fractions from the frequencies, which I think is not right. 

Hope you can assist me. Thanks!

-rommel
  


--
View this message in context: http://r.789695.n4.nabble.com/Kolmogorov-Smirnov-test-tp3479506p3836910.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list