Chi distribution

From testwiki
Revision as of 22:53, 23 November 2024 by imported>Fgnievinski
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Refimprove Template:Probability distribution

In probability theory and statistics, the chi distribution is a continuous probability distribution over the non-negative real line. It is the distribution of the positive square root of a sum of squared independent Gaussian random variables. Equivalently, it is the distribution of the Euclidean distance between a multivariate Gaussian random variable and the origin. The chi distribution describes the positive square roots of a variable obeying a chi-squared distribution.

If Z1,,Zk are k independent, normally distributed random variables with mean 0 and standard deviation 1, then the statistic

Y=i=1kZi2

is distributed according to the chi distribution. The chi distribution has one positive integer parameter k, which specifies the degrees of freedom (i.e. the number of random variables Zi).

The most familiar examples are the Rayleigh distribution (chi distribution with two degrees of freedom) and the Maxwell–Boltzmann distribution of the molecular speeds in an ideal gas (chi distribution with three degrees of freedom).

Definitions

Probability density function

The probability density function (pdf) of the chi-distribution is

f(x;k)={xk1ex2/22k/21Γ(k2),x0;0,otherwise.

where Γ(z) is the gamma function.

Cumulative distribution function

The cumulative distribution function is given by:

F(x;k)=P(k/2,x2/2)

where P(k,x) is the regularized gamma function.

Generating functions

The moment-generating function is given by:

M(t)=M(k2,12,t22)+t2Γ((k+1)/2)Γ(k/2)M(k+12,32,t22),

where M(a,b,z) is Kummer's confluent hypergeometric function. The characteristic function is given by:

φ(t;k)=M(k2,12,t22)+it2Γ((k+1)/2)Γ(k/2)M(k+12,32,t22).

Properties

Moments

The raw moments are then given by:

μj=0f(x;k)xjdx=2j/2  Γ(12(k+j)) Γ(12k)

where  Γ(z)  is the gamma function. Thus the first few raw moments are:

μ1=2   Γ(12(k+1)) Γ(12k)
μ2=k ,
μ3=22   Γ(12(k+3)) Γ(12k)=(k+1) μ1 ,
μ4=(k)(k+2) ,
μ5=42   Γ(12(k+5)) Γ(12k)=(k+1)(k+3) μ1 ,
μ6=(k)(k+2)(k+4) ,

where the rightmost expressions are derived using the recurrence relationship for the gamma function:

Γ(x+1)=x Γ(x).

From these expressions we may derive the following relationships:

Mean: μ=2   Γ(12(k+1)) Γ(12k) , which is close to k12   for large Template:Mvar.

Variance: V=kμ2 , which approaches  12  as Template:Mvar increases.

Skewness: γ1=μ σ3 (12σ2).

Kurtosis excess: γ2=2 σ2 (1μ σ γ1σ2).

Entropy

The entropy is given by:

S=ln(Γ(k/2))+12(kln(2)(k1)ψ0(k/2))

where ψ0(z) is the polygamma function.

Large n approximation

We find the large n=k+1 approximation of the mean and variance of chi distribution. This has application e.g. in finding the distribution of standard deviation of a sample of normally distributed population, where n is the sample size.

The mean is then:

μ=2Γ(n/2)Γ((n1)/2)

We use the Legendre duplication formula to write:

2n2Γ((n1)/2)Γ(n/2)=πΓ(n1),

so that:

μ=2/π2n2(Γ(n/2))2Γ(n1)

Using Stirling's approximation for Gamma function, we get the following expression for the mean:

μ=2/π2n2(2π(n/21)n/21+1/2e(n/21)[1+112(n/21)+O(1n2)])22π(n2)n2+1/2e(n2)[1+112(n2)+O(1n2)]
=(n2)1/2[1+14n+O(1n2)]=n1(11n1)1/2[1+14n+O(1n2)]
=n1[112n+O(1n2)][1+14n+O(1n2)]
=n1[114n+O(1n2)]

And thus the variance is:

V=(n1)μ2=(n1)12n[1+O(1n)]
Various chi and chi-squared distributions
Name Statistic
chi-squared distribution i=1k(Xiμiσi)2
noncentral chi-squared distribution i=1k(Xiσi)2
chi distribution i=1k(Xiμiσi)2
noncentral chi distribution i=1k(Xiσi)2

References

Template:Reflist

  • Martha L. Abell, James P. Braselton, John Arthur Rafter, John A. Rafter, Statistics with Mathematica (1999), 237f.
  • Jan W. Gooch, Encyclopedic Dictionary of Polymers vol. 1 (2010), Appendix E, p. 972.

Template:ProbDistributions