One-Way ANOVA Calculator

StatisticsFreeNo sign-up

A one-way ANOVA tests whether three or more group means are all equal. It compares the spread between the group means with the spread within the groups: F = MSbetween ÷ MSwithin. A large F and a small p-value point to a real difference.

FreeNo sign-up
F(2, 15)
0.813
p = 0.462. Fail to reject H₀ at α = 0.05: the data do not show a difference between the means.
Groups
Group 1 (n = 6) mean 84.3333, SD 6.8896
Group 2 (n = 6) mean 88.6667, SD 3.8297
Group 3 (n = 6) mean 86, SD 6.603
ANOVA table
Between groups SS 57.3333, df 2, MS 28.6667
Within groups SS 528.6667, df 15, MS 35.2444
Total SS 586, df 17
Test
F statistic 0.8134
p-value 0.462
Critical F at α = 0.05 3.6823
Eta squared (η²) 0.0978
Show steps
  1. Grand mean = 1,554 ÷ 18 = 86.3333.
  2. SS between = Σ n(group mean − grand mean)² = 57.3333.
  3. SS within = Σ (value − its group mean)² = 528.6667.
  4. MS between = 57.3333 ÷ 2 = 28.6667; MS within = 528.6667 ÷ 15 = 35.2444.
  5. F = 28.6667 ÷ 35.2444 = 0.8134, with df (2, 15).
  6. p-value = area to the right of F = 0.462.

How to use the ANOVA calculator

  1. Enter each group’s values in its own box, separated by commas or spaces. You can use two to five groups, and they can be different sizes.
  2. Set the significance level (0.05 is common).
  3. Press Calculate to get the ANOVA table, the F statistic, the p-value and eta squared.

What one-way ANOVA tests

The null hypothesis is H0: μ1 = μ2 = … = μk. The alternative is that at least one mean is different. ANOVA uses one test for all the groups, instead of many t tests that would raise the chance of a false positive.

Source SS df MS F
Between groups Σ nj(x̄j − x̄)² k − 1 SS ÷ df MSB ÷ MSW
Within groups Σ (x − x̄j)² N − k SS ÷ df
Total Σ (x − x̄)² N − 1

Assumptions

  • The observations are independent.
  • Each group comes from a roughly normal population. ANOVA copes well with mild departures when the groups are similar in size.
  • The groups have similar variances. A rule of thumb is that the largest standard deviation is less than twice the smallest.

Reading eta squared

Eta squared (η² = SSbetween ÷ SStotal) is the share of the total variation explained by the groups. Common rough guides are 0.01 small, 0.06 medium and 0.14 large. A tiny p-value with a small η² can happen with very large samples.

ANOVA practice questions

Test yourself with 6 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 6
1. A one-way ANOVA has 4 groups and 40 observations in total. What are the degrees of freedom?

Found a mistake? Let us know!

2. MS between = 24 and MS within = 6. What is F?

Found a mistake? Let us know!

3. The p-value is 0.003 and α = 0.05. What do you conclude?

Found a mistake? Let us know!

4. Why use ANOVA instead of many t tests?

Found a mistake? Let us know!

5. SS between = 30 and SS within = 70. What is η²?

Found a mistake? Let us know!

6. If all group means are exactly equal, SS between is…

Found a mistake? Let us know!

Frequently asked questions

What does a one-way ANOVA tell you?

It tells you whether the means of three or more groups are all equal. A small p-value says at least one mean differs; a post-hoc test tells you which ones.

How is the F statistic calculated?

F is the mean square between groups divided by the mean square within groups. Each mean square is a sum of squares divided by its degrees of freedom.

Can I use ANOVA with two groups?

Yes. With two groups the one-way ANOVA gives the same p-value as a two-sample t test with equal variances, and F equals t².

Do the groups need to be the same size?

No. One-way ANOVA works with unequal group sizes, though equal sizes make it less sensitive to unequal variances.

Sources

Related calculators

Browse all calculators

More statistics calculators

Browse all 517 calculators

Related to This Article

What people say about "One-Way ANOVA Calculator: F Statistic, p-Value and Table"?

No one replied yet.

Leave a Reply