An F-test compares two estimates of variance by dividing one by the other. If both estimates measure the same underlying noise, their ratio should land near $1$; a ratio far above $1$ says the numerator is picking up something beyond noise. The same ratio sits behind three everyday tools: comparing two variances, ANOVA, and deciding whether extra terms improve a regression. This page walks through all three.
The question changes, but the reasoning follows one path:
The F distribution. If $\chi^2_{d_1}$ and $\chi^2_{d_2}$ are independent chi-square variables, then the ratio of each divided by its degrees of freedom follows an F distribution with numerator degrees of freedom $d_1$ and denominator degrees of freedom $d_2$. Because a ratio of variances cannot be negative and is only large when the numerator is large, F-tests usually use the upper tail.
Use 1: comparing two variances. For independent normal samples with sizes $n_1,n_2$ and sample variances $s_1^2,s_2^2$, the test of $H_0:\sigma_1^2=\sigma_2^2$ uses the ratio of sample variances, and the same distribution gives a confidence interval for the true ratio:
Suppose one chamber has $s_1=4$ over $n_1=11$ wafers and another has $s_2=2.5$ over $n_2=9$ wafers. Then $F=16/6.25=2.56$ on $(10,8)$ degrees of freedom. The upper-tail probability is about $0.098$, so the two-sided p-value is about $0.196$, and the $95\%$ interval for $\sigma_1^2/\sigma_2^2$ is roughly $[0.596,\,9.869]$. An interval that includes $1$ means the data cannot rule out equal variances. It is also wide, because $9$ and $11$ wafers say little about variance. This test is sensitive to non-normal data, so check the data first, and use Levene or Brown-Forsythe tests when normality is doubtful.
Use 2: ANOVA. The F-statistic in one-way and two-way ANOVA is the ratio of two mean squares, where the numerator measures spread among group means and the denominator measures spread within groups. With two groups it collapses to a squared t-statistic, so the F-test and the pooled two-sample t-test agree exactly:
For example, the $95\%$ critical value of $F_{1,10}$ is $4.965$, and the two-sided $5\%$ critical value of $t_{10}$ is $2.228$, whose square is $4.965$. The one-way ANOVA example on three etch recipes gives $F=(126/2)/(17/9)\approx33.35$ on $(2,9)$ degrees of freedom, and a p-value near $6.9\times10^{-5}$.
Use 3: does the bigger model earn its extra terms? Compare a reduced regression with $p_r$ parameters against a full regression with $p_f$ parameters that contains it, both fit to $n$ observations. The numerator is the improvement in residual sum of squares per extra parameter, and the denominator is the leftover noise per degree of freedom in the full model:
With $RSS_r=240$, $RSS_f=180$, $n=30$, $p_r=2$ and $p_f=4$, the numerator is $(240-180)/2=30$ and the denominator is $180/26\approx6.923$. So $F=4.333$ on $(2,26)$ degrees of freedom. The $5\%$ critical value is $3.369$ and the p-value is about $0.0238$, so the two added terms improve the fit by more than chance would. The curve below shows where this statistic lands:
Reading the result. An F-test answers one narrow question: is there more structure than noise? It does not say which group differs, which added term helped, or whether the improvement is large enough to matter in practice.
- Direction: the numerator and denominator are not interchangeable. Swapping them turns $F$ into $1/F$ and uses the lower tail, with the degrees of freedom reversed.
- Follow-up: after a significant ANOVA F-test, use planned contrasts or adjusted pairwise comparisons. After a significant nested-model F-test, inspect the individual coefficients and the effect sizes.
- Assumptions: independent observations, roughly normal errors, and for ANOVA and regression a similar error variance across groups. The two-variance test is especially fragile when data are not normal.
- Size and nesting: report the estimate and its interval, not only the p-value. Nested-model F-tests require the smaller model to be a special case of the larger one; use AIC or cross-validation to compare non-nested models.
Read an F-test as a ratio of two variance estimates: a value near $1$ says nothing beyond noise, and a value well beyond the upper-tail critical value says the explained structure is real enough to investigate.