Plot of Emperical and Generalised Pareto mean excess functions
Plots of emperical mean excess function and Generalized mean excess function.
GParetoMEFPlot(Ra, mu, beta, zeta)
Ra
: Vector of daily Profit/Loss datamu
: Location parameterbeta
: Scale parameterzeta
: Assumed tail index# Computes ES assuming generalised Pareto for following parameters Ra <- 5 * rnorm(100) mu <- 0 beta <- 1.2 zeta <- 1.6 GParetoMEFPlot(Ra, mu, beta, zeta)
Dinesh Acharya
Dowd, K. Measuring Market Risk, Wiley, 2007.
Useful links