Characteristic function (probability theory)
In probability theory and statistics, the characteristic function of any real-valued random variable completely defines its probability distribution. If a random variable admits a probability density function, then the characteristic function is the Fourier transform (with sign reversal) of the probability density function. Thus it provides an alternative route to analytical results compared with working directly with probability density functions or cumulative distribution functions. There are particularly simple results for the characteristic functions of distributions defined by the weighted sums of random variables.
In addition to univariate distributions, characteristic functions can be defined for vector- or matrix-valued random variables, and can also be extended to more generic cases.
The characteristic function always exists when treated as a function of a real-valued argument, unlike the moment-generating function. There are relations between the behavior of the characteristic function of a distribution and properties of the distribution, such as the existence of moments and the existence of a density function.
Introduction
The characteristic function is a way to describe a random variable Template:Mvar. The characteristic function,
a function of Template:Mvar, determines the behavior and properties of the probability distribution of Template:Mvar. It is equivalent to a probability density function or cumulative distribution function, since knowing one of these functions allows computation of the others, but they provide different insights into the features of the random variable. In particular cases, one or another of these equivalent functions may be easier to represent in terms of simple standard functions.
If a random variable admits a density function, then the characteristic function is its Fourier dual, in the sense that each of them is a Fourier transform of the other. If a random variable has a moment-generating function , then the domain of the characteristic function can be extended to the complex plane, and
Note however that the characteristic function of a distribution is well defined for all real values of Template:Mvar, even when the moment-generating function is not well defined for all real values of Template:Mvar.
The characteristic function approach is particularly useful in analysis of linear combinations of independent random variables: a classical proof of the Central Limit Theorem uses characteristic functions and Lévy's continuity theorem. Another important application is to the theory of the decomposability of random variables.
Definition
For a scalar random variable Template:Mvar the characteristic function is defined as the expected value of eitXScript error: No such module "Check for unknown parameters"., where Template:Mvar is the imaginary unit, and t ∈ RScript error: No such module "Check for unknown parameters". is the argument of the characteristic function:
Here FXScript error: No such module "Check for unknown parameters". is the cumulative distribution function of Template:Mvar, fXScript error: No such module "Check for unknown parameters". is the corresponding probability density function, QX(p)Script error: No such module "Check for unknown parameters". is the corresponding inverse cumulative distribution function also called the quantile function,[1] and the integrals are of the Riemann–Stieltjes kind. If a random variable Template:Mvar has a probability density function then the characteristic function is its Fourier transform with sign reversal in the complex exponential.[2]Template:Sfnp This convention for the constants appearing in the definition of the characteristic function differs from the usual convention for the Fourier transform.Template:Sfnp For example, some authorsTemplate:Sfnp define φX(t) = E[e−2πitX]Script error: No such module "Check for unknown parameters"., which is essentially a change of parameter. Other notation may be encountered in the literature: as the characteristic function for a probability measure Template:Mvar, or as the characteristic function corresponding to a density Template:Mvar.
Script error: No such module "anchor". Generalizations
The notion of characteristic functions generalizes to multivariate random variables and more complicated random elements. The argument of the characteristic function will always belong to the continuous dual of the space where the random variable Template:Mvar takes its values. For common cases such definitions are listed below:
- If Template:Mvar is a Template:Mvar-dimensional random vector, then for t ∈ RkScript error: No such module "Check for unknown parameters". where is the transpose of the vector ,
- If Template:Mvar is a k × pScript error: No such module "Check for unknown parameters".-dimensional random matrix, then for t ∈ Rk×pScript error: No such module "Check for unknown parameters". where is the trace operator,
- If Template:Mvar is a complex random variable, then for t ∈ CScript error: No such module "Check for unknown parameters".Template:Sfnp where is the complex conjugate of and is the real part of the complex number ,
- If Template:Mvar is a Template:Mvar-dimensional complex random vector, then for t ∈ CkScript error: No such module "Check for unknown parameters". Template:Sfnp where is the conjugate transpose of the vector ,
- If X(s)Script error: No such module "Check for unknown parameters". is a stochastic process, then for all functions t(s)Script error: No such module "Check for unknown parameters". such that the integral converges for almost all realizations of Template:MvarTemplate:Sfnp
Examples
| Distribution | Characteristic function |
|---|---|
| Degenerate δaScript error: No such module "Check for unknown parameters". | |
| Bernoulli Bern(p)Script error: No such module "Check for unknown parameters". | |
| Binomial B(n, p)Script error: No such module "Check for unknown parameters". | |
| Negative binomial NB(r, p)Script error: No such module "Check for unknown parameters". | |
| Poisson Pois(λ)Script error: No such module "Check for unknown parameters". | |
| Uniform (continuous) U(a, b)Script error: No such module "Check for unknown parameters". | |
| Uniform (discrete) DU(a, b)Script error: No such module "Check for unknown parameters". | |
| Laplace L(μ, b)Script error: No such module "Check for unknown parameters". | |
| Logistic Logistic(μ,s)Script error: No such module "Check for unknown parameters". |
|
| Normal N(μ, σ2)Script error: No such module "Check for unknown parameters". | |
| Chi-squared χ2kScript error: No such module "Check for unknown parameters". | |
| Noncentral chi-squared | |
| Generalized chi-squared | |
| Cauchy C(μ, θ)Script error: No such module "Check for unknown parameters". | |
| Gamma Γ(k, θ)Script error: No such module "Check for unknown parameters". | |
| Exponential Exp(λ)Script error: No such module "Check for unknown parameters". | |
| Geometric Gf(p)Script error: No such module "Check for unknown parameters". (number of failures) |
|
| Geometric Gt(p)Script error: No such module "Check for unknown parameters". (number of trials) |
|
| Multivariate normal N(μ, Σ)Script error: No such module "Check for unknown parameters". | |
| Multivariate Cauchy MultiCauchy(μ, Σ)Script error: No such module "Check for unknown parameters".[3] |
Oberhettinger (1973) provides extensive tables of characteristic functions.
Properties
- The characteristic function of a real-valued random variable always exists, since it is an integral of a bounded continuous function over a space whose measure is finite.
- A characteristic function is uniformly continuous on the entire space.
- It is non-vanishing in a region around zero: φ(0) = 1Script error: No such module "Check for unknown parameters"..
- It is bounded: Template:Abs ≤ 1Script error: No such module "Check for unknown parameters"..
- It is Hermitian: φ(−t) = φ(t)Script error: No such module "Check for unknown parameters".. In particular, the characteristic function of a symmetric (around the origin) random variable is real-valued and even.
- There is a bijection between probability distributions and characteristic functions. That is, for any two random variables X1Script error: No such module "Check for unknown parameters"., X2Script error: No such module "Check for unknown parameters"., both have the same probability distribution if and only if . Script error: No such module "Unsubst".
- If a random variable Template:Mvar has moments up to Template:Mvar-th order, then the characteristic function φXScript error: No such module "Check for unknown parameters". is Template:Mvar times continuously differentiable on the entire real line. In this case
- If a characteristic function φXScript error: No such module "Check for unknown parameters". has a Template:Mvar-th derivative at zero, then the random variable Template:Mvar has all moments up to Template:Mvar if Template:Mvar is even, but only up to k – 1Script error: No such module "Check for unknown parameters". if Template:Mvar is odd.Template:Sfnp
- If X1, ..., XnScript error: No such module "Check for unknown parameters". are independent random variables, and a1, ..., anScript error: No such module "Check for unknown parameters". are some constants, then the characteristic function of the linear combination of the XiScript error: No such module "Check for unknown parameters". variables is One specific case is the sum of two independent random variables X1Script error: No such module "Check for unknown parameters". and X2Script error: No such module "Check for unknown parameters". in which case one has
- Let and be two random variables with characteristic functions and . and are independent if and only if .
- The tail behavior of the characteristic function determines the smoothness of the corresponding density function.
- Let the random variable be the linear transformation of a random variable . The characteristic function of is . For random vectors and (where Template:Mvar is a constant matrix and Template:Mvar a constant vector), we have .[4]
Continuity
The bijection stated above between probability distributions and characteristic functions is sequentially continuous. That is, whenever a sequence of distribution functions Fj(x)Script error: No such module "Check for unknown parameters". converges (weakly) to some distribution F(x)Script error: No such module "Check for unknown parameters"., the corresponding sequence of characteristic functions φj(t)Script error: No such module "Check for unknown parameters". will also converge, and the limit φ(t)Script error: No such module "Check for unknown parameters". will correspond to the characteristic function of law Template:Mvar. More formally, this is stated as
- Lévy’s continuity theorem: A sequence XjScript error: No such module "Check for unknown parameters". of Template:Mvar-variate random variables converges in distribution to random variable Template:Mvar if and only if the sequence φXjScript error: No such module "Check for unknown parameters". converges pointwise to a function Template:Mvar which is continuous at the origin. Where Template:Mvar is the characteristic function of Template:Mvar.Template:Sfnp
This theorem can be used to prove the law of large numbers and the central limit theorem.
Inversion formula
There is a one-to-one correspondence between cumulative distribution functions and characteristic functions, so it is possible to find one of these functions if we know the other. The formula in the definition of characteristic function allows us to compute Template:Mvar when we know the distribution function Template:Mvar (or density Template:Mvar). If, on the other hand, we know the characteristic function Template:Mvar and want to find the corresponding distribution function, then one of the following inversion theorems can be used.
Theorem. If the characteristic function φXScript error: No such module "Check for unknown parameters". of a random variable Template:Mvar is integrable, then FXScript error: No such module "Check for unknown parameters". is absolutely continuous, and therefore Template:Mvar has a probability density function. In the univariate case (i.e. when Template:Mvar is scalar-valued) the density function is given by
In the multivariate case it is
where is the dot product.
The density function is the Radon–Nikodym derivative of the distribution μXScript error: No such module "Check for unknown parameters". with respect to the Lebesgue measure Template:Mvar:
Theorem (Lévy).Template:NoteTag If φXScript error: No such module "Check for unknown parameters". is characteristic function of distribution function FXScript error: No such module "Check for unknown parameters"., two points a < bScript error: No such module "Check for unknown parameters". are such that Template:MsetScript error: No such module "Check for unknown parameters". is a continuity set of μXScript error: No such module "Check for unknown parameters". (in the univariate case this condition is equivalent to continuity of FXScript error: No such module "Check for unknown parameters". at points Template:Mvar and Template:Mvar), then
- If Template:Mvar is scalar: This formula can be re-stated in a form more convenient for numerical computation asTemplate:Sfnp For a random variable bounded from below one can obtain by taking such that Otherwise, if a random variable is not bounded from below, the limit for gives , but is numerically impractical.Template:Sfnp
- If Template:Mvar is a vector random variable:
Theorem. If Template:Mvar is (possibly) an atom of Template:Mvar (in the univariate case this means a point of discontinuity of FXScript error: No such module "Check for unknown parameters".) then
- If Template:Mvar is scalar:
- If Template:Mvar is a vector random variable:Template:Sfnp
Theorem (Gil-Pelaez).Template:Sfnp For a univariate random variable Template:Mvar, if Template:Mvar is a continuity point of FXScript error: No such module "Check for unknown parameters". then
where the imaginary part of a complex number is given by .
And its density function is:
The integral may be not Lebesgue-integrable; for example, when Template:Mvar is the discrete random variable that is always 0, it becomes the Dirichlet integral.
Inversion formulas for multivariate distributions are available.Template:SfnpTemplate:Sfnp
Criteria for characteristic functions
The set of all characteristic functions is closed under certain operations:
- A convex linear combination (with ) of a finite or a countable number of characteristic functions is also a characteristic function.
- The product of a finite number of characteristic functions is also a characteristic function. The same holds for an infinite product provided that it converges to a function continuous at the origin.
- If Template:Mvar is a characteristic function and Template:Mvar is a real number, then , Re(φ), Template:Abs2Script error: No such module "Check for unknown parameters"., and φ(αt)Script error: No such module "Check for unknown parameters". are also characteristic functions.
It is well known that any non-decreasing càdlàg function Template:Mvar with limits F(−∞) = 0Script error: No such module "Check for unknown parameters"., F(+∞) = 1Script error: No such module "Check for unknown parameters". corresponds to a cumulative distribution function of some random variable. There is also interest in finding similar simple criteria for when a given function Template:Mvar could be the characteristic function of some random variable. The central result here is Bochner’s theorem, although its usefulness is limited because the main condition of the theorem, non-negative definiteness, is very hard to verify. Other theorems also exist, such as Khinchine’s, Mathias’s, or Cramér’s, although their application is just as difficult. Pólya’s theorem, on the other hand, provides a very simple convexity condition which is sufficient but not necessary. Characteristic functions which satisfy this condition are called Pólya-type.Template:Sfnp
Bochner’s theorem. An arbitrary function φ : Rn → CScript error: No such module "Check for unknown parameters". is the characteristic function of some random variable if and only if Template:Mvar is positive definite, continuous at the origin, and if φ(0) = 1Script error: No such module "Check for unknown parameters"..
Khinchine’s criterion. A complex-valued, absolutely continuous function Template:Mvar, with φ(0) = 1Script error: No such module "Check for unknown parameters"., is a characteristic function if and only if it admits the representation
Mathias’ theorem. A real-valued, even, continuous, absolutely integrable function Template:Mvar, with φ(0) = 1Script error: No such module "Check for unknown parameters"., is a characteristic function if and only if
for n = 0,1,2,...Script error: No such module "Check for unknown parameters"., and all p > 0Script error: No such module "Check for unknown parameters".. Here H2nScript error: No such module "Check for unknown parameters". denotes the Hermite polynomial of degree 2nScript error: No such module "Check for unknown parameters"..
Pólya’s theorem. If is a real-valued, even, continuous function which satisfies the conditions
- ,
- is convex for ,
- ,
then φ(t)Script error: No such module "Check for unknown parameters". is the characteristic function of an absolutely continuous distribution symmetric about 0.
Uses
Because of the continuity theorem, characteristic functions are used in the most frequently seen proof of the central limit theorem. The main technique involved in making calculations with a characteristic function is recognizing the function as the characteristic function of a particular distribution.
Basic manipulations of distributions
Characteristic functions are particularly useful for dealing with linear functions of independent random variables. For example, if X1Script error: No such module "Check for unknown parameters"., X2Script error: No such module "Check for unknown parameters"., ..., XnScript error: No such module "Check for unknown parameters". is a sequence of independent (and not necessarily identically distributed) random variables, and
where the aiScript error: No such module "Check for unknown parameters". are constants, then the characteristic function for SnScript error: No such module "Check for unknown parameters". is given by
In particular, φX+Y(t) = φX(t)φY(t)Script error: No such module "Check for unknown parameters".. To see this, write out the definition of characteristic function:
The independence of Template:Mvar and Template:Mvar is required to establish the equality of the third and fourth expressions.
Another special case of interest for identically distributed random variables is when ai = 1 / nScript error: No such module "Check for unknown parameters". and then Sn is the sample mean. In this case, writing XScript error: No such module "Check for unknown parameters". for the mean,
Moments
Characteristic functions can also be used to find moments of a random variable. Provided that the Template:Mvar-th moment exists, the characteristic function can be differentiated Template:Mvar times:
This can be formally written using the derivatives of the Dirac delta function:which allows a formal solution to the moment problem. For example, suppose Template:Mvar has a standard Cauchy distribution. Then φX(t) = e−|t|Script error: No such module "Check for unknown parameters".. This is not differentiable at t = 0Script error: No such module "Check for unknown parameters"., showing that the Cauchy distribution has no expectation. Also, the characteristic function of the sample mean XScript error: No such module "Check for unknown parameters". of Template:Mvar independent observations has characteristic function φX(t) = (e−|t|/n)n = e−|t|Script error: No such module "Check for unknown parameters"., using the result from the previous section. This is the characteristic function of the standard Cauchy distribution: thus, the sample mean has the same distribution as the population itself.
As a further example, suppose Template:Mvar follows a Gaussian distribution i.e. . Then and
A similar calculation shows and is easier to carry out than applying the definition of expectation and using integration by parts to evaluate .
The logarithm of a characteristic function is a cumulant generating function, which is useful for finding cumulants; some instead define the cumulant generating function as the logarithm of the moment-generating function, and call the logarithm of the characteristic function the second cumulant generating function.
Data analysis
Characteristic functions can be used as part of procedures for fitting probability distributions to samples of data. Cases where this provides a practicable option compared to other possibilities include fitting the stable distribution since closed form expressions for the density are not available which makes implementation of maximum likelihood estimation difficult. Estimation procedures are available which match the theoretical characteristic function to the empirical characteristic function, calculated from the data. Paulson et al. (1975)Template:Sfnp and Heathcote (1977)Template:Sfnp provide some theoretical background for such an estimation procedure. In addition, Yu (2004)Template:Sfnp describes applications of empirical characteristic functions to fit time series models where likelihood procedures are impractical. Empirical characteristic functions have also been used by Ansari et al. (2020)Template:Sfnp and Li et al. (2020)Template:Sfnp for training generative adversarial networks.
Example
The gamma distribution with scale parameter θ and a shape parameter Template:Mvar has the characteristic function
Now suppose that we have
with Template:Mvar and Template:Mvar independent from each other, and we wish to know what the distribution of X + YScript error: No such module "Check for unknown parameters". is. The characteristic functions are
which by independence and the basic properties of characteristic function leads to
This is the characteristic function of the gamma distribution scale parameter Template:Mvar and shape parameter k1 + k2Script error: No such module "Check for unknown parameters"., and we therefore conclude
The result can be expanded to Template:Mvar independent gamma distributed random variables with the same scale parameter and we get
Entire characteristic functions
Script error: No such module "Unsubst". As defined above, the argument of the characteristic function is treated as a real number: however, certain aspects of the theory of characteristic functions are advanced by extending the definition into the complex plane by analytic continuation, in cases where this is possible.Template:Sfnp
Related concepts
Related concepts include the moment-generating function and the probability-generating function. The characteristic function exists for all probability distributions. This is not the case for the moment-generating function.
The characteristic function is closely related to the Fourier transform: the characteristic function of a probability density function p(x)Script error: No such module "Check for unknown parameters". is the complex conjugate of the continuous Fourier transform of p(x)Script error: No such module "Check for unknown parameters". (according to the usual convention; see continuous Fourier transform – other conventions).
where P(t)Script error: No such module "Check for unknown parameters". denotes the continuous Fourier transform of the probability density function p(x)Script error: No such module "Check for unknown parameters".. Likewise, p(x)Script error: No such module "Check for unknown parameters". may be recovered from φX(t)Script error: No such module "Check for unknown parameters". through the inverse Fourier transform:
Indeed, even when the random variable does not have a density, the characteristic function may be seen as the Fourier transform of the measure corresponding to the random variable.
Another related concept is the representation of probability distributions as elements of a reproducing kernel Hilbert space via the kernel embedding of distributions. This framework may be viewed as a generalization of the characteristic function under specific choices of the kernel function.
See also
- Subindependence, a weaker condition than independence, that is defined in terms of characteristic functions.
- Cumulant, a term of the cumulant generating functions, which are logs of the characteristic functions.
Notes
References
Citations
<templatestyles src="Reflist/styles.css" />
- ↑ Script error: No such module "citation/CS1".
- ↑ Template:Harvp
- ↑ Template:Harvp using 1 as the number of degree of freedom to recover the Cauchy distribution
- ↑ Script error: No such module "citation/CS1".
Script error: No such module "Check for unknown parameters".
Sources
<templatestyles src="Refbegin/styles.css" />
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "Citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "Citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "Citation/CS1".
- Script error: No such module "Citation/CS1".
- Script error: No such module "Citation/CS1".
- Script error: No such module "Citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".