The Kruskal–Wallis one-way analysis of variance by ranks is a non-parametric method for testing whether samples originate from the same distribution. It is used for comparing more than two samples that are independent, or not related.
Questions tagged [kruskal-wallis]
102 questions
0
votes
1 answer
Kruskal-Wallis Test on R with ajusted p-value
I am performing a Kruskal-Wallis test on my dataset and I am trying to adjust the p-value but it does not seem to work, here is my code:
> kruskal.test(df$Folate_biosynthesis, df$Group, p.adj="holm")
Kruskal-Wallis rank sum test
data: …

Dr.PhilCol
- 21
- 5
0
votes
0 answers
Kruskal.test in R
I'm using kruskal.test in R. The problem I'm having is that I wanted to find p-values for each categorical variable (ie. gender, separated by female and male).
If I have data:
Type month ethnicity length age sex
A 1 White 20 35 F
B …

Sun
- 157
- 11
0
votes
2 answers
Kruskal Wallis Test and subsetting
Are you please able to assist in performing a Krustal Wallis test using a subset of my data? I would like to be able to test for differences in "N" between "Producers".
names(Isotope.Data)
[1] "Species" "Name" "Group" …

Greeny
- 7
- 6
0
votes
0 answers
How do I perform p-value correction for kruskal-wallis testing with Scipy?
I saw that scipy.stats.mstats.kruskalwallis returns only,
1. statistic
2. pvalue
How do I extract pvalues for correction?
Or, is there any other ways I can perform k-w testing and correction, with python?

user6185951
- 41
- 4
0
votes
1 answer
Statistical tests to data organized by weekdays
I have data where there are numeric values (can be 0 also)for corresponding weekdays (1=monday, 2=tuesday, 7=sunday etc). I want to find out if my values (say, for temperature for example) depends on a weekday (like bigger values on mondays and…

praseodyymi
- 37
- 6
0
votes
0 answers
Kruskill-wallis not in a matrix
I'm fairly new to R and am having a few issues with my research.
I need to compare ranked data but am a little stuck.
So, i asked a group of volunteers to rank 10 images on a scale of 1-10 (corresponding to light to dark), I then ran a computer…
user6002417
0
votes
1 answer
Run Kruskal-Wallis on all columns vs. one column
I have a matrix of values and I have 4 groups. I want to test for significance of each column between the 4 groups and get the p.values.
gene1 gene2 gene3 gene4 gene5 gene6 tissue
6194.015 12538.513 …

Nev
- 117
- 9
0
votes
1 answer
Pairwise Test for Multiple comparisons (Nemenyi Test) in R
I am using the package PMCMR to perform a postdoc Kruskal-Nemenyi test.
When I run the test with the default settings:
posthoc.kruskal.nemenyi.test(x=coastal$HIGH_MORTGAGE, g=coastal$SIZECLASS, method="Tukey")
I get the following results and…

Cecilia
- 1
- 1
- 2
0
votes
1 answer
R pgirmess alternative for kruskalmc with Kruskal-Wallis rank sum test
I'm trying to run the krushkalmc method after running kruskal.test as part of my analysis with the Kruskal-Wallis rank sum test.
However, I've run into difficulties trying to install the pgirmess package that contains krushkalmc.
trying to install…

Jazzmine
- 1,837
- 8
- 36
- 54
0
votes
2 answers
Show Kruskal-Wallis test ranks
I performed a kruskal wallis test on multi-treatment data where I compared five different methods.
A friend showed me the calculation in spss and the results included the mean ranks of each method.
In R, I only get the chi2 and df value and p-value…

berrrt
- 23
- 7
0
votes
1 answer
Found the significance of chi square in R
I need to extract/copy in a variable the significance (p-value) of the Kruskal-Wallis chi square from the dunn.test function of the dunn.test package, but it is not returned. The question is: if I have the chi square and the related degree of…

Yurié
- 2,148
- 3
- 23
- 40
-1
votes
1 answer
how to do kruskal-wallis test with variables that are not exact (< or >) in R
I have three groups on which I have performed a Kruskal-Wallis test in R. The data is as follows
A = c(178.53, 226.87,219.78)
B = c(<16.00, <16.00, <16.00)
C = c(<16.00, <16.00, <16.00)
dat = list(g1=A, g2=B, g3=C)
kruskal.test(dat)
I am…

Musa Gabere
- 553
- 1
- 5
- 8