Enter a name and the summary statistics (n ≥ 2, x̄, s ≥ 0) for each group. ANOVA requires at least 3 groups.
Follow these four simple steps to perform your One-Way ANOVA and Tukey HSD Post-Hoc analysis using summary data.
Ready to analyze your data? Input your summary statistics into the calculator above!
A pharmaceutical company wants to test the effectiveness of three different doses of a new drug (Low Dose, Medium Dose, High Dose) on lowering cholesterol levels compared to a control group (Placebo).
They randomly assign 40 patients into four groups (n=10 per group). The reduction in cholesterol (in mg/dL) after one month is recorded. The summary data for the four groups is given below.
| Group Name | Sample Size (n) | Sample Mean (x̄) | Sample SD (s) |
|---|---|---|---|
| Placebo (Group 1) | 10 | 5.2 | 2.1 |
| Low Dose (Group 2) | 10 | 8.9 | 2.5 |
| Medium Dose (Group 3) | 10 | 13.1 | 3.0 |
| High Dose (Group 4) | 10 | 12.5 | 2.8 |
Initial Step: Input the 4 groups' summary data into the calculator (n, mean, sd).
ANOVA Test: The calculator will output the F-statistic and the p-value. Since the means are visually different, we expect the p-value to be less than 0.05. Therefore, we reject the null hypothesis H0: At least one dose level is significantly different from the others in reducing cholesterol.
Tukey HSD Test: Since the ANOVA is significant, the calculator will perform the Tukey HSD post-hoc test to identify *which specific pairs* are different. We expect to find:
The same cholesterol-reduction example can be reproduced in the most widely used statistical packages. These examples assume you have the raw data per patient rather than just the summary statistics used above.
R's built-in aov() function handles one-way ANOVA directly, with Tukey's HSD available via TukeyHSD():
model <- aov(cholesterol_reduction ~ group, data = mydata)
summary(model)
TukeyHSD(model)
Analyze → Compare Means → One-Way ANOVA. Move your outcome (cholesterol reduction) into the Dependent List and your group variable into the Factor box. Click Post Hoc and check Tukey to get the same pairwise comparisons this calculator provides.
ANOVA → ANOVA. Move your outcome into the Dependent Variable box and your group variable into Fixed Factors. Under Post Hoc Tests, move the factor in and check Tukey. JASP also generates the F-statistic, p-value, and effect size (η²) automatically.
ANOVA → ANOVA. Drag your outcome into Dependent Variable and your group variable into Fixed Factors. Under Post-Hoc Tests, move the factor into the right box and select Tukey. jamovi is free and open-source, making it a popular classroom alternative to SPSS.
Other tools such as Stata (oneway or anova commands, with
pwmean for Tukey comparisons) and JMP (Analyze → Fit Y by X → Means/ANOVA)
can also perform this analysis, though their workflows differ from the packages above.