Any moment of a Gaussian distribution can be computed from its mean and covariance. For instance,
E[ABC]=E[A]E[B]E[C]+E[A]Cov(B,C)+E[B]Cov(A,C)+E[C]Cov(A,B)
when (A,B,C) are jointly Gaussian, which can be derived from the fact that E[ABC]=0 when all variables are unbiased. However, the fourth moment may be a little less familiar. For unbiased and jointly Gaussian variables (A,B,C,D), we can show that
E[ABCD]=Cov(A,B)Cov(C,D)+Cov(A,C)Cov(B,D)+Cov(A,D)Cov(B,C).
Where does this expression come from?
The simplest way to compute moments is probably through the moment generating function
m(λ)=EX∼p[e⟨λ,X⟩].
For a centered Gaussian with covariance Σ, a little algebra gets us
m(λ)=exp(21λTΣλ).
In the case that X is real-valued, so λ and Σ=σ2 are scalars, developing the series gives
m(λ)=1+21(σλ)2+4!3(σλ)4+6!5×3(σλ)6+….
Thus, the second moment is σ2, the fourth moment is 3σ4, the sixth moment is 15σ6, and so on. In the multivariable case, we can write
m(λ)=r∑2rr!1(λTΣλ)r=r∑k!(k−1)!!⟨Σ⊗r,λ⊗k⟩
where k=2r and Σ⊗r is a symmetric tensor power of the second moment. Explicitly, if we view Σ⊗r as an ordinary tensor which happens to be symmetric, its value at an index π=(π(1),…,π(k)) is given by
(Σ⊗r)π=k!1g∑Σπ(g(1)),π(g(2))×⋯×Σπ(g(k−1)),π(g(k))
where g runs over all permutations of k elements.
This general expression for the higher moments isn't too surprising; how could you get a symmetric tensor of order k from the second moment besides by powering and symmetrizing? However, that explanation is a little vague, and the derivation with characteristic functions feels a little artificial. The following is a line of thought that helped clarified the story for me.
Let's think of a sum
Z=i=1∑NXi
of many unbiased i.i.d. samples (X1,X2,…). Let's see if we can understand why the higher moments of Z depend predominantly on the second moment of Xi without using the CLT.
We'll work with ordinary polynomials first. Take four linear functions a,b,c,d:Rd→R of our vector-valued variables, and consider
E[a(Z)b(Z)c(Z)d(Z)]=E[i∑a(Xi)i∑b(Xi)i∑c(Xi)i∑d(Xi)].
This develops into expectation of products a(Xπ(1))b(Xπ(2))c(Xπ(3))d(Xπ(4)) as π runs over sequences of indices. When a sample Xi appears alone in a product, the expectation of the whole product is zero. This leaves us with products involving either one or two distinct samples. Furthermore, the two-sample products occur more frequently:
E[a(Z)b(Z)c(Z)d(Z)]=N(N−1)E[a(X1)b(X1)c(X2)d(X2)]+N(N−1)E[a(X1)b(X2)c(X1)d(X2)]+N(N−1)E[a(X1)b(X2)c(X2)d(X1)]+NE[a(X1)b(X1)c(X1)d(X1)].
The first three terms can be evaluated in terms of the second moment of the population distribution, and correspond to our formula above for the fourth moment of a Gaussian. The last term, which depends on the fourth moment of the sample population, vanishes for large N when we divide Z by N.
These calculations can be done more generally using tensor products. For convenience, let's write symmetric tensor products as scalar products. The kth moment of Z expands as
EZk=π∑E[Xπ(1)…Xπ(k)],
where π runs over all k-long sequences of indices. Since the variables Xi are independent, each expectation in the sum above is a product of moments; for instance,
E[X1X1…Xk/2Xk/2]=(EXi2)k/2.
Just as in our previous example, some products of moments contribute more substantially than others when N is large. Specifically, a product will appear more times in our sum when it uses more distinct variables Xi.
Developing the exact expression for EZk is now a combinatorics problem. For each sequence (π(1),…,π(k)) involving ℓ distinct incides, let's consider the partition p(1)+⋯+p(ℓ)=k that describes the number of times π visits each index. We'll write
Mp=(EXip(1))…(EXip(ℓ))
for the contribution to the sum ∑πE[Xπ(1)…Xπ(k)] made by this sequence π. Let's also classify sequences by the ordered sets I describing which of the N indices they involve, and the order they introduce them.
For a given partition p(1)+⋯+p(ℓ) and an ordered set I of size ℓ, there are a certain number of sequences π associated with both. However, this number only depends on the partition p. (Specifically, this is the number of groupings of a k-element set into subsets with sizes agreeing with the partition p.) Meanwhile, the number of ordered sets of size ℓ grows with N; this is N(N−1)…(N−ℓ+1)=(N)ℓ. Overall, we get formulas like
EZ3EZ4EZ5EZ6=NM3=3M2,2(N)2+M4N=10M2,3(N)2+M5N=15M2,2,2(N)3+(15M2,4+10M3,3)(N)2+M6N.
If we divide Z by N, the formulas for even moments converge to quantities like 3M2,2 and 15M2,2,2, and formulas for odd moments converge to zero at rate O(1/N).
In some sense, I suppose this is an algebraic form of CLT; that is, we have explained why the expectation of a polynomial in Z/N converges to an expression that only involves the second moment of Xi. I wonder, are there other situations where a property of system with many "parts" can be seen as the contribution of many "pathways", and large parts of this contribution turn out to depend only on some restricted properties of the parts?