The F-Test and F-Distribution › Summary
Michael BrenndoerferJanuary 4, 20261 min read
Machine Learning from ScratchAll chapters Part 2 of 9Hypothesis Testing
The F-Test and F-Distribution › SummaryOne section · Sections in this chapter8 / 10 ↓
Sections in this chapter10
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
The F-test and F-distribution are fundamental tools for comparing variances and testing model adequacy:
The F-distribution:
- Arises from the ratio of two independent variance estimates
- Parameterized by two degrees of freedom (numerator and denominator)
- Always non-negative, right-skewed, centered near 1 under the null hypothesis
- Converges to symmetry as degrees of freedom increase
F-test for comparing variances:
- Tests
- Statistic: (larger variance in numerator)
- Sensitive to non-normality; prefer Levene's test in practice
F-test in regression:
- Overall significance: Tests whether any predictors have explanatory power
- Decomposes total variance into explained and unexplained components
- Large F indicates model explains more variation than expected by chance
Nested model comparison:
- Tests whether additional predictors significantly improve a model
- Compares reduction in residual variance to residual variance of full model
- Essential for variable selection and model building
Practical guidance:
- For comparing variances: Use Levene's test (less sensitive to non-normality) or visual inspection
- For regression: The F-test from standard output tests overall model significance
- For model selection: Nested model F-tests guide inclusion of predictors