Next: get_informclass, Previous: get_forward_rate, Up: Octave Functions and Scripts [Contents][Index]
Return Value-at-risk (VAR) and expected shortfall (ES) according to a generalized Pareto distribution.
Implementation according to Risk Management and Financial Institutions by John C. Hull, 4th edition, Wiley 2015,
section 13.6, page 292ff.
Input and output variables:
Example call for calculation of VAR and ES for several confidence levels:
[VAR ES] = get_gpd_var(0.00001,1632.9,5930.8,[0.99;0.995;0.999],50000,1250)