|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Number
org.ojalgo.random.RandomNumber
org.ojalgo.random.LogNormal
public class LogNormal
A continuous distribution in which the logarithm of a variable has a normal distribution. A log normal distribution results if the variable is the product of a large number of independent, identically-distributed variables in the same way that a normal distribution results if the variable is the sum of a large number of independent, identically-distributed variables.
| Constructor Summary | |
|---|---|
LogNormal()
|
|
LogNormal(double aMean,
double aStdDev)
The aMean and aStdDev parameters are the mean and standard deviation of the variable's logarithm (by definition, the variable's logarithm is normally distributed). |
|
| Method Summary | |
|---|---|
static LogNormal |
estimate(Access1D<?> rawSamples)
|
double |
getDistribution(double aValue)
In probability theory and statistics, the cumulative distribution function (CDF), or just distribution function, describes the probability that a real-valued random variable X with a given probability distribution will be found at a value less than or equal to x. |
double |
getExpected()
|
double |
getGeometricMean()
The geometric mean is also the median |
double |
getGeometricStandardDeviation()
|
double |
getLowerConfidenceQuantile(double aConfidence)
|
double |
getProbability(double aValue)
In probability theory, a probability density function (pdf), or density of a continuous random variable is a function that describes the relative likelihood for this random variable to occur at a given point. |
double |
getQuantile(double aProbality)
The quantile function, for any distribution, is defined for real variables between zero and one and is mathematically the inverse of the cumulative distribution function. |
double |
getUpperConfidenceQuantile(double aConfidence)
|
double |
getVariance()
Subclasses must override either getStandardDeviation() or getVariance()! |
static LogNormal |
make(double aExpected,
double aVariance)
|
| Methods inherited from class org.ojalgo.random.RandomNumber |
|---|
doubleValue, floatValue, getStandardDeviation, intValue, invoke, longValue, toString |
| Methods inherited from class java.lang.Number |
|---|
byteValue, shortValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ojalgo.random.Distribution |
|---|
getStandardDeviation |
| Constructor Detail |
|---|
public LogNormal()
public LogNormal(double aMean,
double aStdDev)
| Method Detail |
|---|
public static LogNormal estimate(Access1D<?> rawSamples)
public static LogNormal make(double aExpected,
double aVariance)
public double getDistribution(double aValue)
ContinuousDistribution
aValue - x
public double getExpected()
public double getGeometricMean()
public double getGeometricStandardDeviation()
public double getProbability(double aValue)
ContinuousDistribution
aValue - x
public double getQuantile(double aProbality)
ContinuousDistribution
aProbality - P(<=x)
public double getVariance()
RandomNumber
getVariance in interface DistributiongetVariance in class RandomNumberDistribution.getStandardDeviation(),
Distribution.getVariance()public final double getLowerConfidenceQuantile(double aConfidence)
public final double getUpperConfidenceQuantile(double aConfidence)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||