Calculate an F statistic and its p-value, either as the ratio of two sample variances or from the sums of squares in an ANOVA table.
F = s₁² ÷ s₂² · F = MS between ÷ MS within
Put the sample you suspect is more variable first; the test is two-tailed either way.
An F-statistic is a ratio of two variances. If both estimate the same underlying variance, F should be close to 1; values far from 1 suggest they don't.
It appears in two main places. Comparing two samples' variances directly tests whether one process is more consistent than another. In ANOVA and regression, F compares the variation explained by a model with the variation left over.
F needs two degrees of freedom, one for each variance, and the order matters: F(15, 20) and F(20, 15) are different distributions.
As given in the NIST/SEMATECH e-Handbook, section 1.3.5.9 (F-test for equality of two variances). See Sources.
Machine A's variance is more than double B's, yet with these sample sizes that isn't significant at 5%. Variance comparisons need surprisingly large samples.
Right-tailed, as used in ANOVA. Rows are the denominator df, columns the numerator df.
| d₂ \ d₁ | 1 | 2 | 3 | 5 | 10 |
|---|---|---|---|---|---|
| 5 | 6.61 | 5.79 | 5.41 | 5.05 | 4.74 |
| 10 | 4.96 | 4.1 | 3.71 | 3.33 | 2.98 |
| 12 | 4.75 | 3.89 | 3.49 | 3.11 | 2.75 |
| 20 | 4.35 | 3.49 | 3.1 | 2.71 | 2.35 |
| 30 | 4.17 | 3.32 | 2.92 | 2.53 | 2.16 |
| 60 | 4 | 3.15 | 2.76 | 2.37 | 1.99 |
That the two variance estimates are equal. In ANOVA it means the groups vary no more than random variation would predict.
Yes. In a variance comparison it just means the second sample is more variable. In ANOVA, F below 1 is never significant.
Only a large between-group variance is evidence of different means. A small F points the other way, towards no difference.
With two groups, the ANOVA F equals the square of the pooled t statistic, with df (1, n₁ + n₂ − 2).
Sir Ronald Fisher, who developed analysis of variance in the 1920s. George Snedecor named the distribution in his honour.
=F.TEST(range1, range2) gives the two-tailed p for two variances. =F.DIST.RT(F, d1, d2) gives the right-tail p.
It tests whether the model explains more than chance, comparing the regression mean square with the residual mean square.
Large ones. In the example, a variance ratio of 2.25 wasn’t significant with 16 and 21 parts.
Related Tools