public class LogNormal extends ContinuousDistribution
The Log Normal distribution.
References:
Constructor and Description |
---|
LogNormal()
Default constructor.
|
LogNormal(double m,
double s)
Create a distribution with the given mean and standard deviation.
|
Modifier and Type | Method and Description |
---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution.
|
double |
getMean()
Access the mean.
|
double |
getStandardDeviation()
Access the standard deviation.
|
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution.
|
void |
setMean(double m)
Modify the mean.
|
void |
setStandardDeviation(double std)
Modify the standard deviation.
|
public LogNormal()
public LogNormal(double m, double s)
m
- the mean.s
- the standard deviation.public double cumulativeProbability(double x) throws NumericException
cumulativeProbability
in class ContinuousDistribution
x
- the value at which the CDF is evaluated.NumericException
- if the cumulative probability can not be
computed.public double getMean()
public double getStandardDeviation()
public double inverseCumulativeProbability(double p) throws NumericException
inverseCumulativeProbability
in class ContinuousDistribution
p
- the cumulative probability.NumericException
- if the inverse cumulative probability can not be
computed.public void setMean(double m)
m
- the new mean value.public void setStandardDeviation(double std)
std
- The new standard deviation value.Jas4pp 1.5 © Java Analysis Studio for Particle Physics