# Cornish–Fisher expansion

The Cornish–Fisher expansion is an asymptotic expansion used to approximate the quantiles of a probability distribution based on its cumulants.[1][2][3]

## Definition

For a random variable X with mean μ, variance σ², and cumulants κn, its value yp at quantile p can be estimated as ${\displaystyle y_{p}\approx \mu +\sigma w}$ where:[3]

{\displaystyle {\begin{aligned}w&=&x&+\left[\gamma _{1}h_{1}(x)\right]\\&&&+\left[\gamma _{2}h_{2}(x)+\gamma _{1}^{2}h_{11}(x)\right]\\&&&+\left[\gamma _{3}h_{3}(x)+\gamma _{1}\gamma _{2}h_{12}(x)+\gamma _{1}^{3}h_{111}(x)\right]\\&&&+\cdots \\\end{aligned}}}
{\displaystyle {\begin{aligned}x&=\Phi ^{-1}(p)\\\gamma _{r-2}&={\frac {\kappa _{r}}{\kappa _{2}^{r/2}}};\;r\in \{3,4,\ldots \}\\h_{1}(x)&={\frac {\mathrm {He} _{2}(x)}{6}}\\h_{2}(x)&={\frac {\mathrm {He} _{3}(x)}{24}}\\h_{11}(x)&=-{\frac {\left[2\mathrm {He} _{3}(x)+\mathrm {He} _{1}(x)\right]}{36}}\\h_{3}(x)&={\frac {\mathrm {He} _{4}(x)}{120}}\\h_{12}(x)&=-{\frac {\left[\mathrm {He} _{4}(x)+\mathrm {He} _{2}(x)\right]}{24}}\\h_{111}(x)&={\frac {\left[12\mathrm {He} _{4}(x)+19\mathrm {He} _{2}(x)\right]}{324}}\end{aligned}}}

where Hen is the nth probabilists' Hermite polynomial. The values γ1 and γ2 are the random variable's skewness and (excess) kurtosis respectively. The value(s) in each set of brackets are the terms for that level of polynomial estimation, and all must be calculated and combined for the Cornish–Fisher expansion at that level to be valid.

## Example

Let X be a random variable with mean 10, variance 25, skew 5, and excess kurtosis of 2. We can use the first two bracketed terms above, which depend only on skew and kurtosis, to estimate quantiles of this random variable. For the 95th percentile, the value for which the standard normal cumulative distribution function is 0.95 is 1.644854, which will be x. The w weight can be calculated as:

{\displaystyle {\begin{aligned}1.644854&+5\cdot {\frac {1.644854^{2}-1}{6}}\\&+2\cdot {\frac {1.644854^{3}-3\cdot 1.644854}{24}}-5^{2}{\frac {2\cdot 1.644854^{3}-5\cdot 1.644854}{36}}\end{aligned}}}

or about 2.55621. So the estimated 95th percentile of X is 10 + 5×2.55621 or about 22.781. For comparison, the 95th percentile of a normal random variable with mean 10 and variance 25 would be about 18.224; it makes sense that the normal random variable has a lower 95th percentile value, as the normal distribution has no skew or excess kurtosis, and so has a thinner tail than the random variable X.

## References

1. ^ Cornish, E. A.; Fisher, Ronald A. (1938). "Moments and Cumulants in the Specification of Distributions". Revue de l'Institut International de Statistique / Review of the International Statistical Institute. International Statistical Institute. 5 (4): 307–320. doi:10.2307/1400905. JSTOR 1400905.
2. ^ Fisher, Ronald A.; Cornish, E. A. (1960). "The Percentile Points of Distributions Having Known Cumulants". Technometrics. American Statistical Association and American Society for Quality. 2 (2): 209–225. doi:10.2307/1266546. JSTOR 1266546.
3. ^ a b Abramowitz, Milton; Stegun, Irene (1964). "26. Probability Functions". Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. Dover Publications. p. 935. Retrieved September 17, 2014.