Skip to content

dunn.test

Dunn's Test of Multiple Comparisons Using Rank Sums

v1.3.7 · Feb 12, 2026 · GPL-2

Description

Computes Dunn's test (1964) for stochastic dominance and reports the results among multiple pairwise comparisons after a Kruskal-Wallis test for 0th-order stochastic dominance 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. Like the rank-sum test, if the data can be assumed to be continuous, and the distributions are assumed identical except for a difference in location, Dunn's test may be understood as a test for median difference and for mean difference. 'dunn.test' accounts for tied ranks.

Downloads

23.8K

Last 30 days

759th

64.5K

Last 90 days

260.5K

Last year

Trend: +4.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (9)

suggests

Dependency Network

Dependencies Reverse dependencies rlang AgroR CleaningValidation FSA MultBiplotR Orangutan deepSTRAPP multiclassPairs visxhclust colleyRstats dunn.test

Version History

new 1.3.7 Mar 10, 2026
updated 1.3.7 ← 1.3.6 diff Feb 12, 2026
updated 1.3.6 ← 1.3.5 diff Apr 11, 2024
updated 1.3.5 ← 1.3.4 diff Oct 26, 2017
updated 1.3.4 ← 1.3.3 diff Apr 1, 2017
updated 1.3.3 ← 1.3.2 diff Feb 8, 2017
updated 1.3.2 ← 1.3.1 diff Jan 5, 2016
updated 1.3.1 ← 1.3.0 diff Oct 7, 2015
updated 1.3.0 ← 1.2.4 diff Sep 24, 2015
updated 1.2.4 ← 1.2.3 diff Apr 28, 2015
updated 1.2.3 ← 1.2.2 diff Feb 24, 2015
updated 1.2.2 ← 1.2.1 diff Jan 2, 2015
updated 1.2.1 ← 1.2.0 diff Dec 9, 2014
updated 1.2.0 ← 1.1.0 diff Sep 9, 2014
new 1.1.0 Aug 24, 2014