public class KappaDistribution extends AbstractDistribution
Modifier and Type | Class and Description |
---|---|
static class |
KappaDistribution.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 |
shape1
Shape parameters.
|
(package private) double |
shape2
Shape parameters.
|
random
Constructor and Description |
---|
KappaDistribution(double location,
double scale,
double shape1,
double shape2)
Constructor.
|
KappaDistribution(double location,
double scale,
double shape1,
double shape2,
Random random)
Constructor.
|
KappaDistribution(double location,
double scale,
double shape1,
double shape2,
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 shape1,
double shape2)
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 shape1,
double shape2)
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 shape1,
double shape2)
Quantile function.
|
String |
toString()
Describe the distribution
|
double location
double scale
double shape1
double shape2
public KappaDistribution(double location, double scale, double shape1, double shape2)
location
- Locationscale
- Scaleshape1
- Shape parametershape2
- Shape parameterpublic KappaDistribution(double location, double scale, double shape1, double shape2, Random random)
location
- Locationscale
- Scaleshape1
- Shape parametershape2
- Shape parameterrandom
- Random number generatorpublic KappaDistribution(double location, double scale, double shape1, double shape2, RandomFactory random)
location
- Locationscale
- Scaleshape1
- Shape parametershape2
- Shape parameterrandom
- Random number generatorpublic static double pdf(double val, double loc, double scale, double shape1, double shape2)
val
- Valueloc
- Locationscale
- Scaleshape1
- Shape parametershape2
- Shape parameterpublic double pdf(double val)
Distribution
val
- existing valuepublic static double cdf(double val, double loc, double scale, double shape1, double shape2)
val
- Valueloc
- Locationscale
- Scaleshape1
- Shape parametershape2
- Shape parameterpublic double cdf(double val)
Distribution
val
- existing valuepublic static double quantile(double val, double loc, double scale, double shape1, double shape2)
val
- Valueloc
- Locationscale
- Scaleshape1
- Shape parametershape2
- Shape parameterpublic 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.