Function returning the density of an n
sample from the GP distribution.
gpd.ll.optim
returns the negative log likelihood parametrized in terms of log(scale)
and shape
in order to perform unconstrained optimization
Arguments
- par
vector of
scale
andshape
- dat
sample vector
- tol
numerical tolerance for the exponential model