[R] Problem with Kruskal–Wallis test

John jwd @ending from @urewe@t@net
Thu Dec 27 06:32:40 CET 2018


On Fri, 21 Dec 2018 16:37:54 +0100
Giuseppe Cillis <giucillis using gmail.com> wrote:

> Dear all,
> I am a beginner with R (and also with the statistics) for which I
> hope to be clear.
> I should do this non-parametric test on data I extracted from maps.
> In practice I have a column that represents the landscape Dynamics of
> a certain time period (there are 3 dynamics, each of them marked by
> the number 1, 2 or 3) and the other column with the values of a
> topographic variable (for example the slope) . In all, there are more
> than 90,000 pairs of values.
> Going to do the test in R, for all the dynamics and for all the
> variables, I get out of the values of chi-square elevated (even in
> the order of thousands) and a p-value always <2.2e-16 .... why? Where
> can the error be? in the script or in the test approach?
> Thanks in advance
> 
Your question and your problem is not about R, but rather about why your
results do not match your expectations.  There are a lot of questions
you should be considering like, why use Kruskal-Wallis, before you even
start wondering about R?  

JWDougherty



More information about the R-help mailing list