In probability theory and statistics, the noncentral F-distribution is a continuous probability distribution that is a noncentral generalization of the (ordinary) F-distribution. It describes the distribution of the quotient (X/n1)/(Y/n2), where the numerator X has a noncentral chi-squared distribution with n1 degrees of freedom and the denominator Y has a central chi-squared distribution with n2 degrees of freedom. It is also required that X and Y are statistically independent of each other.
It is the distribution of the test statistic in analysis of variance problems when the null hypothesis is false. The noncentral F-distribution is used to find the power function of such a test.
If
X
λ
\nu1
Y
\nu2
X
F= | X/\nu1 |
Y/\nu2 |
| |||||||||||||
p(f) =\sum\limits | \left( | ||||||||||||
k=0 |
\nu1 | |
\nu2 |
| ||||||
\right) | \left( |
\nu2 | |
\nu2+\nu1f |
| |||||
\right) |
\nu1/2-1+k | |
f |
f\ge0
\nu1
\nu2
B(x,y)
B(x,y)= | \Gamma(x)\Gamma(y) |
\Gamma(x+y) |
.
The cumulative distribution function for the noncentral F-distribution is
F(x\midd1,d2,λ)=\sum\limits
| ||||||||
j=0 |
e-λ/2\right)I\left(
d1x | | | |
d2+d1x |
d1 | +j, | |
2 |
d2 | |
2 |
\right)
I
The mean and variance of the noncentral F-distribution are
\operatorname{E}[F] \begin{cases} =
\nu2(\nu1+λ) | |
\nu1(\nu2-2) |
&if\nu2>2\\ doesnotexist&if\nu2\le2\\ \end{cases}
\operatorname{Var}[F] \begin{cases} =2
| \left( | ||||||||||
|
\nu2 | |
\nu1 |
\right)2 &if\nu2>4\\ doesnotexist &if\nu2\le4.\\ \end{cases}
When λ = 0, the noncentral F-distribution becomes theF-distribution.
Z has a noncentral chi-squared distribution if
Z=\lim | |
\nu2\toinfty |
\nu1F
where F has a noncentral F-distribution.
See also noncentral t-distribution.
The noncentral F-distribution is implemented in the R language (e.g., pf function), in MATLAB (ncfcdf, ncfinv, ncfpdf, ncfrnd and ncfstat functions in the statistics toolbox) in Mathematica (NoncentralFRatioDistribution function), in NumPy (random.noncentral_f), and in Boost C++ Libraries.[2]
A collaborative wiki page implements an interactive online calculator, programmed in the R language, for the noncentral t, chi-squared, and F distributions, at the Institute of Statistics and Econometrics, School of Business and Economics, Humboldt-Universität zu Berlin.[3]