@Alias(value={"fisk","loglog"}) public class LogLogisticDistribution extends AbstractDistribution
Modifier and Type | Class and Description |
---|---|
static class |
LogLogisticDistribution.Parameterizer
Parameterization class
|
Modifier and Type | Field and Description |
---|---|
(package private) double |
scale
Parameters: scale and shape
|
(package private) double |
shape
Parameters: scale and shape
|
random
Constructor and Description |
---|
LogLogisticDistribution(double scale,
double shape)
Constructor.
|
LogLogisticDistribution(double scale,
double shape,
Random random)
Constructor.
|
LogLogisticDistribution(double scale,
double shape,
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 scale,
double shape)
Cumulative density function.
|
double |
nextRandom()
Generate a new random value
|
double |
pdf(double val)
Return the density of an existing value
|
static double |
pdf(double val,
double scale,
double shape)
Probability density function.
|
double |
quantile(double val)
Quantile aka probit (for normal) aka inverse CDF (invcdf, cdf^-1) function.
|
static double |
quantile(double val,
double scale,
double shape)
Quantile function.
|
String |
toString()
Describe the distribution
|
double scale
double shape
public LogLogisticDistribution(double scale, double shape)
scale
- Scaleshape
- Shapepublic LogLogisticDistribution(double scale, double shape, Random random)
scale
- Scaleshape
- Shaperandom
- Random number generatorpublic LogLogisticDistribution(double scale, double shape, RandomFactory random)
scale
- Scaleshape
- Shaperandom
- Random number generatorpublic static double pdf(double val, double scale, double shape)
val
- Valuescale
- Scaleshape
- Shapepublic double pdf(double val)
Distribution
val
- existing valuepublic static double cdf(double val, double scale, double shape)
val
- Valuescale
- Scaleshape
- Shapepublic double cdf(double val)
Distribution
val
- existing valuepublic static double quantile(double val, double scale, double shape)
val
- Valuescale
- Scaleshape
- 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
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.