Samiksha Jaiswal (Editor)

F distribution

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Support
  
x ∈ [0, +∞)


Parameters
  
d1, d2 > 0 deg. of freedom

PDF
  
( d 1 x ) d 1 d 2 d 2 ( d 1 x + d 2 ) d 1 + d 2 x B ( d 1 2 , d 2 2 ) {displaystyle { rac {sqrt { rac {(d_{1},x)^{d_{1}},,d_{2}^{d_{2}}}{(d_{1},x+d_{2})^{d_{1}+d_{2}}}}}{x,mathrm {B} !left({ rac {d_{1}}{2}},{ rac {d_{2}}{2}} ight)}}!}

CDF
  
I d 1 x d 1 x + d 2 ( d 1 2 , d 2 2 ) {displaystyle I_{ rac {d_{1}x}{d_{1}x+d_{2}}}left({ frac {d_{1}}{2}},{ frac {d_{2}}{2}} ight)}

Mean
  
d 2 d 2 − 2 {displaystyle { rac {d_{2}}{d_{2}-2}}!} for d2 > 2

Mode
  
d 1 − 2 d 1 d 2 d 2 + 2 {displaystyle { rac {d_{1}-2}{d_{1}}};{ rac {d_{2}}{d_{2}+2}}} for d1 > 2

In probability theory and statistics, the F-distribution, also known as Snedecor's F distribution or the Fisher–Snedecor distribution (after Ronald Fisher and George W. Snedecor) is a continuous probability distribution that arises frequently as the null distribution of a test statistic, most notably in the analysis of variance, e.g., F-test.

Contents

Definition

If a random variable X has an F-distribution with parameters d1 and d2, we write X ~ F(d1, d2). Then the probability density function (pdf) for X is given by

f ( x ; d 1 , d 2 ) = ( d 1 x ) d 1 d 2 d 2 ( d 1 x + d 2 ) d 1 + d 2 x B ( d 1 2 , d 2 2 ) = 1 B ( d 1 2 , d 2 2 ) ( d 1 d 2 ) d 1 2 x d 1 2 1 ( 1 + d 1 d 2 x ) d 1 + d 2 2

for real x ≥ 0. Here B is the beta function. In many applications, the parameters d1 and d2 are positive integers, but the distribution is well-defined for positive real values of these parameters.

The cumulative distribution function is

F ( x ; d 1 , d 2 ) = I d 1 x d 1 x + d 2 ( d 1 2 , d 2 2 ) ,

where I is the regularized incomplete beta function.

The expectation, variance, and other details about the F(d1, d2) are given in the sidebox; for d2 > 8, the excess kurtosis is

γ 2 = 12 d 1 ( 5 d 2 22 ) ( d 1 + d 2 2 ) + ( d 2 4 ) ( d 2 2 ) 2 d 1 ( d 2 6 ) ( d 2 8 ) ( d 1 + d 2 2 ) .

The k-th moment of an F(d1, d2) distribution exists and is finite only when 2k < d2 and it is equal to

μ X ( k ) = ( d 2 d 1 ) k Γ ( d 1 2 + k ) Γ ( d 1 2 ) Γ ( d 2 2 k ) Γ ( d 2 2 )

The F-distribution is a particular parametrization of the beta prime distribution, which is also called the beta distribution of the second kind.

The characteristic function is listed incorrectly in many standard references (e.g.,). The correct expression is

φ d 1 , d 2 F ( s ) = Γ ( d 1 + d 2 2 ) Γ ( d 2 2 ) U ( d 1 2 , 1 d 2 2 , d 2 d 1 ı s )

where U(a, b, z) is the confluent hypergeometric function of the second kind.

Characterization

A random variate of the F-distribution with parameters d1 and d2 arises as the ratio of two appropriately scaled chi-squared variates:

X = U 1 / d 1 U 2 / d 2

where

  • U1 and U2 have chi-squared distributions with d1 and d2 degrees of freedom respectively, and
  • U1 and U2 are independent.
  • In instances where the F-distribution is used, for example in the analysis of variance, independence of U1 and U2 might be demonstrated by applying Cochran's theorem.

    Equivalently, the random variable of the F-distribution may also be written

    X = s 1 2 σ 1 2 / s 2 2 σ 2 2

    where s12 and s22 are the sums of squares S12 and S22 from two normal processes with variances σ12 and σ22 divided by the corresponding number of χ2 degrees of freedom, d1 and d2 respectively : s 1 2 = S 1 2 d 1 and s 2 2 = S 2 2 d 2 .

    In a frequentist context, a scaled F-distribution therefore gives the probability p(s12/s22 | σ12, σ22), with the F-distribution itself, without any scaling, applying where σ12 is being taken equal to σ22. This is the context in which the F-distribution most generally appears in F-tests: where the null hypothesis is that two independent normal variances are equal, and the observed sums of some appropriately selected squares are then examined to see whether their ratio is significantly incompatible with this null hypothesis.

    The quantity X has the same distribution in Bayesian statistics, if an uninformative rescaling-invariant Jeffreys prior is taken for the prior probabilities of σ12 and σ22. In this context, a scaled F-distribution thus gives the posterior probability p2212|s12, s22), where now the observed sums s12 and s22 are what are taken as known.

    Differential equation

    The probability density function of the F-distribution is a solution of the following differential equation:

    { 2 x ( d 1 x + d 2 ) f ( x ) + ( 2 d 1 x + d 2 d 1 x d 2 d 1 + 2 d 2 ) f ( x ) = 0 , f ( 1 ) = d 1 d 1 2 d 2 d 2 2 ( d 1 + d 2 ) 1 2 ( d 1 d 2 ) B ( d 1 2 , d 2 2 ) }
  • If X χ d 1 2 and Y χ d 2 2 are independent, then X / d 1 Y / d 2 F ( d 1 , d 2 )
  • If X k Γ ( α k , β k ) are independent, then α 2 β 1 X 1 α 1 β 2 X 2 F ( 2 α 1 , 2 α 2 )
  • If X Beta ( d 1 / 2 , d 2 / 2 ) (Beta distribution) then d 2 X d 1 ( 1 X ) F ( d 1 , d 2 )
  • Equivalently, if X ~ F(d1, d2), then d 1 X / d 2 1 + d 1 X / d 2 Beta ( d 1 / 2 , d 2 / 2 ) .
  • If X ~ F(d1, d2) then Y = lim d 2 d 1 X has the chi-squared distribution χ d 1 2
  • F(d1, d2) is equivalent to the scaled Hotelling's T-squared distribution d 2 d 1 ( d 1 + d 2 1 ) T 2 ( d 1 , d 1 + d 2 1 ) .
  • If X ~ F(d1, d2) then X−1 ~ F(d2, d1).
  • If X ~ t(n) -- Student's t-distribution—then:
  • F-distribution is a special case of type 6 Pearson distribution
  • If X and Y are independent, with X, Y ~ Laplace(μ, b) then
  • If X ~ F(n, m) then log X 2 FisherZ ( n , m ) (Fisher's z-distribution)
  • The noncentral F-distribution simplifies to the F-distribution if λ = 0.
  • The doubly noncentral F-distribution simplifies to the F-distribution if λ 1 = λ 2 = 0
  • If Q X ( p ) is the quantile p for X ~ F(d1, d2) and Q Y ( 1 p ) is the quantile 1−p for Y ~ F(d2, d1), then
  • References

    F-distribution Wikipedia