Generalized Pareto Distribution Calculator

Generalized Pareto Distribution Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

f(x)=1σ(1+ξx−μσ)−1ξ−1,x≥μf(x) = \frac{1}{{\sigma}}\left(1 + {\xi}\,\frac{x - {\mu}}{{\sigma}}\right)^{-\frac{1}{{\xi}} - 1}, \qquad x \ge {\mu}
Usage stats

Advertisement

Results

Function value at x = 1
1
dimensionless (first evaluated point)
x Function value y
1 1
1.1 0.82644628
1.2 0.69444444
1.3 0.59171598
1.4 0.51020408
1.5 0.44444444
1.6 0.390625
1.7 0.34602076
1.8 0.30864198
1.9 0.27700831
2 0.25
2.1 0.22675737
2.2 0.20661157
2.3 0.18903592
2.4 0.17361111
2.5 0.16
2.6 0.14792899
2.7 0.13717421
2.8 0.12755102
2.9 0.11890606
3 0.11111111
3.1 0.10405827
3.2 0.09765625
3.3 0.09182736
3.4 0.08650519
3.5 0.08163265
3.6 0.07716049
3.7 0.07304602
3.8 0.06925208
3.9 0.06574622
4 0.0625
4.1 0.0594884
4.2 0.05668934
4.3 0.05408329
4.4 0.05165289
4.5 0.04938272
4.6 0.04725898
4.7 0.04526935
4.8 0.04340278
4.9 0.04164931
5 0.04
5.1 0.03844675
5.2 0.03698225
5.3 0.03559986
5.4 0.03429355
5.5 0.03305785
5.6 0.03188776
5.7 0.0307787
5.8 0.02972652
5.9 0.02872738
6 0.02777778
6.1 0.0268745
6.2 0.02601457
6.3 0.02519526
6.4 0.02441406
6.5 0.02366864
6.6 0.02295684
6.7 0.02227668
6.8 0.0216263
6.9 0.02100399
7 0.02040816
7.1 0.01983733
7.2 0.01929012
7.3 0.01876525
7.4 0.0182615
7.5 0.01777778
7.6 0.01731302
7.7 0.01686625
7.8 0.01643655
7.9 0.01602307
8 0.015625
8.1 0.01524158
8.2 0.0148721
8.3 0.01451589
8.4 0.01417234
8.5 0.01384083
8.6 0.01352082
8.7 0.01321178
8.8 0.01291322
8.9 0.01262467
9 0.01234568
9.1 0.01207584
9.2 0.01181474
9.3 0.01156203
9.4 0.01131734
9.5 0.01108033
9.6 0.01085069
9.7 0.01062812
9.8 0.01041233
9.9 0.01020304
10 0.01
10.1 0.00980296
10.2 0.00961169
10.3 0.00942596
10.4 0.00924556
10.5 0.00907029
10.6 0.00889996
10.7 0.00873439
10.8 0.00857339
10.9 0.0084168
11 0.00826446

Report an error on this page

What is the Generalized Pareto Distribution?

The Generalized Pareto Distribution (GPD) is a continuous probability distribution widely used in extreme value theory to model the tails of distributions, exceedances over a threshold, and heavy-tailed phenomena in finance, hydrology, and reliability engineering. It is described by three parameters: a location parameter mu, a scale parameter sigma (which must be positive), and a shape parameter xi that controls the heaviness of the tail. This is a pure mathematical tool with no regional or jurisdictional scope.

Three Generalized Pareto probability density curves with different shape parameters on a shared axis
Generalized Pareto PDF shapes for negative, zero and positive shape parameter ξ.

How to use this calculator

Choose the function you want: the probability density (PDF), the lower cumulative distribution (CDF), or the upper cumulative survival function. Enter the three parameters mu, sigma and xi. Then define the x sequence with an initial value, a step increment, and the number of points to evaluate. The calculator produces a table of (x, y) pairs and a line graph, plus the single function value at the first x for quick reference.

The formula explained

