In
probability theory and
statistics
Statistics (from German language, German: ''wikt:Statistik#German, Statistik'', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of ...
, the chi distribution is a continuous
probability distribution
In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomenon i ...
. It is the distribution of the positive square root of the sum of squares of a set of independent random variables each following a standard
normal distribution
In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is
:
f(x) = \frac e^
The parameter \mu ...
, or equivalently, the distribution of the
Euclidean distance of the random variables from the origin. It is thus related to the
chi-squared distribution by describing the distribution of the positive square roots of a variable obeying a chi-squared distribution.
If
are
independent,
normally distributed random variables with mean 0 and
standard deviation
In statistics, the standard deviation is a measure of the amount of variation or dispersion of a set of values. A low standard deviation indicates that the values tend to be close to the mean (also called the expected value) of the set, while ...
1, then the statistic
:
is distributed according to the chi distribution. The chi distribution has one parameter,
, which specifies the number of
degrees of freedom
Degrees of freedom (often abbreviated df or DOF) refers to the number of independent variables or parameters of a thermodynamic system. In various scientific fields, the word "freedom" is used to describe the limits to which physical movement or ...
(i.e. the number of random variables
).
The most familiar examples are the
Rayleigh distribution (chi distribution with two
degrees of freedom
Degrees of freedom (often abbreviated df or DOF) refers to the number of independent variables or parameters of a thermodynamic system. In various scientific fields, the word "freedom" is used to describe the limits to which physical movement or ...
) 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
:
where
is the
gamma function
In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except ...
.
Cumulative distribution function
The cumulative distribution function is given by:
:
where
is the
regularized gamma function
In mathematics, the upper and lower incomplete gamma functions are types of special functions which arise as solutions to various mathematical problems such as certain integrals.
Their respective names stem from their integral definitions, which ...
.
Generating functions
The
moment-generating function is given by:
:
where
is Kummer's
confluent hypergeometric function. The
characteristic function is given by:
:
Properties
Moments
The raw
moments are then given by:
:
where
is the
gamma function
In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except ...
. Thus the first few raw moments are:
:
:
:
:
:
:
where the rightmost expressions are derived using the recurrence relationship for the gamma function:
:
From these expressions we may derive the following relationships:
Mean:
, which is close to
for large ''k''
Variance:
, which approaches
as ''k'' increases
Skewness:
Kurtosis excess:
Entropy
The entropy is given by:
:
where
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:
:
We use the
Legendre duplication formula to write:
:
,
so that:
:
Using
Stirling's approximation for Gamma function, we get the following expression for the mean:
:
::