apaGPest(Returns)
Excel
=apaGPest(Returns)Result
Estimates the scale parameter sigma and the shape parameter eta of the generalized Pareto distribution by maximum likelihood, for non-negative exceedances.
Syntax
Returns: r x 1 vector of non-negative exceedances (e.g. losses beyond a threshold).
Algorithm
A numerical maximum likelihood estimation is performed and the two parameters are returned in a column vector:
Scale parameter (a dispersion measure comparable to volatility).
Shape parameter (short-, thin- and fat-tailed distributions).
