F-Distribution Calculator
Calculate p-value from F-statistic.
Please enter a valid F-statistic (must be >= 0)
Enter F value and degrees of freedom
What Is the F-Distribution?
The F-distribution arises when comparing two variances—it's the ratio of two chi-square distributions, each divided by their degrees of freedom.
Parameters:
- df₁ = numerator degrees of freedom
- df₂ = denominator degrees of freedom
Key uses:
- ANOVA (comparing means across groups)
- Testing equality of variances
- Regression model significance
From F-Statistic to P-Value
This calculator converts an F-statistic to a p-value:
Example: F = 4.25, df₁ = 3, df₂ = 20 P-value = P(F > 4.25) = 0.018
Since p < 0.05, the result is statistically significant.
Applications
ANOVA (Analysis of Variance)
"Do three or more groups have different means?"
F = (Between-group variance) / (Within-group variance) df₁ = groups - 1 df₂ = total observations - groups
Large F suggests group means differ.
Regression Model Testing
"Is the regression model significant overall?"
F = (Model mean square) / (Error mean square) df₁ = number of predictors df₂ = n - predictors - 1
Comparing Two Variances
"Do two populations have equal variance?"
(larger variance in numerator)
Nested Model Comparison
"Does adding variables significantly improve the model?"
F = [(RSS_reduced - RSS_full) / q] / [RSS_full / (n - k - 1)]
Where q = number of added predictors.
Distribution Properties
The F-distribution:
- Always non-negative (ratio of positive quantities)
- Right-skewed
- Mean ≈ df₂/(df₂ - 2) for df₂ > 2
- Becomes less skewed as df increase
Shape by Degrees of Freedom
| df₁, df₂ | Shape |
|---|---|
| Small, Small | Highly right-skewed |
| Large, Small | Still right-skewed |
| Small, Large | Moderate skew |
| Large, Large | More symmetric |
Critical Values
For α = 0.05:
| df₁ | df₂ = 10 | df₂ = 20 | df₂ = 30 |
|---|---|---|---|
| 1 | 4.96 | 4.35 | 4.17 |
| 3 | 3.71 | 3.10 | 2.92 |
| 5 | 3.33 | 2.71 | 2.53 |
| 10 | 2.98 | 2.35 | 2.16 |
The Inverse F Calculator provides critical values for any df combination.
Historical Development
Ronald Fisher (1890-1962) developed the F-distribution in the 1920s as part of his work on ANOVA.
The distribution was named "F" in Fisher's honor by George Snedecor, who popularized ANOVA methods in his influential textbook (1937).
Fisher's insight was recognizing that variance ratios follow a specific distribution under the null hypothesis, enabling formal testing of group differences.
Mathematical Definition
If and are independent:
This ratio follows .
Relationship to Other Distributions
Chi-square: F is a ratio of chi-squares
T-distribution: T² ~ F(1, df)
If t follows t(df), then t² follows F(1, df)
Beta distribution: F relates to the beta distribution through transformation
ANOVA in Detail
One-Way ANOVA
Comparing means of k groups:
Where:
- = Between-group mean square =
- = Within-group mean square =
Two-Way ANOVA
Testing two factors and their interaction:
- F for Factor A: MSA / MSError
- F for Factor B: MSB / MSError
- F for Interaction: MSAB / MSError
Each has its own df₁, with common df₂ = error df.
Assumptions
For ANOVA:
- Independence: Observations are independent
- Normality: Populations are normally distributed
- Homogeneity of variance: Equal variances across groups
ANOVA is robust to moderate violations of normality but sensitive to variance heterogeneity, especially with unequal group sizes.
For Variance Ratio Test:
- Independence: Samples are independent
- Normality: Both populations are normal
The F-test for variances is sensitive to non-normality.
One-Tailed vs. Two-Tailed
ANOVA (one-tailed):
Only large F values indicate group differences. P-value = P(F > observed F)
Variance Comparison (often two-tailed):
Test whether variances differ in either direction. P-value = 2 × min(P(F > f), P(F < f))
Or use: P(F > max(s₁²/s₂², s₂²/s₁²))
Interpreting F-Statistics
Large F indicates:
- Group means differ substantially (ANOVA)
- Variances are unequal (variance test)
- Model explains significant variation (regression)
F near 1 suggests:
- Group means are similar
- Variances are similar
- Model doesn't explain much variation
Effect Size with F
F alone doesn't measure effect size. Report:
Eta-squared (η²): SSB / SST (proportion of variance explained)
Omega-squared (ω²): Adjusted version, less biased
Partial eta-squared: For factorial designs
Related Calculations
- Inverse F Calculator — Find critical F values
- One-Way ANOVA Calculator — Compare group means
- Chi-Square Distribution Calculator — Component of F
- T-Distribution Calculator — Related distribution
- Degrees of Freedom Calculator — Calculate df
Summary
The F-distribution—a ratio of two chi-square distributions—is the foundation of analysis of variance and tests comparing variances. With two degrees of freedom parameters (numerator and denominator), F-statistics test whether group means differ, whether a regression model is significant, or whether two populations have equal variance. Understanding the F-distribution enables proper interpretation of ANOVA results and variance comparisons across experimental and observational studies.