dunn.test: Dunn's Test of Multiple Comparisons Using Rank Sums

Computes Dunn's test (1964) for stochastic superiority and reports the results among multiple pairwise comparisons after a Kruskal-Wallis test for stochastic superiority among k groups (Kruskal and Wallis, 1952). 'dunn.test' makes k(k-1)/2 multiple pairwise comparisons based on Dunn's z-test-statistic approximations to the actual rank statistics. The null hypothesis for each pairwise comparison is that the probability of observing a randomly selected value from the first group that is larger than a randomly selected value from the second group equals one half; this null hypothesis corresponds to that of the Wilcoxon-Mann-Whitney rank-sum test. 'dunn.test' accounts for tied ranks.

Getting started

Package details

AuthorAlexis Dinno [aut, cre, cph] (ORCID: <https://orcid.org/0000-0003-2560-310X>)
MaintainerAlexis Dinno <alexis.dinno@pdx.edu>
LicenseGPL-2
Version1.4.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("dunn.test")

Try the dunn.test package in your browser

Any scripts or data that you put into this service are public.

dunn.test documentation built on June 5, 2026, 5:06 p.m.