gp_lrs | R Documentation |
Uses the Linear Combinations of Ratios of Spacings (LRS) methodology of (Reiss and Thomas, 2007, page 134) to estimate the parameters of the generalised Pareto (GP) distribution, based on a sample of positive values.
gp_lrs(x)
x |
A numeric vector containing only positive values, assumed to be a random sample from a generalized Pareto distribution. |
A numeric vector of length 2. The estimates of the scale parameter
\sigma
and the shape parameter \xi
.
Reiss, R.-D., Thomas, M. (2007) Statistical Analysis of Extreme Values with Applications to Insurance, Finance, Hydrology and Other Fields.Birkhauser. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/978-3-7643-7399-3")}.
gp
for details of the parameterisation of the GP
distribution.
u <- quantile(gom, probs = 0.65)
gp_lrs((gom - u)[gom > u])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.