In
probability theory
Probability theory or probability calculus is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expre ...
and
statistics
Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
, the cumulants of a
probability distribution
In probability theory and statistics, a probability distribution is a Function (mathematics), function that gives the probabilities of occurrence of possible events for an Experiment (probability theory), experiment. It is a mathematical descri ...
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
A mean is a quantity representing the "center" of a collection of numbers and is intermediate to the extreme values of the set of numbers. There are several kinds of means (or "measures of central tendency") in mathematics, especially in statist ...
, the second cumulant is the
variance
In probability theory and statistics, variance is the expected value of the squared deviation from the mean of a random variable. The standard deviation (SD) is obtained as the square root of the variance. Variance is a measure of dispersion ...
, 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
Independence is a fundamental notion in probability theory, as in statistics and the theory of stochastic processes. Two event (probability theory), events are independent, statistically independent, or stochastically independent if, informally s ...
, 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
In probability theory and 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 ...
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''.
Definition
The cumulants of a random variable are defined using the cumulant-generating function , which is the
natural logarithm
The natural logarithm of a number is its logarithm to the base of a logarithm, base of the e (mathematical constant), mathematical constant , which is an Irrational number, irrational and Transcendental number, transcendental number approxima ...
of the
moment-generating function:
The cumulants are obtained from a
power series
In mathematics, a power series (in one variable) is an infinite series of the form
\sum_^\infty a_n \left(x - c\right)^n = a_0 + a_1 (x - c) + a_2 (x - c)^2 + \dots
where ''a_n'' represents the coefficient of the ''n''th term and ''c'' is a co ...
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:
If the moment-generating function does not exist, the cumulants can be defined in terms of the relationship between cumulants and moments discussed later.
Alternative definition of the cumulant generating function
Some writers prefer to define the cumulant-generating function as the natural logarithm of the
characteristic function In mathematics, the term "characteristic function" can refer to any of several distinct concepts:
* The indicator function of a subset, that is the function
\mathbf_A\colon X \to \,
which for a given subset ''A'' of ''X'', has value 1 at points ...
, which is sometimes also called the ''second'' characteristic function,
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
The Cauchy distribution, named after Augustin-Louis Cauchy, is a continuous probability distribution. It is also known, especially among physicists, as the Lorentz distribution (after Hendrik Lorentz), Cauchy–Lorentz distribution, Lorentz(ian) ...
(also called the Lorentzian) and more generally,
stable distribution
In probability theory, a distribution is said to be stable if a linear combination of two independent random variables with this distribution has the same distribution, up to location and scale parameters. A random variable is said to be st ...
s (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.
Some basic properties
The
th cumulant
of (the distribution of) a random variable
enjoys the following properties:
* If
and
is constant (i.e. not random) then
i.e. the cumulant is
translation invariant. (If
then we have
* If
is constant (i.e. not random) then
i.e. the
th cumulant is
homogeneous
Homogeneity and heterogeneity are concepts relating to the uniformity of a substance, process or image. A homogeneous feature is uniform in composition or character (i.e., color, shape, size, weight, height, distribution, texture, language, i ...
of degree
.
* If random variables
are independent then
That is, the cumulant is cumulative — hence the name.
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.
First several cumulants as functions of the moments
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.
*
mean
*
the variance, or second central moment.
*
the third central moment.
*
the fourth central moment minus three times the square of the second central moment. Thus this is the first case in which cumulants are not simply moments or central moments. The central moments of degree more than 3 lack the cumulative property.
*
Cumulants of some discrete probability distributions
* The constant random variables . The cumulant generating function is . The first cumulant is and the other cumulants are zero, .
* The
Bernoulli distribution
In probability theory and statistics, the Bernoulli distribution, named after Swiss mathematician Jacob Bernoulli, is the discrete probability distribution of a random variable which takes the value 1 with probability p and the value 0 with pro ...
s, (number of successes in one trial with probability of success). The cumulant generating function is . The first cumulants are and . The cumulants satisfy a recursion formula
* The
geometric distribution
In probability theory and statistics, the geometric distribution is either one of two discrete probability distributions:
* The probability distribution of the number X of Bernoulli trials needed to get one success, supported on \mathbb = \;
* T ...
s, (number of failures before one success with probability of success on each trial). The cumulant generating function is . The first cumulants are , and . Substituting gives and .
* The
Poisson distribution
In probability theory and statistics, the Poisson distribution () is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time if these events occur with a known const ...
s. The cumulant generating function is . All cumulants are equal to the parameter: .
* The
binomial distribution
In probability theory and statistics, the binomial distribution with parameters and is the discrete probability distribution of the number of successes in a sequence of statistical independence, independent experiment (probability theory) ...
s, (number of successes in
independent
Independent or Independents may refer to:
Arts, entertainment, and media Artist groups
* Independents (artist group), a group of modernist painters based in Pennsylvania, United States
* Independentes (English: Independents), a Portuguese artist ...
trials with probability of success on each trial). The special case is a Bernoulli distribution. Every cumulant is just times the corresponding cumulant of the corresponding Bernoulli distribution. The cumulant generating function is . The first cumulants are and . Substituting gives and . The limiting case is a Poisson distribution.
* The
negative binomial distribution
In probability theory and statistics, the negative binomial distribution, also called a Pascal distribution, is a discrete probability distribution that models the number of failures in a sequence of independent and identically distributed Berno ...
s, (number of failures before successes with probability of success on each trial). The special case is a geometric distribution. Every cumulant is just times the corresponding cumulant of the corresponding geometric distribution. The derivative of the cumulant generating function is . The first cumulants are , and . Substituting gives and . Comparing these formulas to those of the binomial distributions explains the name 'negative binomial distribution'. The
limiting case is a Poisson distribution.
Introducing the
variance-to-mean ratio
the above probability distributions get a unified formula for the derivative of the cumulant generating function:
The second derivative is
confirming 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
A conic section, conic or a quadratic curve is a curve obtained from a Conical surface, cone's surface intersecting a plane (mathematics), plane. The three types of conic section are the hyperbola, the parabola, and the ellipse; the circle is ...
by
eccentricity
Eccentricity or eccentric may refer to:
* Eccentricity (behavior), odd behavior on the part of a person, as opposed to being "normal"
Mathematics, science and technology Mathematics
* Off-Centre (geometry), center, in geometry
* Eccentricity (g ...
: circles , ellipses , parabolas , hyperbolas .
Cumulants of some continuous probability distributions
* For the
normal distribution
In probability theory and 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 ...
with
expected value
In probability theory, the expected value (also called expectation, expectancy, expectation operator, mathematical expectation, mean, expectation value, or first Moment (mathematics), moment) is a generalization of the weighted average. Informa ...
and
variance
In probability theory and statistics, variance is the expected value of the squared deviation from the mean of a random variable. The standard deviation (SD) is obtained as the square root of the variance. Variance is a measure of dispersion ...
, the cumulant generating function is . The first and second derivatives of the cumulant generating function are and . The cumulants are , , and . The special case is a constant random variable .
* The cumulants of the
uniform distribution on the interval are , where is the th
Bernoulli number.
* The cumulants of the
exponential distribution
In probability theory and statistics, the exponential distribution or negative exponential distribution is the probability distribution of the distance between events in a Poisson point process, i.e., a process in which events occur continuousl ...
with rate parameter are .
Some properties of the cumulant generating function
The cumulant generating function , if it exists, is
infinitely differentiable and
convex
Convex or convexity may refer to:
Science and technology
* Convex lens, in optics
Mathematics
* Convex set, containing the whole line segment that joins points
** Convex polygon, a polygon which encloses a convex set of points
** Convex polytop ...
, and passes through the origin. Its first derivative ranges monotonically in the open interval from the
infimum
In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique ...
to the
supremum
In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique, ...
of the support of the probability distribution, and its second derivative is strictly positive everywhere it is defined, except for the
degenerate distribution
In probability theory, a degenerate distribution on a measure space (E, \mathcal, \mu) is a probability distribution whose support is a null set with respect to \mu. For instance, in the -dimensional space endowed with the Lebesgue measure, an ...
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
A quantity is subject to exponential decay if it decreases at a rate proportional to its current value. Symbolically, this process can be expressed by the following differential equation, where is the quantity and (lambda
Lambda (; uppe ...
, that is, (''see
Big O notation
Big ''O'' notation is a mathematical notation that describes the asymptotic analysis, limiting behavior of a function (mathematics), function when the Argument of a function, argument tends towards a particular value or infinity. Big O is a memb ...
'')
where
is the
cumulative distribution function
In probability theory and statistics, the cumulative distribution function (CDF) of a real-valued random variable X, or just distribution function of X, evaluated at x, is the probability that X will take a value less than or equal to x.
Ever ...
. The cumulant-generating function will have
vertical asymptote(s) at the negative
supremum
In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique, ...
of such , if such a supremum exists, and at the
supremum
In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique, ...
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
In analytic geometry, an asymptote () of a curve is a line such that the distance between the curve and the line approaches zero as one or both of the ''x'' or ''y'' coordinates tends to infinity. In projective geometry and related contexts, ...
(s) whose slope is equal to the supremum or infimum of the support,
respectively, lying above both these lines everywhere. (The
integral
In mathematics, an integral is the continuous analog of a Summation, sum, which is used to calculate area, areas, volume, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental oper ...
s
yield 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.)
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.
Further properties of cumulants
A negative result
Given the results for the cumulants of the
normal distribution
In probability theory and 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 ...
, 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. The underlying result here is that the cumulant generating function cannot be a finite-order polynomial of degree greater than 2.
Cumulants and moments
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
In probability theory, the expected value (also called expectation, expectancy, expectation operator, mathematical expectation, mean, expectation value, or first Moment (mathematics), moment) is a generalization of the weighted average. Informa ...
; the second and third cumulants are respectively the second and third
central moments (the second central moment is the
variance
In probability theory and statistics, variance is the expected value of the squared deviation from the mean of a random variable. The standard deviation (SD) is obtained as the square root of the variance. Variance is a measure of dispersion ...
); 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
Faà di Bruno's formula is an identity in mathematics generalizing the chain rule to higher derivatives. It is named after , although he was not the first to state or prove the formula. In 1800, more than 50 years before Faà di Bruno, the French ...
for higher derivatives of composite functions. In general, we have
where
are incomplete (or partial)
Bell polynomials.
In the like manner, if the mean is given by
, the central moment generating function is given by
and 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, 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:
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 :
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
:
Cumulants and set-partitions
These polynomials have a remarkable
combinatorial
Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ...
interpretation: the coefficients count certain
partitions of sets. A general form of these polynomials is
where
* runs through the list of all partitions of a set of size ;
* "" means is one of the "blocks" into which the set is partitioned; and
* is the size of the set .
Thus each
monomial
In mathematics, a monomial is, roughly speaking, a polynomial which has only one term. Two definitions of a monomial may be encountered:
# A monomial, also called a power product or primitive monomial, is a product of powers of variables with n ...
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
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
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.
Cumulants and combinatorics
Further connection between cumulants and combinatorics can be found in the work of
Gian-Carlo Rota
Gian-Carlo Rota (April 27, 1932 – April 18, 1999) was an Italian-American mathematician and philosopher. He spent most of his career at the Massachusetts Institute of Technology, where he worked in combinatorics, functional analysis, proba ...
, where links to
invariant theory
Invariant theory is a branch of abstract algebra dealing with actions of groups on algebraic varieties, such as vector spaces, from the point of view of their effect on functions. Classically, the theory dealt with the question of explicit descr ...
,
symmetric function
In mathematics, a function of n variables is symmetric if its value is the same no matter the order of its arguments. For example, a function f\left(x_1,x_2\right) of two arguments is a symmetric function if and only if f\left(x_1,x_2\right) = f\ ...
s, and binomial sequences are studied via
umbral calculus.
Joint cumulants
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,
Note that
and, in particular
As with a single variable, the generating function and cumulant can instead be defined via
in which case
and
Repeated random variables and relation between the coefficients ''κ''''k''1, ..., ''k''''n''
Observe that
can also be written as
from which we conclude that
For example
and
In particular, the last equality shows that the cumulants of a single random variable are the joint cumulants of multiple copies of that random variable.
Relation with mixed moments
The joint cumulant of random variables can be expressed as an alternate sum of products of their
mixed moments, see Equation (3.2.7) in,
where runs through the list of all partitions of ; where runs through the list of all blocks of the partition ; and where is the number of parts in the partition.
For example,
is the expected value of
,
is the
covariance
In probability theory and statistics, covariance is a measure of the joint variability of two random variables.
The sign of the covariance, therefore, shows the tendency in the linear relationship between the variables. If greater values of one ...
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:
For example:
Further properties
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
In probability theory and statistics, covariance is a measure of the joint variability of two random variables.
The sign of the covariance, therefore, shows the tendency in the linear relationship between the variables. If greater values of one ...
. The familiar identity
generalizes to cumulants:
Conditional cumulants and the law of total cumulance
The
law of total expectation
The proposition in probability theory known as the law of total expectation, the law of iterated expectations (LIE), Adam's law, the tower rule, and the smoothing property of conditional expectation, among other names, states that if X is a random ...
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,
where
* the sum is over all
partitions of the set of indices, and
*
1, ...,
b are all of the "blocks" of the partition ; the expression indicates that the joint cumulant of the random variables whose indices are in that block of the partition.
Conditional cumulants and the conditional expectation
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
The results can also be extended to the exponential family.
Relation to statistical physics
In
statistical physics
In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. Sometimes called statistical physics or statistical thermodynamics, its applicati ...
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 is
where
= and is the
Boltzmann constant
The Boltzmann constant ( or ) is the proportionality factor that relates the average relative thermal energy of particles in a ideal gas, gas with the thermodynamic temperature of the gas. It occurs in the definitions of the kelvin (K) and the ...
and the notation
has been used rather than