Computes the second risk measure due to Wang (1998)
wangg2(spec, alpha, a, b, ...)
a character string specifying the distribution (for example, "norm" corresponds to the standard normal)
a real valued parameter taking values in (0, 1), see Chan and Nadarajah for details
the lower end point of the distribution specified by spec
the upper end point of the distribution specified by spec
other parameters
An object of the same length as alpha
, giving Wang (1998)'s second risk measure of the distribution specified by spec
S. Chan and S. Nadarajah, Risk: An R package for risk measures, submitted
S. Wang, An actuarial index of the right-tail risk, North American Actuarial Journal, 2, 1998, 88-101 <DOI:10.1080/10920277.1998.10595708>