dunntest. Dunn's test of multiple comparisons using rank sums.
Program by Alexis Dinno.
Support: alexis.dinno@pdx.edu
Version 1.3.9 (Updated: February 18, 2026)

This package includes dunntest which performs Dunn's multiple nonparametric pairwise tests following rejection of a Kruskal-Wallis test, and provides five options for control of the family-wise error rate, and two option for control of the false discovery rate.

This package is written for STATA versions 8+. Requests for a version compatible with versions of STATA earlier than v8 are untenable since I do not have access to the software.

All feature and bug requests are welcome and will be considered.

To manually update or install:

  1. In Stata (i) type ado dir and hit ENTER, and (2) type ado uninstall [#], where '#' is the number of dunntest reported in step (i). Repeat both (i) and (ii) until there are no more versions of dunntest installed.
  2. In Stata type personal and hit ENTER.
  3. Download dunntest.ado, dunntest.sthlp, and homecare.dta to the directory reported by the personal command.

The above files are also available for download in a single .zip file: dunntest_1.3.9.zip.

You will need to check the web site, and repeat these steps periodically as new versions become available.