Let \(B = 1 + \xi\,\frac{x - \mu}{\sigma}\). When \(\xi\) is not zero, the density is $$f(x) = \frac{1}{\sigma}\,B^{-\frac{1}{\xi} - 1},$$ the CDF is $$P(x) = 1 - B^{-\frac{1}{\xi}},$$ and the survival function is $$Q(x) = B^{-\frac{1}{\xi}} = 1 - P.$$ When \(\xi\) equals zero, the distribution degenerates to the exponential form: $$f(x) = \frac{1}{\sigma}\,e^{-\frac{x-\mu}{\sigma}} \quad\text{and}\quad P(x) = 1 - e^{-\frac{x-\mu}{\sigma}}.$$ The support is \(x \ge \mu\) when \(\xi \ge 0\), and \(\mu \le x \le \mu - \frac{\sigma}{\xi}\) when \(\xi < 0\). Outside the support the density is 0, while \(P\) and \(Q\) clamp to their boundary values.

Advertisement
Diagram showing location, scale and shape parameters on a Generalized Pareto density curve
How the location μ, scale σ and shape ξ parameters position and shape the curve.

Worked example

Take the CDF with \(\mu = 1\), \(\sigma = 1\), \(\xi = 1\) at \(x = 2\). Then $$B = 1 + 1\cdot\frac{2-1}{1} = 2,$$ so $$P = 1 - 2^{-1} = 0.5.$$ The PDF at the same point is $$2^{-2} = 0.25,$$ and the survival function is $$Q = 2^{-1} = 0.5,$$ confirming \(P + Q = 1\).

Advertisement

How the Shape Parameter ξ Changes the Distribution

The table fixes \(\mu = 0\) and \(\sigma = 1\) and varies only the shape \(\xi\). With \(z = x\), the formulas are \(f(x) = (1+\xi x)^{-1/\xi - 1}\), survival \(Q(x) = (1+\xi x)^{-1/\xi}\) and \(P(x) = 1 - Q(x)\). For \(\xi = 0\) the limiting forms are \(f(x) = e^{-x}\) and \(Q(x) = e^{-x}\).

ξ Support Tail type x PDF f(x) CDF P(x) Survival Q(x)
−0.5 0 ≤ x ≤ 2 (upper bound \(\mu - \sigma/\xi = 2\)) Bounded (short tail) 0.5 0.75 0.4375 0.5625
1 0.5 0.75 0.25
2 (endpoint) 0 1 0
0 x ≥ 0 Exponential 0.5 0.6065 0.3935 0.6065
1 0.3679 0.6321 0.3679
2 0.1353 0.8647 0.1353
0.5 x ≥ 0 Heavy (power-law) 0.5 0.512 0.36 0.64
1 0.2963 0.5556 0.4444
2 0.125 0.75 0.25

Worked check for \(\xi = -0.5\), \(x = 0.5\): \(1 + \xi x = 1 - 0.25 = 0.75\). The exponent is \(-1/\xi = 2\), so \(Q = 0.75^{2} = 0.5625\) and \(f = 0.75^{1} = 0.75\).

Worked check for \(\xi = 0.5\), \(x = 1\): \(1 + \xi x = 1.5\). Then \(Q = 1.5^{-2} = 0.4444\) and \(f = 1.5^{-3} = 0.2963\).

Reading across the rows, the survival at \(x = 2\) is 0 for \(\xi = -0.5\), 0.1353 for \(\xi = 0\) and 0.25 for \(\xi = 0.5\). A larger \(\xi\) leaves more probability in the upper tail.

FAQ

Why must sigma be positive? Sigma is a scale parameter that divides several terms; a non-positive value is mathematically undefined, so the tool guards against it.

What happens when xi = 0? The GPD becomes the exponential distribution. The calculator automatically switches to the exponential formulas when \(|\xi|\) is below a tiny epsilon to avoid dividing by zero.

Can I scan x downward? Yes. Use a negative step increment to evaluate x values in descending order.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators