How to do Dunnett’s test (each group vs a control)
Dunnett’s test is a multiple-comparison procedure for comparing one control group (vehicle, wild type, untreated) with each of the other groups. Because it limits itself to comparisons with the control, it finds differences more easily than Tukey’s all-pairs test. This guide works from the ANOVA output to the t statistics, critical value and P values with a numerical example.
What Dunnett’s test does
- Compares one control group with each other group (k − 1 comparisons for k groups)
- Assumes, like ANOVA, that each group is roughly normal with similar spread
- Fewer comparisons than Tukey’s all pairs, so a milder correction
- Choose the control from your research question before seeing the data
How it differs from Tukey’s test (which to choose and why the critical values differ) is covered in Tukey vs Dunnett. This page walks through the calculation itself.
The steps
- Run a one-way ANOVA to get the within-group mean square MSwithin (pooled over all groups) and its degrees of freedom N − k
- Divide each group’s difference from the control mean by its standard error to get t
- Get P (or the critical value) from the joint distribution of the k − 1 comparisons that share the control (a multivariate t distribution)
Example: control and three compounds
Reporter activity for a control and compounds A, B and C (n = 5 each, made up). ANOVA: F(3, 16) = 18.67, P < 0.0001. MSwithin = 0.5548, so s = 0.745 and the standard error of each comparison is 0.745 × √(1/5 + 1/5) = 0.471.
| Group | n | Mean | SD |
|---|---|---|---|
| Control | 5 | 8.62 | 0.72 |
| Compound A | 5 | 10.28 | 0.75 |
| Compound B | 5 | 9.26 | 0.77 |
| Compound C | 5 | 11.92 | 0.73 |
| Comparison | Mean difference | t | Unadjusted P | Dunnett P | For reference: Tukey P |
|---|---|---|---|---|---|
| Compound A vs Control | 1.66 | 3.52 | 0.0028 | 0.0076 | 0.013 |
| Compound B vs Control | 0.64 | 1.36 | 0.193 | 0.411 | 0.541 |
| Compound C vs Control | 3.30 | 7.01 | < 0.0001 | < 0.0001 | < 0.0001 |
For compound A, the difference 1.66 ÷ 0.471 gives t = 3.52. That exceeds Dunnett’s critical value of 2.592 (3 comparisons, two-sided 5%, df = 16), so it is significant with P = 0.0076. Compound B has t = 1.36 and is not significant even without correction.
How strong is the correction?
With df = 16, this is the |t| needed for two-sided significance at 5%. Smaller means easier to detect a difference.
| Method | Comparisons | Required |t| |
|---|---|---|
| No correction (repeated t tests) | — | 2.120 |
| Dunnett | 3 (each vs control) | 2.592 |
| Bonferroni | 3 | 2.673 |
| Tukey | 6 (all pairs) | 2.861 |
Dunnett is milder than Bonferroni for the same three comparisons because it accounts for their correlation: they share the control group (with equal n, the correlation is 0.5). Repeating uncorrected t tests three times pushes the chance of a false positive somewhere above 5%.
Things to watch
- Same assumptions as ANOVA: each group roughly normal, spreads not very different. Because s pools all groups, one very variable group affects every comparison.
- No need to require a significant ANOVA first: Dunnett’s test controls the familywise error rate on its own (see the FAQ in Tukey vs Dunnett).
- A slightly larger control group increases power: the control is used in every comparison, so designs often give it more animals than the other groups (about √(k − 1) times as many is a common guide).
- Not close to normal? Use the Kruskal–Wallis test followed by Dunn’s test against the control (Kruskal–Wallis and Dunn).
How to write it in a paper
Methods: “Differences among groups were tested by one-way ANOVA followed by Dunnett’s multiple comparisons test against the control group.” Results: give adjusted P values, e.g. “Compounds A (P = 0.008) and C (P < 0.0001) increased activity relative to control, whereas B did not (P = 0.41).” In the legend, state n and what the error bars show (how to report statistics).
FAQ
Can I change which group is the control afterwards?
No. Choose the control from the research question (e.g. vehicle or wild type) before looking at the data. Choosing it after seeing which gives nicer results invalidates the error rate. In BenchFig, select the control group you planned.
Can I use a one-sided Dunnett test?
Only if you can justify in advance that the treatment can only increase (or only decrease) the response. One-sided tests have a smaller critical value, but miss effects in the other direction. Most journals expect two-sided tests. BenchFig’s Dunnett test is two-sided.
Does it work with unequal group sizes?
Yes. Unequal n changes the correlation between the comparisons, but Dunnett’s P can be computed exactly from a distribution that includes it (BenchFig uses each group’s n).
What if the data are not close to normal?
Use the Kruskal–Wallis test followed by Dunn’s test restricted to comparisons with the control, with the correction based on that number of comparisons.
Related guides
Product and journal names are trademarks or registered trademarks of their respective owners.