[R] kruskal test p value way too low.

David Doyle kydaviddoyle at gmail.com
Sun Oct 26 04:40:15 CET 2014


Hello,

I'm trying to run kruskal test on some data but the p values seemed way too
low.  So I tried it on some similar data and still got p-value =
1.611e-09.  I'm sure it is a simple mistake but I can't figure it out.

Below is my data and code.  Could it be because there are some miss data /
NAs in the data set??  If so, could some one point me towards a solution??

Thank you for your time.
David

mydata <-read.csv("http://doylesdartden.com/R/test.csv", sep=",")
kruskal.test(mydata, AMMONIA~Well)

        Kruskal-Wallis rank sum test

data:  mydata
Kruskal-Wallis chi-squared = 36.3952, df = 1, p-value = 1.611e-09

	[[alternative HTML version deleted]]



More information about the R-help mailing list