gpd_lg_likelihood: Negative Log likelihood of Generalized Pareto Distribution
Description
Helper function for pot_estimator(). Returns the \(\xi\) and \(\beta\) that minimize the negative log-likelihood of the Generalized Pareto Distribution (GPD).
Usage
gpd_lg_likelihood(params, data)
Value
Negative log-likelihood of the GPD.
Arguments
params
Vector containing initial values of \(\xi\) and \(\beta\)