[R] How to calculate p-value for Kolmogorov Smirnov test statistics?

David Winsemius dwinsemius at comcast.net
Wed Jan 26 18:53:19 CET 2011


The answers to these questions can be found either by looking at the  
code or by reviewing what has been said about this in prior postings  
to R-help.

-- 
David.

On Jan 26, 2011, at 10:40 AM, saray wrote:

>
> Although I saw this issue being discussed many times before, I still
> did not find the answer to:
> why does R can not calculate p-values for data with ties (i.e. -
> sample with two or more values the same)?
>
> Can anyone elaborate some details about how does R calculate the p-
> values for the Kolmogorov Smirnov test statistics?
>
> I can understand the theoretical problem that continuous distributions
> do not generate ties, but again - why isn't it possible to calculate
> accurate p-values with ties? how does it work? what is the procedure
> to calculate p-values for the Kolmogorov Smirnov test statistics?
>
> Thank you advance,
> Saray
> -- 
> View this message in context: http://r.789695.n4.nabble.com/How-to-calculate-p-value-for-Kolmogorov-Smirnov-test-statistics-tp3238293p3238293.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list