In probability theory and statistics, the noncentral chi-squared distribution (or noncentral chi-square distribution, noncentral χ2 distribution) is a noncentral generalization of the chi-squared distribution. It often arises in the power analysis of statistical tests in which the null distribution is (perhaps asymptotically) a chi-squared distribution; important examples of such tests are the likelihood-ratio tests.
Definitions
Background Let (X1,X2,…,Xi,…,Xk) be k independent, normally distributed random variables with means μi and unit variances. Then the random variable
∑i=1kXi2 is distributed according to the noncentral chi-squared distribution. It has two parameters: k which specifies the number of degrees of freedom (i.e. the number of Xi), and λ which is related to the mean of the random variables Xi by:
λ=∑i=1kμi2. λ is sometimes called the noncentrality parameter. Note that some references define λ in other ways, such as half of the above sum, or its square root. This distribution arises in multivariate statistics as a derivative of the multivariate normal distribution. While the central chi-squared distribution is the squared norm of a random vector with N(0k,Ik) distribution (i.e., the squared distance from the origin to a point taken at random from that distribution), the non-central χ2 is the squared norm of a random vector with N(μ,Ik) distribution. Here 0k is a zero vector of length k, μ=(μ1,…,μk) and Ik is the identity matrix of size k.
Density The probability density function (pdf) is given by
fX(x;k,λ)=∑i=0∞e−λ/2(λ/2)ii!fYk+2i(x), where Yq is distributed as chi-squared with q degrees of freedom. From this representation, the noncentral chi-squared distribution is seen to be a Poisson-weighted mixture of central chi-squared distributions. Suppose that a random variable J has a Poisson distribution with mean λ/2, and the conditional distribution of Z given J = i is chi-squared with k + 2i degrees of freedom. Then the unconditional distribution of Z is non-central chi-squared with k degrees of freedom, and non-centrality parameter λ. Alternatively, the pdf can be written as
fX(x;k,λ)=12e−(x+λ)/2(xλ)k/4−1/2Ik/2−1(λx) where Iν(y) is a modified Bessel function of the first kind given by
Iν(y)=(y/2)ν∑j=0∞(y2/4)jj!Γ(ν+j+1). Using the relation between Bessel functions and hypergeometric functions, the pdf can also be written as:
fX(x;k,λ)=e−λ/20F1(;k/2;λx/4)12k/2Γ(k/2)e−x/2xk/2−1. The case k = 0 (zero degrees of freedom), in which case the distribution has a discrete component at zero, is discussed by Torgersen (1972) and further by Siegel (1979).
Derivation of the pdf The derivation of the probability density function is most easily done by performing the following steps:
Since X1,…,Xk have unit variances, their joint distribution is spherically symmetric, up to a location shift. The spherical symmetry then implies that the distribution of X=X12+⋯+Xk2 depends on the means only through the squared length, λ=μ12+⋯+μk2. Without loss of generality, we can therefore take μ1=λ and μ2=⋯=μk=0. Now derive the density of X=X12 (i.e. the k = 1 case). Simple transformation of random variables shows that fX(x,1,λ)=12x(ϕ(x−λ)+ϕ(x+λ))=12πxe−(x+λ)/2cosh(λx), where ϕ(⋅) is the standard normal density. Expand the cosh term in a Taylor series. This gives the Poisson-weighted mixture representation of the density, still for k = 1. The indices on the chi-squared random variables in the series above are 1 + 2i in this case. Finally, for the general case. We've assumed, without loss of generality, that X2,…,Xk are standard normal, and so X22+⋯+Xk2 has a central chi-squared distribution with (k − 1) degrees of freedom, independent of X12. Using the poisson-weighted mixture representation for X12, and the fact that the sum of chi-squared random variables is also a chi-square, completes the result. The indices in the series are (1 + 2i) + (k − 1) = k + 2i as required.
Properties
Moment generating function The moment-generating function is given by
M(t;k,λ)=exp(λt1−2t)(1−2t)k/2.
Moments The first few raw moments are:
μ'1=k+λ μ'2=(k+λ)2+2(k+2λ) μ'3=(k+λ)3+6(k+λ)(k+2λ)+8(k+3λ) μ'4=(k+λ)4+12(k+λ)2(k+2λ)+4(11k2+44kλ+36λ2)+48(k+4λ). The first few central moments are:
μ2=2(k+2λ) μ3=8(k+3λ) μ4=12(k+2λ)2+48(k+4λ) The nth cumulant is
κn=2n−1(n−1)!(k+nλ). Hence
μ'n=2n−1(n−1)!(k+nλ)+∑j=1n−1(n−1)!2j−1(n−j)!(k+jλ)μ'n−j.
Cumulative distribution function Again using the relation between the central and noncentral chi-squared distributions, the cumulative distribution function (cdf) can be written as
P(x;k,λ)=e−λ/2∑j=0∞(λ/2)jj!Q(x;k+2j) where Q(x;k) is the cumulative distribution function of the central chi-squared distribution with k degrees of freedom which is given by
Q(x;k)=γ(k/2,x/2)Γ(k/2) and where γ(k,z) is the lower incomplete gamma function. The Marcum Q-function QM(a,b) can also be used to represent the cdf.
P(x;k,λ)=1−Qk2(λ,x) When the degrees of freedom k is positive odd integer, we have a closed form expression for the complementary cumulative distribution function given by
P(x;2n+1,λ)=1−Qn+1/2(λ,x)=1−[Q(x−λ)+Q(x+λ)+e−(x+λ)/2∑m=1n(xλ)m/2−1/4Im−1/2(λx)], where n is non-negative integer, Q is the Gaussian Q-function, and I is the modified Bessel function of first kind with half-integer order. The modified Bessel function of first kind with half-integer order in itself can be represented as a finite sum in terms of hyperbolic functions. In particular, for k = 1, we have
P(x;1,λ)=1−[Q(x−λ)+Q(x+λ)]. Also, for k = 3, we have
P(x;3,λ)=1−[Q(x−λ)+Q(x+λ)+2πsinh(λx)λe−(x+λ)/2].
Approximation (including for quantiles) Abdel-Aty derives (as "first approx.") a non-central Wilson–Hilferty transformation: (χ'2k+λ)13 is approximately normally distributed, ∼𝒩(1−29f,29f), i.e.,
P(x;k,λ)≈Φ{(xk+λ)1/3−(1−29f)29f},where f:=(k+λ)2k+2λ=k+λ2k+2λ, which is quite accurate and well adapting to the noncentrality. Also, f=f(k,λ) becomes f=k for λ=0, the (central) chi-squared case. Sankaran discusses a number of closed form approximations for the cumulative distribution function. In an earlier paper, he derived and states the following approximation:
P(x;k,λ)≈Φ{(xk+λ)h−(1+hp(h−1−0.5(2−h)mp))h2p(1+0.5mp)} where
… excerpt ends here. Continue reading the full article.


