Jump to content

F-distribution

From Wikipedia, the free encyclopedia

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.

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

X^{2} &\sim \operatorname{F}(1, n), \\ X^{-2} &\sim \operatorname{F}(n, 1). \end{align}</math>

See also

Template:Colbegin

Template:Colend

References

Template:Reflist

Template:ProbDistributions

  1. ↑ Template:Cite journal
  2. ↑ 2.0 2.1 Template:Cite book
  3. ↑ 3.0 3.1 3.2 Template:Abramowitz Stegun ref
  4. ↑ NIST (2006). Engineering Statistics Handbook – F Distribution
  5. ↑ Template:Cite book
  6. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  7. ↑ Phillips, P. C. B. (1982) "The true characteristic function of the F distribution," Biometrika, 69: 261–264 Template:JSTOR
  8. ↑ Template:Cite book