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.
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
OK... problem solved. The values can easily be calculated, as long as there are 'enough' d.f. (for 0.05: 1.36/sqrt(d.f.)) Kurt. -- Mail from Kurt Sys sent on Thursday May 15 2003 at 12:32 (GMT+0200):> 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.-- Prediction is very difficult, especially of the future. -- Niels Bohr