In probability theory and statistics, the cumulants of a probability distribution are a set of quantities that provide an alternative to the moments of the distribution. Any two probability distributions whose moments are identical will have identical cumulants as well, and vice versa. The first cumulant is the mean, the second cumulant is the variance, and the third cumulant is the same as the third central moment. But fourth and higher-order cumulants are not equal to central moments. In some cases theoretical treatments of problems in terms of cumulants are simpler than those using moments. In particular, when two or more random variables are statistically independent, the th-order cumulant of their sum is equal to the sum of their th-order cumulants. As well, the third and higher-order cumulants of a normal distribution are zero, and it is the only distribution with this property.
Just as for moments, where joint moments are used for collections of random variables, it is possible to define joint cumulants.
The cumulants of a random variable are defined using the cumulant-generating function, which is the natural logarithm of the moment-generating function:
The cumulants are obtained from a power series expansion of the cumulant generating function:
This expansion is a Maclaurin series, so the th cumulant can be obtained by differentiating the above expansion times and evaluating the result at zero:[1]
If the moment-generating function does not exist, the cumulants can be defined in terms of the relationship between cumulants and moments discussed later.
Some writers[2] [3] prefer to define the cumulant-generating function as the natural logarithm of the characteristic function, which is sometimes also called the second characteristic function,[4] [5]
An advantage of —in some sense the function evaluated for purely imaginary arguments—is that is well defined for all real values of even when is not well defined for all real values of, such as can occur when there is "too much" probability that has a large magnitude. Although the function will be well defined, it will nonetheless mimic in terms of the length of its Maclaurin series, which may not extend beyond (or, rarely, even to) linear order in the argument , and in particular the number of cumulants that are well defined will not change. Nevertheless, even when does not have a long Maclaurin series, it can be used directly in analyzing and, particularly, adding random variables. Both the Cauchy distribution (also called the Lorentzian) and more generally, stable distributions (related to the Lévy distribution) are examples of distributions for which the power-series expansions of the generating functions have only finitely many well-defined terms.
The th cumulant of (the distribution of) a random variable enjoys the following properties:
The cumulative property follows quickly by considering the cumulant-generating function:so that each cumulant of a sum of independent random variables is the sum of the corresponding cumulants of the addends. That is, when the addends are statistically independent, the mean of the sum is the sum of the means, the variance of the sum is the sum of the variances, the third cumulant (which happens to be the third central moment) of the sum is the sum of the third cumulants, and so on for each order of cumulant.
A distribution with given cumulants can be approximated through an Edgeworth series.
All of the higher cumulants are polynomial functions of the central moments, with integer coefficients, but only in degrees 2 and 3 are the cumulants actually central moments.
Introducing the variance-to-mean ratiothe above probability distributions get a unified formula for the derivative of the cumulant generating function:
The second derivative isconfirming that the first cumulant is and the second cumulant is .
The constant random variables have .
The binomial distributions have so that .
The Poisson distributions have .
The negative binomial distributions have so that .
Note the analogy to the classification of conic sections by eccentricity: circles, ellipses, parabolas, hyperbolas .
The cumulant generating function, if it exists, is infinitely differentiable and convex, and passes through the origin. Its first derivative ranges monotonically in the open interval from the infimum to the supremum of the support of the probability distribution, and its second derivative is strictly positive everywhere it is defined, except for the degenerate distribution of a single point mass. The cumulant-generating function exists if and only if the tails of the distribution are majorized by an exponential decay, that is, (see Big O notation)where is the cumulative distribution function. The cumulant-generating function will have vertical asymptote(s) at the negative supremum of such, if such a supremum exists, and at the supremum of such, if such a supremum exists, otherwise it will be defined for all real numbers.
If the support of a random variable has finite upper or lower bounds, then its cumulant-generating function, if it exists, approaches asymptote(s) whose slope is equal to the supremum or infimum of the support,respectively, lying above both these lines everywhere. (The integralsyield the -intercepts of these asymptotes, since .)
For a shift of the distribution by, For a degenerate point mass at, the cumulant generating function is the straight line , and more generally, if and only if and are independent and their cumulant generating functions exist; (subindependence and the existence of second moments sufficing to imply independence.[6])
The natural exponential family of a distribution may be realized by shifting or translating, and adjusting it vertically so that it always passes through the origin: if is the pdf with cumulant generating function and is its natural exponential family, then and
If is finite for a range then if then is analytic and infinitely differentiable for . Moreover for real and is strictly convex, and is strictly increasing.
Given the results for the cumulants of the normal distribution, it might be hoped to find families of distributions for which for some, with the lower-order cumulants (orders 3 to) being non-zero. There are no such distributions.[7] The underlying result here is that the cumulant generating function cannot be a finite-order polynomial of degree greater than 2.
The moment generating function is given by:
So the cumulant generating function is the logarithm of the moment generating function
The first cumulant is the expected value; the second and third cumulants are respectively the second and third central moments (the second central moment is the variance); but the higher cumulants are neither moments nor central moments, but rather more complicated polynomial functions of the moments.
The moments can be recovered in terms of cumulants by evaluating the th derivative of at,
Likewise, the cumulants can be recovered in terms of moments by evaluating the th derivative of at,
The explicit expression for the th moment in terms of the first cumulants, and vice versa, can be obtained by using Faà di Bruno's formula for higher derivatives of composite functions. In general, we havewhere are incomplete (or partial) Bell polynomials.
In the like manner, if the mean is given by , the central moment generating function is given byand the th central moment is obtained in terms of cumulants as
Also, for, the th cumulant in terms of the central moments is The th moment is an th-degree polynomial in the first cumulants. The first few expressions are:
The "prime" distinguishes the moments from the central moments . To express the central moments as functions of the cumulants, just drop from these polynomials all terms in which appears as a factor:
Similarly, the th cumulant is an th-degree polynomial in the first non-central moments. The first few expressions are:
In general,[8] the cumulant is the determinant of a matrix:
To express the cumulants for as functions of the central moments, drop from these polynomials all terms in which μ'1 appears as a factor:
To express the cumulants for as functions of the standardized central moments, also set in the polynomials:
The cumulants can be related to the moments by differentiating the relationship with respect to, giving, which conveniently contains no exponentials or logarithms. Equating the coefficient of on the left and right sides and using gives the following formulas for :[9] These allow either or to be computed from the other using knowledge of the lower-order cumulants and moments. The corresponding formulas for the central moments for are formed from these formulas by setting and replacing each with for :
These polynomials have a remarkable combinatorial interpretation: the coefficients count certain partitions of sets. A general form of these polynomials is
Thus each monomial is a constant times a product of cumulants in which the sum of the indices is (e.g., in the term, the sum of the indices is 3 + 2 + 2 + 1 = 8; this appears in the polynomial that expresses the 8th moment as a function of the first eight cumulants). A partition of the integer corresponds to each term. The coefficient in each term is the number of partitions of a set of members that collapse to that partition of the integer when the members of the set become indistinguishable.
Further connection between cumulants and combinatorics can be found in the work of Gian-Carlo Rota, where links to invariant theory, symmetric functions, and binomial sequences are studied via umbral calculus.[10]
The joint cumulant of several random variables is defined as the coefficient in the Maclaurin series of the multivariate cumulant generating function, see Section 3.1 in,[11] Note thatand, in particularAs with a single variable, the generating function and cumulant can instead be defined via in which caseand
Observe that can also be written asfrom which we conclude thatFor exampleandIn particular, the last equality shows that the cumulants of a single random variable are the joint cumulants of multiple copies of that random variable.
The joint cumulant or random variables can be expressed as an alternate sum of products of their mixed moments, see Equation (3.2.7) in,[11]
-1 |
For example,is the expected value of ,is the covariance of and , and
For zero-mean random variables , any mixed moment of the form vanishes if is a partition of which contains a singleton .Hence, the expression of their joint cumulant in terms of mixed moments simplifies.For example, if X,Y,Z,W are zero mean random variables, we have
More generally, any coefficient of the Maclaurin series can also be expressed in terms of mixed moments, although there are no concise formulae.Indeed, as noted above, one can write it as a joint cumulant by repeating random variables appropriately, and then apply the above formula to express it in terms of mixed moments. For example
If some of the random variables are independent of all of the others, then any cumulant involving two (or more) independent random variables is zero.
The combinatorial meaning of the expression of mixed moments in terms of cumulants is easier to understand than that of cumulants in terms of mixed moments, see Equation (3.2.6) in:[11]
For example:
Another important property of joint cumulants is multilinearity:
Just as the second cumulant is the variance, the joint cumulant of just two random variables is the covariance. The familiar identitygeneralizes to cumulants:
The law of total expectation and the law of total variance generalize naturally to conditional cumulants. The case, expressed in the language of (central) moments rather than that of cumulants, says
In general,[12] where
For certain settings, a derivative identity can be established between the conditional cumulant and the conditional expectation. For example, suppose that where is standard normal independent of, then for any it holds that[13] The results can also be texted to the exponential family.[14]
In statistical physics many extensive quantities – that is quantities that are proportional to the volume or size of a given system – are related to cumulants of random variables. The deep connection is that in a large system an extensive quantity like the energy or number of particles can be thought of as the sum of (say) the energy associated with a number of nearly independent regions. The fact that the cumulants of these nearly independent random variables will (nearly) add make it reasonable that extensive quantities should be expected to be related to cumulants.
A system in equilibrium with a thermal bath at temperature have a fluctuating internal energy, which can be considered a random variable drawn from a distribution . The partition function of the system iswhere = and is the Boltzmann constant and the notation has been used rather than for the expectation value to avoid confusion with the energy, . Hence the first and second cumulant for the energy give the average energy and heat capacity.
The Helmholtz free energy expressed in terms offurther connects thermodynamic quantities with cumulant generating function for the energy. Thermodynamics properties that are derivatives of the free energy, such as its internal energy, entropy, and specific heat capacity, all can be readily expressed in terms of these cumulants. Other free energy can be a function of other variables such as the magnetic field or chemical potential , e.g.where is the number of particles and is the grand potential. Again the close relationship between the definition of the free energy and the cumulant generating function implies that various derivatives of this free energy can be written in terms of joint cumulants of and .
The history of cumulants is discussed by Anders Hald.[15] [16]
Cumulants were first introduced by Thorvald N. Thiele, in 1889, who called them semi-invariants.[17] They were first called cumulants in a 1932 paper by Ronald Fisher and John Wishart.[18] Fisher was publicly reminded of Thiele's work by Neyman, who also notes previous published citations of Thiele brought to Fisher's attention.[19] Stephen Stigler has said that the name cumulant was suggested to Fisher in a letter from Harold Hotelling. In a paper published in 1929, Fisher had called them cumulative moment functions.[20]
The partition function in statistical physics was introduced by Josiah Willard Gibbs in 1901. The free energy is often called Gibbs free energy. In statistical mechanics, cumulants are also known as Ursell functions relating to a publication in 1927.
More generally, the cumulants of a sequence, not necessarily the moments of any probability distribution, are, by definition,where the values of for are found formally, i.e., by algebra alone, in disregard of questions of whether any series converges. All of the difficulties of the "problem of cumulants" are absent when one works formally. The simplest example is that the second cumulant of a probability distribution must always be nonnegative, and is zero only if all of the higher cumulants are zero. Formal cumulants are subject to no such constraints.
In combinatorics, the th Bell number is the number of partitions of a set of size . All of the cumulants of the sequence of Bell numbers are equal to 1. The Bell numbers are the moments of the Poisson distribution with expected value 1.
For any sequence of scalars in a field of characteristic zero, being considered formal cumulants, there is a corresponding sequence of formal moments, given by the polynomials above. For those polynomials, construct a polynomial sequence in the following way. Out of the polynomialmake a new polynomial in these plus one additional variable :and then generalize the pattern. The pattern is that the numbers of blocks in the aforementioned partitions are the exponents on . Each coefficient is a polynomial in the cumulants; these are the Bell polynomials, named after Eric Temple Bell.
This sequence of polynomials is of binomial type. In fact, no other sequences of binomial type exist; every polynomial sequence of binomial type is completely determined by its sequence of formal cumulants.
In the above moment-cumulant formula\for joint cumulants, one sums over all partitions of the set . If instead, one sums only over the noncrossing partitions, then, by solving these formulae for the in terms of the moments, one gets free cumulants rather than conventional cumulants treated above. These free cumulants were introduced by Roland Speicher and play a central role in free probability theory.[21] [22] In that theory, rather than considering independence of random variables, defined in terms of tensor products of algebras of random variables, one considers instead free independence of random variables, defined in terms of free products of algebras.[22]
The ordinary cumulants of degree higher than 2 of the normal distribution are zero. The free cumulants of degree higher than 2 of the Wigner semicircle distribution are zero.[22] This is one respect in which the role of the Wigner distribution in free probability theory is analogous to that of the normal distribution in conventional probability theory.