Dunn Post Hoc Test Calculator

Upload groups, rank values, and compare every pair. Choose corrections and inspect pairwise evidence instantly. See exportable results above the form after each submission.

Calculator

Group 1
Group 2
Group 3

Example Data Table

Observation Control Treatment 1 Treatment 2
1121914
2151816
3142015
4111713
5132117

Formula Used

Dunn testing compares the mean rank of each group pair after all observations are ranked together.

Mean rank for group i:i = rank sum of group i / ni

Dunn z statistic: z = |R̄i − R̄j| / √[V × (1/ni + 1/nj)]

Tie-adjusted variance term: V = [N(N + 1) − Σ(t³ − t)/(N − 1)] / 12

Here, N is the total sample size and t is the size of each tie block. Raw two-sided p-values come from the standard normal distribution. The selected correction method then adjusts all pairwise p-values.

How to Use This Calculator

  1. Enter one group per panel and give each group a clear name.
  2. Paste numeric values using commas, spaces, or line breaks.
  3. Choose an alpha threshold and a p-value adjustment method.
  4. Run the test to place results above the form.
  5. Review the omnibus summary, mean ranks, and pairwise comparisons.
  6. Download CSV for spreadsheet work or PDF for reporting.

Frequently Asked Questions

1. What does Dunn post hoc testing measure?

Dunn testing checks whether two groups differ in their average rank after all observations are ranked together. It is commonly used after a rank-based omnibus test.

2. When should I use this method?

Use it when you need pairwise comparisons for independent groups and the data are ordinal, skewed, or unsuitable for equal-variance normal methods.

3. Do I need equal group sizes?

No. Dunn comparisons can handle unequal sample sizes. The denominator already accounts for the size of each group in every pairwise comparison.

4. Why are p-values adjusted?

Multiple comparisons increase false positive risk. Adjustment methods such as Holm or Bonferroni control that risk across all tested group pairs.

5. What happens when ties exist?

The calculator applies a tie correction in the variance term. That makes the z statistics more appropriate when repeated values appear across groups.

6. Can I run the test without a significant omnibus result?

You can compute it, but many analysts prefer first confirming an overall difference. Interpret isolated pairwise findings carefully when the omnibus result is not significant.

7. What does the direction field mean?

It shows which group has the higher mean rank in each pair. Higher mean rank usually indicates larger observed values for that group.

8. What should I report from the output?

Report the omnibus statistic, adjustment method, each pairwise z value, adjusted p-value, significance decision, and the direction or mean rank difference.

Related Calculators

Mann-Whitney U Test CalculatorKruskal-Wallis H Test CalculatorKendall Tau Correlation CalculatorChi-Square Goodness of Fit CalculatorSign Test CalculatorKolmogorov-Smirnov One Sample Test CalculatorKolmogorov-Smirnov Two Sample Test CalculatorJonckheere-Terpstra Trend Test CalculatorMcNemar Test CalculatorFisher Exact Test Calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.