F distribution
The F distribution is the distribution of a ratio of two independent chi-square variables, each divided by its degrees of freedom; it is used for comparing variances and in ANOVA and regression.
- numerator degrees of freedom (e.g. groups in ANOVA)
- denominator degrees of freedom (e.g. in ANOVA)
- a ratio of two variance estimates
When to use
One-way ANOVA (F = MS between / MS within), the overall F test and nested-model tests in regression, the F test for two variances. ANOVA and regression F tests use the upper tail.
How to interpret
- Under the null hypothesis both numerator and denominator estimate the same variance, so F is near 1. Large F means the numerator variance is bigger than chance would explain.
- Order of df matters: and are different distributions.
Common mistakes
- Swapping numerator and denominator df.
- Using the F test for two variances as a preliminary check before a t-test: it is very sensitive to non-normality (prefer Levene/Brown–Forsythe, or simply use Welch's test).
Example
With df the 5% critical value is ; an observed has p-value . For df the critical value is .