public class Logistic extends ContinuousDistribution
The Logistic distribution.
References:
Constructor and Description |
---|
Logistic()
Default constructor.
|
Logistic(double m,
double s)
Create a distribution with the given mean and scale parameters.
|
Modifier and Type | Method and Description |
---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution.
|
double |
getMean()
Access the mean.
|
double |
getScale()
Access the scale parameter.
|
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution.
|
void |
setMean(double m)
Modify the mean.
|
void |
setScale(double s)
Modify the scale parameter.
|
public Logistic()
public Logistic(double m, double s)
m
- the mean.s
- the scale parameter.public double cumulativeProbability(double x)
cumulativeProbability
in class ContinuousDistribution
x
- the value at which the CDF is evaluated.public double getMean()
public double getScale()
public double inverseCumulativeProbability(double p)
inverseCumulativeProbability
in class ContinuousDistribution
p
- the cumulative probability.public void setMean(double m)
m
- The new mean value.public void setScale(double s)
s
- The new scale parameter value.Jas4pp 1.5 © Java Analysis Studio for Particle Physics