[R] P-value

Chung-hong Chan chainsawtiney at gmail.com
Wed Oct 3 11:42:35 CEST 2007


ks.test(x,y)[2]

On 10/3/07, Emre Unal <emre.unal at gmail.com> wrote:
> How can i print only the P-Value of the kolmogorov smirnov test?
>
>
> > ks.test(VeriSeti1, VeriSeti2)
>
>         Two-sample Kolmogorov-Smirnov test
>
> data:  VeriSeti1 and VeriSeti2
> D = 0.5, p-value = 0.4413
> alternative hypothesis: two-sided
>
>
> This expression gives me the whole test results, i need only the p-value =
> 0.4413.
>
> Thanks for your concern and help
>
> Emre UNAL
> Statistician
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>


-- 
CH Chan
Research Assistant - KWH
http://www.macgrass.com



More information about the R-help mailing list