F Distribution
The F distribution, also known as the variance ratio distribution or the Fisher-Snedecor distribution, is used to model the ratio of two variances. It is primarily used in ANOVA to determine the significance of the variation due to one or more effects compared to the total variation in the sample.
Definition
The F distribution has two parameters: the degrees of freedom of the numerator
The probability density function (PDF) of the F distribution is:
where
The cumulative distribution function (CDF) is:
where
The F distribution is defined for any non-negative real value (
Applications
The F distribution plays a crucial role in statistical inference and hypothesis testing across multiple fields.
In Analysis of Variance (ANOVA), the F distribution is used to test whether there are significant differences between the means of multiple groups by comparing the variation between groups to the variation within groups.
In regression analysis, the F-test helps determine whether a proposed linear model provides a better fit to the data than a model with no predictors.
The F-test is employed in testing the equality of variances between two populations, which is particularly important in determining whether two samples come from populations with the same variability.
In multivariate statistics, the F distribution is used in MANOVA (Multivariate Analysis of Variance) to assess the significance of differences between groups across multiple dependent variables simultaneously.
Quality control applications use the F distribution to monitor process variability and test whether manufacturing processes maintain consistent variance over time.
Properties
Property | Value |
---|---|
Mean | |
Variance | |
Skewness | |
Excess Kurtosis |
The F distribution has several notable properties:
If
follows an F distribution with parameters , then follows an F distribution with parametersThe F distribution is related to the ratio of chi-square distributions: if
, then where and
Relationships to Other Distributions
The square of a Student's t distribution with
degrees of freedom is equivalent to an F distribution with parameters 1 andThe F distribution is a ratio of independent chi-square distributions divided by their respective degrees of freedom
The FDistribution class
The F distribution is implemented by the FDistribution class. It has one constructor which has two parameters. The following constructs an F distribution with 4 degrees of freedom for the numerator, and 25 degrees of freedom for the denominator:
var f = new FDistribution(4, 25);
The FDistribution class has two specific properties, DenominatorDegreesOfFreedom and NumeratorDegreesOfFreedom, which return the parameters of the distribution.
FDistribution has one static (Shared in Visual Basic) method, Sample, which generates a random sample using a user-supplied uniform random number generator.
var random = new Pcg32();
double sample = FDistribution.Sample(random, 4, 25);
The above example uses the Pcg32 class to generate uniform random numbers.
References
For more information on the F distribution, refer to the following sources:
Johnson, N. L., Kotz, S., & Balakrishnan, N. (1994). "Continuous Univariate Distributions, Volume 2", Chapter 27. Wiley Series in Probability and Statistics.
Forbes, C., Evans, M., Hastings, N., & Peacock, B. (2011). "Statistical Distributions", Chapter 20. Wiley Series in Probability and Statistics.
Fisher, R.A. (1925). "Statistical Methods for Research Workers".
Snedecor, G.W., & Cochran, W.G. (1989). "Statistical Methods".