For a random variable X with mean μ, variance σ², and cumulants κn, its value yp at quantile p can be estimated as where:
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.
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:
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.
- 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. 5 (4): 307–320. doi:10.2307/1400905. JSTOR 1400905.
- Fisher, Ronald A.; Cornish, E. A. (1960). "The Percentile Points of Distributions Having Known Cumulants". Technometrics. 2 (2): 209–225. doi:10.2307/1266546. JSTOR 1266546.
- 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.
- 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.