
public class GeneralizedLogisticAlternateDistribution extends AbstractDistribution
shape=0 yields the regular logistic distribution.| Modifier and Type | Class and Description |
|---|---|
static class |
GeneralizedLogisticAlternateDistribution.Parameterizer
Parameterization class
|
| Modifier and Type | Field and Description |
|---|---|
(package private) double |
location
Parameters: location and scale
|
(package private) double |
scale
Parameters: location and scale
|
(package private) double |
shape
Shape parameter, for generalized logistic distribution.
|
random| Constructor and Description |
|---|
GeneralizedLogisticAlternateDistribution(double location,
double scale,
double shape)
Constructor.
|
GeneralizedLogisticAlternateDistribution(double location,
double scale,
double shape,
Random random)
Constructor.
|
GeneralizedLogisticAlternateDistribution(double location,
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 loc,
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 loc,
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 loc,
double scale,
double shape)
Quantile function.
|
String |
toString()
Describe the distribution
|
double location
double scale
double shape
public GeneralizedLogisticAlternateDistribution(double location,
double scale,
double shape)
location - Locationscale - Scaleshape - Shape parameterpublic GeneralizedLogisticAlternateDistribution(double location,
double scale,
double shape,
Random random)
location - Locationscale - Scaleshape - Shape parameterrandom - Random number generatorpublic GeneralizedLogisticAlternateDistribution(double location,
double scale,
double shape,
RandomFactory random)
location - Locationscale - Scaleshape - Shape parameterrandom - Random number generatorpublic static double pdf(double val,
double loc,
double scale,
double shape)
val - Valueloc - Locationscale - Scaleshape - Shapepublic double pdf(double val)
Distributionval - existing valuepublic static double cdf(double val,
double loc,
double scale,
double shape)
val - Valueloc - Locationscale - Scaleshape - Shapepublic double cdf(double val)
Distributionval - existing valuepublic static double quantile(double val,
double loc,
double scale,
double shape)
val - Valueloc - Locationscale - Scaleshape - Shapepublic double quantile(double val)
Distributionval - Quantile to findpublic double nextRandom()
DistributionnextRandom in interface DistributionnextRandom in class AbstractDistributionpublic String toString()
DistributiontoString in interface DistributiontoString in class ObjectCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.