public class GeneralizedParetoDistribution extends AbstractDistribution
Modifier and Type | Class and Description |
---|---|
static class |
GeneralizedParetoDistribution.Parameterizer
Parameterization class
|
Modifier and Type | Field and Description |
---|---|
(package private) double |
mu
Parameters (location, scale, shape)
|
(package private) double |
sigma
Parameters (location, scale, shape)
|
(package private) double |
xi
Parameters (location, scale, shape)
|
random
Constructor and Description |
---|
GeneralizedParetoDistribution(double mu,
double sigma,
double xi)
Constructor.
|
GeneralizedParetoDistribution(double mu,
double sigma,
double xi,
Random random)
Constructor.
|
GeneralizedParetoDistribution(double mu,
double sigma,
double xi,
RandomFactory random)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
cdf(double val)
Return the cumulative density function at the given value.
|
static double |
cdf(double val,
double mu,
double sigma,
double xi)
CDF of GEV distribution
|
double |
pdf(double x)
Return the density of an existing value
|
static double |
pdf(double x,
double mu,
double sigma,
double xi)
PDF of GEV distribution
|
double |
quantile(double val)
Quantile aka probit (for normal) aka inverse CDF (invcdf, cdf^-1) function.
|
static double |
quantile(double val,
double mu,
double sigma,
double xi)
Quantile function of GEV distribution
|
String |
toString()
Describe the distribution
|
nextRandom
final double mu
final double sigma
final double xi
public GeneralizedParetoDistribution(double mu, double sigma, double xi)
mu
- Location parameter musigma
- Scale parameter sigmaxi
- Shape parameter xi (= -kappa)public GeneralizedParetoDistribution(double mu, double sigma, double xi, RandomFactory random)
mu
- Location parameter musigma
- Scale parameter sigmaxi
- Shape parameter xi (= -kappa)random
- Random number generatorpublic GeneralizedParetoDistribution(double mu, double sigma, double xi, Random random)
mu
- Location parameter musigma
- Scale parameter sigmaxi
- Shape parameter xi (= -kappa)random
- Random number generatorpublic static double pdf(double x, double mu, double sigma, double xi)
x
- Valuemu
- Location parameter musigma
- Scale parameter sigmaxi
- Shape parameter xi (= -kappa)public double pdf(double x)
Distribution
x
- existing valuepublic static double cdf(double val, double mu, double sigma, double xi)
val
- Valuemu
- Location parameter musigma
- Scale parameter sigmaxi
- Shape parameter xi (= -kappa)public double cdf(double val)
Distribution
val
- existing valuepublic static double quantile(double val, double mu, double sigma, double xi)
val
- Valuemu
- Location parameter musigma
- Scale parameter sigmaxi
- Shape parameter xi (= -kappa)public double quantile(double val)
Distribution
val
- Quantile to findpublic String toString()
Distribution
toString
in interface Distribution
toString
in class Object
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.