Computes expected shortfall for a given ditribution
esg(spec, alpha, ...)a character string specifying the distribution (for example, "norm" corresponds to the standard normal)
the probabilities associated with expected shortfall
other parameters
An object of the same length as alpha, giving expected shortfall computed.
S. Chan and S. Nadarajah, Risk: An R package for risk measures, submitted
P. Artzner, F. Delbaen, J. M. Eber and D. Heath, Coherent measures of risk, Mathematical Finance, 9, 1999, 203-228 <DOI:10.1111/1467-9965.00068>