|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doodleproject.numerics4j.statistics.distribution.ContinuousDistribution
net.sf.doodleproject.numerics4j.statistics.distribution.LogNormalDistribution
public class LogNormalDistribution
The Log Normal distribution.
References:
| Constructor Summary | |
|---|---|
LogNormalDistribution()
Default constructor. |
|
LogNormalDistribution(double m,
double s)
Create a distribution with the given mean and standard deviation. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.sf.doodleproject.numerics4j.statistics.distribution.ContinuousDistribution |
|---|
findInverseCumulativeProbability |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogNormalDistribution()
public LogNormalDistribution(double m,
double s)
m - the mean.s - the standard deviation.| Method Detail |
|---|
public double cumulativeProbability(double x)
throws NumericException
cumulativeProbability in class ContinuousDistributionx - 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 ContinuousDistributionp - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||