F-distribution
Template:Short description Template:About Template:Distinguish
Template:Probability distribution{(d_1 x+d_2)^{d_1+d_2}}}}{x\,\mathrm{B}\!\left(\frac{d_1}{2},\frac{d_2}{2}\right)}</math>
| cdf = <math>I_{\frac{d_1 x}{d_1 x + d_2}} \left(\tfrac{d_1}{2}, \tfrac{d_2}{2} \right)</math>
| mean = <math>\frac{d_2}{d_2-2}</math> for Template:Math
| median =
| mode = <math>\frac{d_1-2}{d_1}\;\frac{d_2}{d_2+2}</math>
for Template:Math
| variance = <math>\frac{2\,d_2^2\,(d_1+d_2-2)}{d_1 (d_2-2)^2 (d_2-4)}</math> for Template:Math
| skewness = <math>\frac{(2 d_1 + d_2 - 2) \sqrt{8 (d_2-4)}}{(d_2-6) \sqrt{d_1 (d_1 + d_2 -2)}}</math> for Template:Math
| kurtosis = see text
| entropy = <math>\begin{align}
& \ln \Gamma{\left(\tfrac{d_1}{2} \right)}
+ \ln \Gamma{\left(\tfrac{d_2}{2} \right)}
- \ln \Gamma{\left(\tfrac{d_1+d_2}{2} \right)} \\
&+ \left(1-\tfrac{d_1}{2} \right) \psi{\left(1+\tfrac{d_1}{2} \right)} \\ &- \left(1+\tfrac{d_2}{2} \right) \psi{\left(1+\tfrac{d_2}{2} \right)} \\ &+ \left(\tfrac{d_1 + d_2}{2} \right) \psi{\left(\tfrac{d_1 + d_2}{2} \right)}
+ \ln \frac{d_2}{d_1}
\end{align}</math>[1] | mgf = does not exist, raw moments defined in text and in [2][3] | char = see text }}
In probability theory and statistics, the F-distribution or F-ratio, 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 (ANOVA) and other F-tests.[2][3][4][5]
Definitions
The F-distribution with Template:Tmath and Template:Tmath degrees of freedom is the distribution of <math display="block"> X = \frac{U_1/d_1}{U_2/d_2} </math>
where <math display=inline>U_1</math> and <math display=inline>U_2</math> are independent random variables with chi-square distributions with respective degrees of freedom Template:Tmath and Template:Tmath.
It can be shown to follow that the probability density function (PDF) for Template:Tmath is given by <math display="block">\begin{align} f(x; d_1,d_2) &= \frac{\sqrt{\frac{(d_1x)^{d_1}\,\,d_2^{d_2}} {(d_1x+d_2)^{d_1+d_2}}}} {x\operatorname{B}\left(\frac{d_1}{2},\frac{d_2}{2}\right)} \\[5pt] &=\frac{\left(\frac{d_1}{d_2}\right)^{\frac{d_1}{2}} {x\vphantom{\left({d_1\over d_2}\right)}}^{\frac{d_1}{2} - 1} \left(1+\frac{d_1}{d_2} \, x \right)^{-\frac{d_1+d_2}{2}}}{\operatorname{B}\left(\frac{d_1}{2},\frac{d_2}{2}\right)} \end{align}</math>
for real Template:Tmath. Here <math>\mathrm{B}</math> is the beta function. In many applications, the parameters Template:Tmath and Template:Tmath are positive integers, but the distribution is well-defined for positive real values of these parameters.
The cumulative distribution function is <math display="block">F(x; d_1,d_2)=I_\frac{d_1 x}{(d_1 x + d_2)}\left (\tfrac{d_1}{2}, \tfrac{d_2}{2} \right) ,</math>
where Template:Tmath is the regularized incomplete beta function.
Properties
The expectation, variance, and other details about the F-distribution Template:Tmath are given in the sidebox; for Template:Tmath, the excess kurtosis is <math display="block">\gamma_2 = 12\frac{d_1(5d_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)}.</math>
The Template:Mvar-th moment of an Template:Tmath distribution exists and is finite only when Template:Tmath and it is equal to[6]
<math display="block">\mu _X(k) =\left( \frac{d_2}{d_1}\right)^k \frac{\Gamma \left(\tfrac{d_1}{2}+k\right) }{\Gamma \left(\tfrac{d_1}{2}\right)} \frac{\Gamma \left(\tfrac{d_2}{2}-k\right) }{\Gamma \left( \tfrac{d_2}{2}\right) }.</math>
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.,[3]). The correct expression [7] is
<math display="block">\varphi^F_{d_1, d_2}(s) = \frac{\Gamma{\left(\frac{d_1+d_2}{2}\right)}}{\Gamma{\left(\tfrac{d_2}{2}\right)}} U \! \left(\frac{d_1}{2},1-\frac{d_2}{2},-\frac{d_2}{d_1} \imath s \right)</math>
where Template:Tmath is the confluent hypergeometric function of the second kind.
Related distributions
Relation to the chi-squared distribution
In instances where the F-distribution is used, for example in the analysis of variance, independence of Template:Tmath and Template:Tmath (defined above) might be demonstrated by applying Cochran's theorem.
Equivalently, since the chi-squared distribution is the sum of squares of independent standard normal random variables, the random variable of the F-distribution may also be written <math display="block">X = \frac{s_1^2}{\sigma_1^2} \div \frac{s_2^2}{\sigma_2^2},</math>
where <math display="inline">s_1^2 = \frac{S_1^2}{d_1}</math> and Template:Tmath, <math>S_1^2</math> is the sum of squares of <math>d_1</math> random variables from normal distribution <math>N(0,\sigma_1^2)</math> and <math>S_2^2</math> is the sum of squares of <math>d_2</math> random variables from normal distribution Template:Tmath.
In a frequentist context, a scaled F-distribution therefore gives the probability Template:Tmath, with the F-distribution itself, without any scaling, applying where <math>\sigma_1^2</math> is being taken equal to Template:Tmath. 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 <math>X</math> has the same distribution in Bayesian statistics, if an uninformative rescaling-invariant Jeffreys prior is taken for the prior probabilities of <math>\sigma_1^2</math> and Template:Tmath.[8] In this context, a scaled F-distribution thus gives the posterior probability Template:Tmath, where the observed sums <math>s^2_1</math> and <math>s^2_2</math> are now taken as known.
In general
- If <math>X \sim \chi^2_{d_1}</math> and <math>Y \sim \chi^2_{d_2}</math> (Chi squared distribution) are independent, then Template:Tmath.
- If <math>X_k \sim \Gamma(\alpha_k,\beta_k)\,</math> (Gamma distribution) are independent, then Template:Tmath.
- If <math display="inline">X \sim \operatorname{Beta}\left({d_1\over2},{d_2\over2}\right)</math> (Beta distribution) then Template:Tmath.
- Equivalently, if Template:Tmath, then Template:Tmath.
- If Template:Tmath, then <math display="inline">\frac{d_1}{d_2}X</math> has a beta prime distribution: Template:Tmath.
- If <math>X \sim F(d_1, d_2)</math> then <math display="inline">Y = \lim_{d_2 \to \infty} d_1 X</math> has the chi-squared distribution Template:Tmath.
- <math>F(d_1, d_2)</math> is equivalent to the scaled Hotelling's T-squared distribution Template:Tmath.
- If <math>X \sim F(d_1, d_2)</math> then Template:Tmath.
- If Template:TmathTemplate:Snd Student's t-distributionTemplate:Snd then: <math display="block">\begin{align}
X^{2} &\sim \operatorname{F}(1, n), \\ X^{-2} &\sim \operatorname{F}(n, 1). \end{align}</math>
- F-distribution is a special case of type 6 Pearson distribution.
- If <math>X</math> and <math>Y</math> are independent, with Template:Tmath (Laplace distribution), then <math display="block"> \frac{|X-\mu|}{|Y-\mu|} \sim \operatorname{F}(2,2). </math>
- If <math>X\sim F(n,m)</math> then <math>\tfrac{\log{X}}{2} \sim \operatorname{FisherZ}(n,m)</math> (Fisher's z-distribution).
- The noncentral F-distribution simplifies to the F-distribution if Template:Tmath.
- The doubly noncentral F-distribution simplifies to the F-distribution if Template:Tmath
- If <math>\operatorname{Q}_X(p)</math> is the quantile Template:Tmath for <math>X\sim F(d_1,d_2)</math> and <math>\operatorname{Q}_Y(1-p)</math> is the quantile <math>1-p</math> for Template:Tmath, then <math display="block">\operatorname{Q}_X(p)=\frac{1}{\operatorname{Q}_Y(1-p)}.</math>
- F-distribution is an instance of ratio distributions.
- W-distribution is a unique parametrization of F-distribution.
See also
- Beta prime distribution
- Chi-square distribution
- Chow test
- Gamma distribution
- Hotelling's T-squared distribution
- Matrix F-distribution
- Wilks' lambda distribution
- Wishart distribution
References
External links
- Table of critical values of the F-distribution
- Earliest Uses of Some of the Words of Mathematics: entry on F-distribution contains a brief history
- Free calculator for F-testing
- ↑ Template:Cite journal
- ↑ 2.0 2.1 Template:Cite book
- ↑ 3.0 3.1 3.2 Template:Abramowitz Stegun ref
- ↑ NIST (2006). Engineering Statistics Handbook – F Distribution
- ↑ Template:Cite book
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ Phillips, P. C. B. (1982) "The true characteristic function of the F distribution," Biometrika, 69: 261–264 Template:JSTOR
- ↑ Template:Cite book