public class GumbelDistribution extends AbstractDistribution
Modifier and Type | Class and Description |
---|---|
static class |
GumbelDistribution.Parameterizer
Parameterization class
|
Modifier and Type | Field and Description |
---|---|
(package private) double |
beta
Shape parameter beta.
|
(package private) double |
mu
Mode parameter mu.
|
random
Constructor and Description |
---|
GumbelDistribution(double mu,
double beta)
Constructor.
|
GumbelDistribution(double mu,
double beta,
Random random)
Constructor.
|
GumbelDistribution(double mu,
double beta,
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 beta)
CDF of Weibull distribution
|
double |
nextRandom()
Generate a new random value
|
double |
pdf(double x)
Return the density of an existing value
|
static double |
pdf(double x,
double mu,
double beta)
PDF of Weibull 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 beta)
Quantile function of Weibull distribution
|
String |
toString()
Describe the distribution
|
public GumbelDistribution(double mu, double beta)
mu
- Modebeta
- Shapepublic GumbelDistribution(double mu, double beta, Random random)
mu
- Modebeta
- Shaperandom
- Random number generatorpublic GumbelDistribution(double mu, double beta, RandomFactory random)
mu
- Modebeta
- Shaperandom
- Random number generatorpublic static double pdf(double x, double mu, double beta)
x
- Valuemu
- Modebeta
- Shapepublic double pdf(double x)
Distribution
x
- existing valuepublic static double cdf(double val, double mu, double beta)
val
- Valuemu
- Modebeta
- Shapepublic double cdf(double val)
Distribution
val
- existing valuepublic static double quantile(double val, double mu, double beta)
val
- Valuemu
- Modebeta
- Shapepublic double quantile(double val)
Distribution
val
- Quantile to findpublic double nextRandom()
Distribution
nextRandom
in interface Distribution
nextRandom
in class AbstractDistribution
public String toString()
Distribution
toString
in interface Distribution
toString
in class Object