Tutorials › Statistical Theory I - Probability and Distribution Theory › Cumulant Expansion for Dependent Sums

Cumulants and Their Algebra · Tutorial 536 of 994

Cumulant Expansion for Dependent Sums

Learn to expand a sum’s cumulants into ordered joint cumulants and use the resulting formulas to calculate variance and third cumulants under dependence.

Advanced 10 min read

What You'll Learn

  • Define joint cumulants through derivatives of the joint cumulant-generating function
  • Derive the order-r cumulant expansion for a finite dependent sum
  • Interpret repeated indices and their multiplicities in the expansion
  • Calculate the variance of a sum using all pairwise covariances
  • Expand the third cumulant into ordered third-order joint cumulants
  • Check dependent-sum calculations against explicit distributions

Why Dependence Changes a Sum’s Cumulants

For independent random variables, cumulants of a sum add one variable at a time. Dependence changes that picture: the sum’s cumulants also include terms describing interactions among distinct variables. For variance, those terms are covariances. At order three, they include mixed third-order joint cumulants.

The key is to keep track of every ordered choice of variables. Some choices repeat an index, such as \((X_1,X_1,X_2)\); others use distinct indices. The expansion below counts all of them, so multiplicities arise automatically rather than being added by guesswork.

Joint Cumulants and the Sum Expansion

Let \(X_1,\ldots,X_m\) have a joint moment-generating function that is finite on an open neighborhood of the origin. Write their joint cumulant-generating function as

$$ K(t_1,\ldots,t_m) = \log E\left[\exp\left(\sum_{j=1}^m t_jX_j\right)\right]. $$

For an ordered list of indices \(i_1,\ldots,i_r\), each between \(1\) and \(m\), the corresponding order-\(r\) joint cumulant is

$$ \kappa(X_{i_1},\ldots,X_{i_r}) = \left. \frac{\partial^r K(t_1,\ldots,t_m)} {\partial t_{i_1}\cdots\partial t_{i_r}} \right|_{(t_1,\ldots,t_m)=(0,\ldots,0)}. $$

Indices in this definition may repeat. For example, \(\kappa(X_1,X_1,X_2)\) is an order-three joint cumulant, not an order-two cumulant. The moment-generating-function condition ensures that the derivatives used here exist and that \(K\) is smooth near the origin.

Theorem: Under the joint moment-generating-function condition above, for \(S=\sum_{j=1}^m X_j\) and every integer \(r\geq 1\), $$ \kappa_r(S) = \sum_{i_1=1}^m\cdots\sum_{i_r=1}^m \kappa(X_{i_1},\ldots,X_{i_r}). $$ The sum is over all \(m^r\) ordered \(r\)-tuples of indices, including tuples with repeated indices.

To prove the formula, evaluate the joint cumulant-generating function along the diagonal:

$$ K_S(t) = \log E[e^{tS}] = K(t,\ldots,t). $$

Define \(g(t)=K(t,\ldots,t)\). Differentiating a function along this diagonal applies the operator \(D=\sum_{j=1}^m \partial/\partial t_j\) to \(K\). Repeating that operation \(r\) times gives

$$ g^{(r)}(0) = \left. \left(\sum_{j=1}^m\frac{\partial}{\partial t_j}\right)^r K(t_1,\ldots,t_m) \right|_{(0,\ldots,0)} = \sum_{i_1=1}^m\cdots\sum_{i_r=1}^m \left. \frac{\partial^r K} {\partial t_{i_1}\cdots\partial t_{i_r}} \right|_{(0,\ldots,0)}. $$

The derivatives can be taken in any order because \(K\) has continuous derivatives of these orders near the origin. By definition, \(g^{(r)}(0)=\kappa_r(S)\), and each term in the final sum is the joint cumulant indexed by its ordered tuple. This proves the expansion. \(\square\)

The theorem does not assume independence. If some variables are independent, certain mixed cumulants vanish, but without independence the mixed terms must generally be retained.

Variance and Third-Cumulant Forms

At order two, a joint cumulant is a covariance, including when the two arguments are the same: \(\kappa(X_i,X_j)=\operatorname{Cov}(X_i,X_j)\). Therefore the expansion gives

