Dunnett's Test

Dunnett's test compares each treatment group with a single control group. It adjusts the p-values and confidence intervals for the number of comparisons, so the overall chance of a false positive stays at the chosen level. It is the standard follow-up to a one-way ANOVA when the only question is "which groups differ from control?", which is typical in toxicity studies with a control and several dose groups.

BioStat Prime fits the one-way ANOVA internally from the same inputs and then runs Dunnett's comparisons on it. You do not need to run ANOVA separately first.

Steps

Load the dataset -> Go to ToxCore -> Dunnett's Test -> Move the numeric response to Response Variable -> Move the grouping variable to Group Factor -> Type the control group label in Control Group -> Choose the test and output options -> Execute the dialog.

Dunnett's Test

Video walkthrough

Video walkthrough coming soon.

Data requirements

  • One row per observation (long format), with a numeric response column and a group column.

  • The group variable must have at least 2 levels: the control plus at least one treatment.

  • The control label must match a group level exactly, including upper/lower case and spaces (for example Control is not the same as control).

  • Rows with a missing response or missing group are left out of the analysis.

GroupBodyWeight
Control24.1
Control23.8
Low23.5
Low22.9
High20.2
High19.7

Example layout. Here Control Group would be typed as Control.

Dialog options

Enter Result Name

A name for this analysis (default DunnettsTest1).

Response Variable (numeric)

The measured outcome, for example body weight, organ weight or enzyme activity.

Group Factor

The variable that identifies the treatment groups. Numeric dose columns are also accepted and treated as groups.

Control Group

The label of the control group, typed exactly as it appears in the data.

Alternative Hypothesis
  • two.sided (default): the treatment mean differs from control in either direction.

  • less: the treatment mean is lower than control (for example reduced growth).

  • greater: the treatment mean is higher than control (for example increased enzyme level).

Confidence Level

90, 95 (default) or 99%. This sets both the width of the confidence intervals and the significance threshold: a comparison is marked significant when its adjusted p-value is below 1 − confidence level (0.05 at 95%).

Show ANOVA Summary

Shows the one-way ANOVA table computed internally, for context. On by default.

Show Boxplot by Group

Draws a boxplot of the response by group, with the control shown first in red. Off by default.

Output

The output contains:

  • ANOVA Summary (Context Only): the one-way ANOVA F-test (if selected).

  • Dunnett's Test vs. Control table, with one row per treatment group.

  • The control group and the list of treatment groups compared.

  • A boxplot (if selected).

Comparison

Which treatment is compared with the control, for example High - Control.

Estimate

Difference in means (treatment − control). A negative value means the treatment mean is lower.

Std_Error

Standard error of the difference.

t_value

Test statistic for the comparison.

p_adjusted

p-value adjusted for multiple comparisons with the control.

CI_Lower / CI_Upper

Simultaneous confidence interval for the difference. If it does not include 0, the difference is significant.

Significant
* YES when p_adjusted is below 1 − confidence level.
Dunnett's Test boxplot by group

R functions used: stats::aov(), multcomp::glht() with mcp(Dunnett). R package required: multcomp.

Last modified: 25 November 2026