One-Way ANOVA

Compare the means of three or more independent groups simultaneously and identify which groups differ.

One-Way Analysis of Variance (ANOVA) extends the logic of the independent samples t-test to situations where you have three or more groups to compare. Rather than running multiple t-tests (which inflates the Type I error rate), ANOVA simultaneously tests the null hypothesis that all group means are equal by partitioning total variance into between-group variance and within-group (error) variance. The F-ratio is the ratio of these two variance estimates.

ANOVA is ubiquitous in experimental psychology, pharmacology, agriculture, quality control, and education research. A marketing team might compare customer satisfaction across four service channels; a clinical researcher might compare recovery time across three dosage levels; an educational psychologist might compare test scores across five teaching methods. When the omnibus ANOVA F-test is significant, post-hoc tests (such as Tukey HSD or Bonferroni) identify exactly which pairs of groups differ.

StatRyx automates the complete One-Way ANOVA pipeline: Levene's test for homogeneity of variance, the ANOVA summary table (SS, df, MS, F, p), partial eta-squared as the effect size, and Tukey HSD post-hoc comparisons for every pair of groups — all in APA 7 format. If Levene's test is violated, StatRyx switches to Welch's ANOVA automatically.

When to use the One-Way ANOVA

When not to use it

Worked example

SourceSSdfMSFpη²
Between Groups1847.32923.79.34< .001.18
Within Groups8600.48798.9
Total10447.789

How to report it (APA 7)

A one-way ANOVA was conducted to examine the effect of teaching method on final exam scores. There was a statistically significant difference between groups, F(2, 87) = 9.34, p < .001, η² = .18. Post-hoc Tukey HSD comparisons indicated that scores in the active learning condition (M = 78.3, SD = 9.1) were significantly higher than those in the lecture-only condition (M = 68.5, SD = 11.2, p = .002).

Frequently asked questions

Is One-Way ANOVA free on StatRyx?

Yes. You can run it without an account (3 free analyses), and a free account adds 10 more — a one-time allowance, no payment needed. Every result includes the APA 7 write-up. Paid plans (Student from $9/month) add more analyses and Word, PDF and Excel export.

Do I need to code to run an ANOVA?

No coding needed. You describe your groups and outcome in plain English, and StatRyx runs the complete ANOVA — including assumption checks, the F-test, and pairwise post-hoc comparisons — without any syntax or programming.

What sample size do I need for One-Way ANOVA?

For detecting a medium effect (η² = .06, f = 0.25) across three groups at 80% power and α = .05, you need approximately 52 participants per group (156 total). StatRyx can run a post-hoc power analysis on your actual results on request.

What post-hoc tests does StatRyx use?

StatRyx uses Tukey's Honest Significant Difference (HSD) as the default post-hoc test, which is widely recommended when group sizes are equal and the goal is to compare all pairs. Bonferroni correction is available as an alternative when you have specific planned comparisons.

What is eta-squared and how do I interpret it?

Partial eta-squared (η²) measures the proportion of total variance accounted for by the group factor. Values of .01, .06, and .14 are considered small, medium, and large effects respectively. APA guidelines require reporting an effect size alongside the F-statistic and p-value.

Run a One-Way ANOVA on your data →

Related analyses