$$ \operatorname{Var}(S) = \sum_{i=1}^m\sum_{j=1}^m\operatorname{Cov}(X_i,X_j) = \sum_{i=1}^m\operatorname{Var}(X_i) + 2\sum_{1\leq i<j\leq m}\operatorname{Cov}(X_i,X_j). $$

The last equality uses the symmetry \(\operatorname{Cov}(X_i,X_j)=\operatorname{Cov}(X_j,X_i)\). Each distinct pair occurs twice in the ordered double sum, once in each order.

At order three, the joint cumulant has the explicit form

$$ \begin{aligned} \kappa(X_i,X_j,X_k) ={}&E[X_iX_jX_k] -E[X_i]E[X_jX_k] -E[X_j]E[X_iX_k]\\ &-E[X_k]E[X_iX_j] +2E[X_i]E[X_j]E[X_k]. \end{aligned} $$

Equivalently, it is the third mixed central moment:

$$ \kappa(X_i,X_j,X_k) = E\left[(X_i-E[X_i])(X_j-E[X_j])(X_k-E[X_k])\right]. $$

This follows by centering the variables in the defining log moment-generating function. The centered variables have mean zero, so in the degree-three term of the log expansion, only the joint third moment remains. In particular, with all three arguments equal, the third cumulant is the third central moment. Applying the sum expansion yields

$$ \kappa_3(S) = \sum_{i=1}^m\sum_{j=1}^m\sum_{k=1}^m E\left[(X_i-E[X_i])(X_j-E[X_j])(X_k-E[X_k])\right]. $$

Repeated indices matter here too. For two variables \(X\) and \(Y\), the eight ordered triples group into four types:

$$ \kappa_3(X+Y) = \kappa_3(X)+3\kappa(X,X,Y)+3\kappa(X,Y,Y)+\kappa_3(Y). $$

There are three placements of the single \(Y\) in a triple with two \(X\)'s, and three placements of the single \(X\) in a triple with two \(Y\)'s. These are the source of the coefficients 3.

Worked Example: Variance and Third Cumulant from a Joint Bernoulli Law

Let \(X\) and \(Y\) be Bernoulli variables with joint probabilities \(P(X=1,Y=1)=0.3\), \(P(X=1,Y=0)=0.2\), \(P(X=0,Y=1)=0.1\), and \(P(X=0,Y=0)=0.4\). Find the variance and third cumulant of \(S=X+Y\).

The marginal success probabilities are \(P(X=1)=0.3+0.2=0.5\) and \(P(Y=1)=0.3+0.1=0.4\). Thus

$$ \operatorname{Var}(X)=0.5(0.5)=0.25, \qquad \operatorname{Var}(Y)=0.4(0.6)=0.24. $$

Also \(E[XY]=P(X=1,Y=1)=0.3\), so

$$ \operatorname{Cov}(X,Y)=E[XY]-E[X]E[Y] =0.3-(0.5)(0.4)=0.1. $$

The variance expansion gives \(\operatorname{Var}(S)=0.25+0.24+2(0.1)=0.69\). Check this from the distribution: \(S\) is 0, 1, or 2 with probabilities \(0.4,0.3,0.3\). Hence \(E[S]=0.9\), \(E[S^2]=0.3+4(0.3)=1.5\), and \(\operatorname{Var}(S)=1.5-(0.9)^2=0.69\).

For the third cumulant, \(\kappa_3(X)=0\) because \(X\) is Bernoulli with success probability \(0.5\), and \(\kappa_3(Y)=0.4(0.6)(1-2(0.4))=0.048\). Since \((X-0.5)^2=0.25\) for both values of \(X\),

$$ \kappa(X,X,Y) = E[(X-0.5)^2(Y-0.4)] = 0.25E[Y-0.4]=0. $$

For a Bernoulli variable with success probability \(p\), its centered square satisfies \((Y-p)^2=p(1-p)+(1-2p)(Y-p)\). With \(p=0.4\), this gives

$$ \kappa(X,Y,Y) = E[(X-0.5)(Y-0.4)^2] = 0.2\operatorname{Cov}(X,Y)=0.02. $$

Consequently,

$$ \kappa_3(S) = 0+3(0)+3(0.02)+0.048 = 0.108. $$

