[R] Glitch in Kruskal-Wallis test?

Jenny Liu jenny@liu00 @ending from gm@il@com
Sat Dec 22 05:58:56 CET 2018


Hi everyone,
I have been running a K-W test with the attached data, PupMort1. My code:
kruskal.test(Prop~Temp,data=PupMort1)
However, I found that I get the exact same result when I change the x-values, as
in the attached data PupMort2.
Test run with PupMort1Kruskal-Wallis rank sum testdata:  Prop by Temp
Kruskal-Wallis chi-squared = 6, df = 6, p-value = 0.4232
Test run with PupMort2Kruskal-Wallis rank sum testdata:  Prop by Temp
Kruskal-Wallis chi-squared = 6, df = 6, p-value = 0.4232
Does anybody know why this is happening?
Thank you!
Jenny
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PupMort1.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20181222/10ab57ac/attachment.txt>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PupMort2.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20181222/10ab57ac/attachment-0001.txt>


More information about the R-help mailing list