Generalized Pareto distribution

From testwiki
Jump to navigation Jump to search

Template:Short description Template:About Template:More citations needed Template:Infobox probability distribution

In statistics, the generalized Pareto distribution (GPD) is a family of continuous probability distributions. It is often used to model the tails of another distribution. It is specified by three parameters: location μ, scale σ, and shape ξ.[1][2] Sometimes it is specified by only scale and shape[3] and sometimes only by its shape parameter. Some references give the shape parameter as κ=−ξ.[4] This parameterization was introduced by James Pickands III [5].

Definition

The cumulative distribution function of X∼GPD(μ,σ,ξ) (μ∈ℝ, σ>0, and ξ∈ℝ) is

Fμ,σ,ξ(x)={1−(1+ξx−μσ)−1/ξfor ξ≠0,1−exp⁡(−x−μσ)for ξ=0,

where the support of Template:Mvar is x≥μ when ξ≥0, and μ≤x≤μ−σ/ξ when ξ<0.

The probability density function (pdf) of X∼GPD(μ,σ,ξ) is

fμ,σ,ξ(x)={1σ(1+ξx−μσ)−1−1/ξfor ξ≠0,1σexp⁡(−x−μσ)for ξ=0,

again, for x≥μ when ξ≥0, and μ≤x≤μ−σ/ξ when ξ<0.

The GPD survival function (sf), F¯(x)=1−F(x), is the solution to the following nonlinear ordinary differential equation:

F¯′(x)+1σF¯(x)1+ξ=0,F¯(μ)=1.

Thus, the tail shape ξ quantifies the nonlinear deviation from linear systems and the scale σ is associated with the linear source of uncertainty.[6]

The standard cumulative distribution function (cdf) of the GPD is defined using z=x−μσ (or, equivalently, setting μ=0 and σ=1):[7]

Fξ(z)={1−(1+ξz)−1/ξfor ξ≠0,1−e−zfor ξ=0.

where the support is z≥0 for ξ≥0 and 0≤z≤−1/ξ for ξ<0.

The corresponding probability density function (pdf) is

fξ(z)={(1+ξz)−1−1/ξfor ξ≠0,e−zfor ξ=0.

Prediction

  • It is often of interest to predict probabilities of out-of-sample data under the assumption that both the training data and the out-of-sample data follow a GPD.
  • Predictions of probabilities generated by substituting maximum likelihood estimates of the GPD parameters into the cumulative distribution function ignore parameter uncertainty. As a result, the probabilities are not well calibrated, do not reflect the frequencies of out-of-sample events, and, in particular, underestimate the probabilities of out-of-sample tail events.[8]
  • Predictions generated using the objective Bayesian approach of calibrating prior prediction have been shown to greatly reduce this underestimation, although not completely eliminate it.[8] Calibrating prior prediction is implemented in the R software package fitdistcp.[9]

Generating generalized Pareto random variables

Generating GPD random variables

If U is uniformly distributed on Template:Open-closed, then

X=μ+σ(U−ξ−1)ξ∼GPD(μ,σ,ξ≠0) and X=μ−σln⁡(U)∼GPD(μ,σ,ξ=0).

Both formulas are obtained by inversion of the cdf.

The Pareto package in R[10] and the gprnd command in the Matlab Statistics Toolbox can be used to generate generalized Pareto random numbers.

GPD as an Exponential-Gamma Mixture

A GPD random variable can also be expressed as an exponential random variable, with a Gamma distributed rate parameter.X∣Λ∼Exp(Λ) and Λ∼Gamma(α,β) then X∼GPD(μ=0,σ=β/α, ξ=1/α)

Template:Collapse top Let Gamma(x;α,β) be the density of a gamma distribution with parameters α and β, and Exp(x;Λ) be the density of an exponential distribution with parameter Λ. We begin by writing the marginal density of the latent-variable mixture for θ=[α,β,Λ]⊤ and expand pθ(x)=∫0∞Gamma(Λ;α,β)Exp(x;Λ)dΛ=∫0∞[βαΓ(α)Λα−1e−βΛ](Λe−Λx)dΛ=∫0∞ΛβαΓ(α)Λα−1e−Λ(β+x)dΛ=βαΓ(α)∫0∞Λαe−Λ(β+x)dΛ=βαΓ(α)Γ(α+1)(β+x)α+1=αβα(β+x)α+1=GPD(0,βα,1α) For the third from the last equality, we have used the definition of the gamma function, Γ(x)=∫0∞tx−1e−tdt and a change of variables t=cΛ, to observe that Γ(α+1)=∫0∞(cΛ)αe−cΛd(cΛ)=cα+1∫0∞Λαe−cΛdΛ where c=β+x. Template:Collapse bottom

The Exponential-Gamma mixture explains the importance of the generalized Pareto distribution parameterization, which correspondence with the mean and relative variance of the fluctuations of exponential scale, Λ. Notice however, that since the parameters for the Gamma distribution must be greater than zero, we obtain the additional restrictions that ξ must be positive.

In addition to this mixture (or compound) expression, the generalized Pareto distribution can also be expressed as a simple ratio. Concretely, for Y∼Exp(1) and Z∼Gamma(1/ξ,1), we have μ+σYξZ∼GPD(μ,σ,ξ). This is a consequence of the mixture after setting β=α and taking into account that the rate parameters of the exponential and gamma distribution are simply inverse multiplicative constants.

Exponentiated generalized Pareto distribution

The exponentiated generalized Pareto distribution (exGPD)

The pdf of the exGPD(σ,ξ) (exponentiated generalized Pareto distribution) for different values σ and ξ.

If X∼GPD(μ=0,σ,ξ), then Y=log⁡(X) is distributed according to the exponentiated generalized Pareto distribution, denoted by Y∼exGPD(σ,ξ).[11]

The probability density function(pdf) of Y∼exGPD(σ,ξ)(σ>0) is

g(σ,ξ)(y)={eyσ(1+ξeyσ)−1/ξ−1for ξ≠0,1σey−ey/σfor ξ=0, where the support is −∞<y<∞ for ξ≥0, and −∞<y≤log⁡(−σ/ξ) for ξ<0.

For all ξ, the log⁡σ becomes the location parameter. See the right panel for the pdf when the shape ξ is positive.

The exGPD has finite moments of all orders for all σ>0 and −∞<ξ<∞.

The variance of the exGPD(σ,ξ) as a function of ξ. Note that the variance only depends on ξ. The red dotted line represents the variance evaluated at ξ=0, that is, ψ′(1)=π2/6.

The moment-generating function of Y∼exGPD(σ,ξ) is MY(s)=E⁡[esY]={−1ξ(−σξ)sB(s+1,−1/ξ),for −1<s<∞,ξ<0,1ξ(σξ)sB(s+1,1/ξ−s)for −1<s<1/ξ,ξ>0,σsΓ(1+s),for −1<s<∞,ξ=0, where B(a,b) and Γ(a) denote the beta function and gamma function, respectively.

The expected value of Y∼exGPD(σ,ξ) depends on the scale σ and shape ξ parameters, while the ξ participates through the digamma function: E⁡[Y]={log⁡(−σξ)+ψ(1)−ψ(−1/ξ+1)for ξ<0,log⁡σ−log⁡ξ+ψ(1)−ψ(1/ξ)for ξ>0,log⁡σ+ψ(1)for ξ=0. Note that for a fixed value for the ξ∈(−∞,∞), the log⁡ σ plays as the location parameter under the exponentiated generalized Pareto distribution.

The variance of Y∼exGPD(σ,ξ) depends on the shape parameter ξ only through the polygamma function of order 1 (also called the trigamma function): Var⁡[Y]={ψ′(1)−ψ′(−1/ξ+1)for ξ<0,ψ′(1)+ψ′(1/ξ)for ξ>0,ψ′(1)for ξ=0. See the right panel for the variance as a function of ξ. Note that ψ′(1)=π2/6≈1.644934.

Note that the roles of the scale parameter σ and the shape parameter ξ under Y∼exGPD(σ,ξ) are separably interpretable, which may lead to a robust efficient estimation for the ξ than using the X∼GPD(σ,ξ). The roles of the two parameters are associated each other under X∼GPD(μ=0,σ,ξ) (at least up to the second central moment); see the formula of variance Var(X) wherein both parameters are participated.

The Hill estimator

Assume that X1:n=(X1,⋯,Xn) are n observations (which need not be i.i.d.) from an unknown heavy-tailed distribution F such that its tail distribution is regularly varying with the tail-index 1/ξ (hence, the corresponding shape parameter is ξ). To be specific, the tail distribution is described as F¯(x)=1−F(x)=L(x)⋅x−1/ξ,for some ξ>0,where L is a slowly varying function. It is of a particular interest in extreme value theory to estimate the shape parameter ξ, especially when ξ is positive (so-called heavy-tailed distribution).

Let Fu be their conditional excess distribution function. The Pickands–Balkema–de Haan theorem (Pickands, 1975; Balkema and de Haan, 1974) states that for a large class of underlying distribution functions F, and large u, Fu is well approximated by the generalized Pareto distribution (GPD), which motivated Peaks Over Threshold (POT) methods to estimate ξ: the GPD plays the key role in the POT approach.

A renowned estimator using the POT methodology is the Hill estimator. Technical formulation of the Hill estimator is as follows. For 1≤i≤n, write X(i) for the i-th largest value of X1,⋯,Xn. With this notation, the Hill estimator[12] based on the k upper order statistics is defined as ξ^kHill=ξ^kHill(X1:n)=1k−1∑j=1k−1log⁡(X(j)X(k)),for 2≤k≤n. In practice, the Hill estimator is used as follows. First, calculate the estimator ξ^kHill at each integer k∈{2,⋯,n}, and then plot the ordered pairs {(k,ξ^kHill)}k=2n. Then, select from the set of Hill estimators {ξ^kHill}k=2n those which are roughly constant with respect to k: these stable values are regarded as reasonable estimates for the shape parameter ξ. If X1,⋯,Xn are i.i.d., then the Hill estimator is a consistent estimator for the shape parameter ξ.[13] Note that the Hill estimator ξ^kHill makes a use of the log-transformation for the observations X1:n=(X1,⋯,Xn). (The Pickands estimator ξ^kPickand also employs the log-transformation, but in a slightly different way.[14])

See also

References

Template:Reflist

Further reading

Template:ProbDistributions

  1. ↑ Template:Cite book
  2. ↑ Template:Cite journal
  3. ↑ Template:Cite journal
  4. ↑ Template:Cite book
  5. ↑ Template:Cite journal
  6. ↑ Template:Cite journal
  7. ↑ Template:Cite book
  8. ↑ 8.0 8.1 Template:Cite journal
  9. ↑ Template:Cite web
  10. ↑ Template:Cite web
  11. ↑ Template:Cite journal
  12. ↑ https://books.google.com/books?id=o-clBQAAQBAJ&dq=modeeling+extreme+events+for+insurance&pg=PA1 page 190
  13. ↑ Resnick, Sidney, and Cǎtǎlin Stǎricǎ. “Smoothing the Hill Estimator.” Advances in Applied Probability, vol. 29, no. 1, 1997, pp. 271–93. JSTOR, https://doi.org/10.2307/1427870. Accessed 2 Mar. 2026.
  14. ↑ Drees, Holger. “Refined Pickands Estimators of the Extreme Value Index.” The Annals of Statistics, vol. 23, no. 6, 1995, pp. 2059–80. JSTOR, http://www.jstor.org/stable/2242785. Accessed 2 Mar. 2026.