[R] kolmogorov-smirnov

Spencer Graves spencer.graves at pdf.com
Thu May 15 15:19:18 CEST 2003


Have you considered the following:

 > ks.test(1:5, "pnorm")$p.value
[1] 0.001685888

hth.  spencer graves

Kurt Sys wrote:
> Hello,
> 
> I got a rather simple question: Can I find somewhere in R the
> significance values for a Kolmogorov distribution (I know the degrees
> of freedom and I have already the maximum deviation). ks.test is not
> really doing what I want. All I need is the values, like one can get
> the values for a chi-squared distribution by 'qchisq(0.05, 375)'.
> 
> tnx,
> Kurt.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list