public class GeneralizedExtremeValueDistribution extends AbstractDistribution
Modifier and Type | Class and Description |
---|---|
static class |
GeneralizedExtremeValueDistribution.Parameterizer
Parameterization class
|
Modifier and Type | Field and Description |
---|---|
(package private) double |
k
Parameters (location, scale, shape)
|
(package private) double |
mu
Parameters (location, scale, shape)
|
(package private) double |
sigma
Parameters (location, scale, shape)
|
random
Constructor and Description |
---|
GeneralizedExtremeValueDistribution(double mu,
double sigma,
double k)
Constructor.
|
GeneralizedExtremeValueDistribution(double mu,
double sigma,
double k,
Random random)
Constructor.
|
GeneralizedExtremeValueDistribution(double mu,
double sigma,
double k,
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 k)
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 k)
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 k)
Quantile function of GEV distribution
|
String |
toString()
Describe the distribution
|
nextRandom
final double mu
final double sigma
final double k
public GeneralizedExtremeValueDistribution(double mu, double sigma, double k)
mu
- Location parameter musigma
- Scale parameter sigmak
- Shape parameter kpublic GeneralizedExtremeValueDistribution(double mu, double sigma, double k, RandomFactory random)
mu
- Location parameter musigma
- Scale parameter sigmak
- Shape parameter krandom
- Random number generatorpublic GeneralizedExtremeValueDistribution(double mu, double sigma, double k, Random random)
mu
- Location parameter musigma
- Scale parameter sigmak
- Shape parameter krandom
- Random number generatorpublic static double pdf(double x, double mu, double sigma, double k)
x
- Valuemu
- Location parameter musigma
- Scale parameter sigmak
- Shape parameter kpublic double pdf(double x)
Distribution
x
- existing valuepublic static double cdf(double val, double mu, double sigma, double k)
val
- Valuemu
- Location parameter musigma
- Scale parameter sigmak
- Shape parameter kpublic double cdf(double val)
Distribution
val
- existing valuepublic static double quantile(double val, double mu, double sigma, double k)
val
- Valuemu
- Location parameter musigma
- Scale parameter sigmak
- Shape parameter kpublic 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.