[R] Glitch in Kruskal-Wallis test?
Michael Dewey
li@t@ @ending from dewey@myzen@co@uk
Sat Dec 22 13:38:46 CET 2018
Dear Jenny
What exactly do you think you are testing here? You are telling K-W you
have seven groups each with a single value which is not the usual
situation for K-W.
Michael
On 22/12/2018 04:58, Jenny Liu wrote:
> 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
>
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>
--
Michael
http://www.dewey.myzen.co.uk/home.html
More information about the R-help
mailing list