Directly, the centered values of \(S\) are \(-0.9,0.1,1.1\), with probabilities \(0.4,0.3,0.3\). Their third moment is \(0.4(-0.9)^3+0.3(0.1)^3+0.3(1.1)^3=0.108\), confirming the expansion.

Worked Example: A Sum of Identical Dependent Variables

Let \(Z\sim\operatorname{Bernoulli}(0.25)\), and set \(X_1=X_2=X_3=Z\). These variables are completely dependent. For \(S=X_1+X_2+X_3=3Z\), calculate the second and third cumulants from the ordered-tuple expansion.

There are \(3^2=9\) ordered pairs, and every pair contributes \(\kappa_2(Z)=0.25(0.75)=3/16\). Thus \(\operatorname{Var}(S)=9(3/16)=27/16\). This agrees with \(S=3Z\), whose variance is \(9\operatorname{Var}(Z)=27/16\).

There are \(3^3=27\) ordered triples. Every triple contributes \(\kappa_3(Z)=0.25(0.75)(1-2(0.25))=3/32\). Therefore

$$ \kappa_3(S)=27\left(\frac{3}{32}\right)=\frac{81}{32}. $$

As a direct check, the third cumulant of \(3Z\) is \(3^3\kappa_3(Z)=27(3/32)=81/32\). The number 27 counts ordered triples, not just the possible patterns of repeated indices.

Worked Example: Covariance Terms in a Three-Variable Sum

Let \(U\) and \(V\) be independent Rademacher variables, each taking \(1\) and \(-1\) with probability \(1/2\). Define \(X_1=U\), \(X_2=U+V\), and \(X_3=V\). Find the variance and third cumulant of \(S=X_1+X_2+X_3\).

Each variable has mean zero. Their variances are \(1,2,1\). The covariances are \(\operatorname{Cov}(X_1,X_2)=E[U(U+V)]=1\), \(\operatorname{Cov}(X_1,X_3)=E[UV]=0\), and \(\operatorname{Cov}(X_2,X_3)=E[(U+V)V]=1\), using independence and the zero means. Hence

$$ \operatorname{Var}(S) = 1+2+1+2(1+0+1)=8. $$

Indeed \(S=2U+2V\), so independence gives \(\operatorname{Var}(S)=4\operatorname{Var}(U)+4\operatorname{Var}(V)=8\). Finally, the joint distribution of \((U,V)\) is unchanged by replacing \((U,V)\) with \((-U,-V)\). This sends \(S\) to \(-S\), so \(S\) has a symmetric distribution about zero and \(E[S^3]=0\). Since \(E[S]=0\), \(\kappa_3(S)=0\). The order-three expansion therefore sums to zero, although its individual mixed terms need not all vanish.

Common Mistake: Keeping Only the Individual Cumulants

A tempting but incorrect step is to write \(\kappa_r(X_1+\cdots+X_m)=\sum_i\kappa_r(X_i)\) for dependent variables. That identity omits every mixed joint cumulant. It is valid when the variables are independent, because the joint cumulants involving more than one independent component vanish; it is not a general rule for dependent sums.

For variance, the omission is immediately visible: leaving out covariances would give \(0.25+0.24=0.49\) in the Bernoulli example, rather than the correct \(0.69\). At order three, mixed terms can add to or subtract from the individual third cumulants. The reliable procedure is to write the ordered-index sum first, then use independence or other structure to identify which terms are zero.

Key takeaway: The order-\(r\) cumulant of a finite sum is the sum of all order-\(r\) joint cumulants over ordered index tuples. At order two this includes pairwise covariances; at order three it includes mixed central third moments, with multiplicities determined by the number of ordered tuples.

Check Your Understanding

Use the ordered-tuple expansion to answer each question.

  1. For \(S=X_1+X_2+X_3\), how many ordered terms appear in the expansion of \(\kappa_3(S)\)?
  2. Write the variance of \(X_1+X_2+X_3\) in terms of the individual variances and distinct pairwise covariances.
  3. Why does the order-three expansion for \(X+Y\) contain a coefficient of 3 on each mixed-cumulant type?
  4. For dependent \(X\) and \(Y\), what terms are omitted by the claim \(\kappa_3(X+Y)=\kappa_3(X)+\kappa_3(Y)\)?
  5. If \(X_1=X_2=Z\), how many ordered pairs contribute to the variance expansion, and what is each pair’s covariance?