The Gram–Charlier A series (named in honor of Jørgen Pedersen Gram and Carl Charlier), and the Edgeworth series (named in honor of Francis Ysidro Edgeworth) are series that approximate a probability distribution in terms of its cumulants. The series are the same; but, the arrangement of terms (and thus the accuracy of truncating the series) differ.
Gram–Charlier A series
The key idea of these expansions is to write the characteristic function of the distribution whose probability density function F is to be approximated in terms of the characteristic function of a distribution with known and suitable properties, and to recover F through the inverse Fourier transform.
We examine a continuous random variable. Let be the characteristic function of its distribution whose density function is F, and its cumulants. We expand in terms of a known distribution with probability density function Ψ, characteristic function ψ, and cumulants . The density Ψ is generally chosen to be that of the normal distribution, but other choices are possible as well. By the definition of the cumulants, we have (see Wallace, 1958)
which gives the following formal identity:
By the properties of the Fourier transform, is the Fourier transform of , where D is the differential operator with respect to x. Thus, after changing with on both sides of the equation, we find for F the formal expansion
If Ψ is chosen as the normal density with mean and variance as given by F, that is, mean and variance , then the expansion becomes
since for all r >2 as higher cumulants of the normal distribution are 0. By expanding the exponential and collecting terms according to the order of the derivatives, we arrive at the Gram–Charlier A series. If we include only the first two correction terms to the normal distribution, we obtain
with and (these are Hermite polynomials).
Note that this expression is not guaranteed to be positive, and is therefore not a valid probability distribution. The Gram–Charlier A series diverges in many cases of interest—it converges only if falls off faster than at infinity (Cramér 1957). When it does not converge, the series is also not a true asymptotic expansion, because it is not possible to estimate the error of the expansion. For this reason, the Edgeworth series (see next section) is generally preferred over the Gram–Charlier A series.
The Edgeworth series
Edgeworth developed a similar expansion as an improvement to the central limit theorem. The advantage of the Edgeworth series is that the error is controlled, so that it is a true asymptotic expansion.
Let be a sequence of independent and identically distributed random variables with mean and variance , and let be their standardized sums:
Let denote the cumulative distribution functions of the variables . Then by the central limit theorem,
for every , as long as the mean and variance are finite.
Now assume that, in addition to having mean and variance , the i.i.d. random variables have higher cumulants . If we expand in terms of the standard normal distribution, that is, if we set
then the cumulant differences in the formal expression of the characteristic function of are
The Edgeworth series is developed similarly to the Gram–Charlier A series, only that now terms are collected according to powers of . Thus, we have
where is a polynomial of degree . Again, after inverse Fourier transform, the density function follows as
The first five terms of the expansion are
Here, Φ(j)(x) is the j-th derivative of Φ(·) at point x. Remembering that the derivatives of the density of the normal distribution are related to the normal density by , (where is the Hermite polynomial of order n), this explains the alternative representations in terms of the density function. Blinnikov and Moessner (1998) have given a simple algorithm to calculate higher-order terms of the expansion.
Note that in case of a lattice distributions (which have discrete values), the Edgeworth expansion must be adjusted to account for the discontinuous jumps between lattice points.
Illustration: density of the sample mean of three 
Take and the sample mean .
We can use several distributions for :
- The exact distribution, which follows a gamma distribution: =
- The asymptotic normal distribution:
- Two Edgeworth expansion, of degree 2 and 3
Disadvantages of the Edgeworth expansion
Edgeworth expansions can suffer from a few issues:
- They are not guaranteed to be a proper probability distribution as:
- The integral of the density need not integrate to 1
- Probabilities can be negative
- They can be inaccurate, especially in the tails, due to mainly two reasons:
- They are obtained under a Taylor series around the mean
- They guarantee (asymptotically) an absolute error, not a relative one. This is an issue when one wants to approximate very small quantities, for which the absolute error might be small, but the relative error important.
- Stuart, A., & Kendall, M. G. (1968). The advanced theory of statistics. Hafner Publishing Company.
- Kolassa, J. E. (2006). Series approximation methods in statistics (Vol. 88). Springer Science & Business Media.
- Wallace, D. L. (1958). Asymptotic approximations to distributions. The Annals of Mathematical Statistics, 635-654.
- Hall, P. (2013). The bootstrap and Edgeworth expansion. Springer Science & Business Media.
- Weisstein, Eric W. "Edgeworth Series". MathWorld.
- Kolassa, John E.; McCullagh, Peter (1990). "Edgeworth series for lattice distributions". Annals of Statistics. 18 (2): 981–985. doi:10.1214/aos/1176347637. JSTOR 2242145.
- H. Cramér. (1957). Mathematical Methods of Statistics. Princeton University Press, Princeton.
- Wallace, D. L. (1958). "Asymptotic approximations to distributions". Annals of Mathematical Statistics. 29: 635–654. doi:10.1214/aoms/1177706528.
- M. Kendall & A. Stuart. (1977), The advanced theory of statistics, Vol 1: Distribution theory, 4th Edition, Macmillan, New York.
- P. McCullagh (1987). Tensor Methods in Statistics. Chapman and Hall, London.
- D. R. Cox and O. E. Barndorff-Nielsen (1989). Asymptotic Techniques for Use in Statistics. Chapman and Hall, London.
- P. Hall (1992). The Bootstrap and Edgeworth Expansion. Springer, New York.
- Hazewinkel, Michiel, ed. (2001) , "Edgeworth series", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4
- Blinnikov, S.; Moessner, R. (1998). "Expansions for nearly Gaussian distributions" (PDF). Astronomy and Astrophysics Supplement Series. 130: 193–205. doi:10.1051/aas:1998221.
- Martin, Douglas; Arora, Rohit (2017). "Inefficiency and bias of modified value-at-risk and expected shortfall". Journal of Risk. 19 (6): 59–84. doi:10.21314/JOR.2017.365.
- J. E. Kolassa (2006). Series Approximation Methods in Statistics (3rd ed.). (Lecture Notes in Statistics #88). Springer, New York.