# Multiple Comparisons in Nonparametric Tests

I received received a question about controlling for inflated Type I error through Bonferroni corrections in nonparametric tests.  Here’s the specific question and my quick answer:

My colleague is applying non parametric (Kruskal-Wallis) to check for differences between groups. There are 12 groups and test showed that there is significant difference in the groups. However, to check which pair is significant is tedious and I’m not sure if there is comparable post-hoc test in non-parametric approach. Any resources available in hands?

Bonferroni correction is your only option when applying non-parametric statistics (that I’m aware of). Or, actually, any test other than ANOVA.

A Bonferroni correction is actually very simple.  Just take the number of comparisons you want to make, then multiply each p-value by that number.   If the calculated p-value is greater than 1, round to 1.0.

### Related Posts

1. Laurent says

You should also think of permutation approaches (and using the maximum statistic method (Holmes, 1996) to correct for multiple comparisons)

2. Mei says

Mann-Whitney test for between-groups comparisons with Bonferroni correction for multiple comparisons (altogether 10 comparisons). The p-value for first set of comparison (between 2 groups)is o.o64. Does this mean Bonferroni correction is 0.064 times 10 or 0.064 times 2?

Thanks

3. jigsaw says

Bonferroni correction is very conservative. The description indicated above is actually an approximation and not the Bonferroni correction. You can use other corrections. Note that a p correction is an adjustment that is done to the independent tests so the global confidence is maintained. Once one assumes the n tests are independent, the global confidence will be given by (1-significance of independent tests)^n. So the significance of independent tests is adjusted in a way that the global confidence is not heavily affected. Bonferroni correction is the simplest and most conservative one which means that you may encounter significant diferences using a K-W test and not find any significant differences among pairs using independent tests. There are other, more forgiving, corrections such as Holmes correction which is used very commonly.

4. Theodore says

A simple approach could be:
1) Kruskal – Wallis non-parametric test and if there is statistical significance then proceed to
2) Mann-Whitney test for between-groups comparisons with Bonferroni correction for multpiple comparisons

5. dr Jeckyll says

If you want to know differences between pairs, you could do Mann-Whitney U tests for each pair or test for correlations using a spearman rho for instance. The correction for multiple comparisons should be applied on results for those tests especially if you haven’t predefined hypotheses.

Please note that, due to the large number of comments submitted, any questions on problems related to a personal study/project will not be answered. We suggest joining Statistically Speaking, where you have access to a private forum and more resources 24/7.