|
JMSLTM Numerical Library 6.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.imsl.stat.LogNormalDistribution
public class LogNormalDistribution
Evaluates a lognormal probability distribution.
The LogNormalDistribution
evaluates the lognormal probability
distribution of a given set of data, xData
. If parameters are
not supplied, the eval
method first calculates the mean
and standard deviation. The lognormal probability distribution is defined as:
Constructor Summary | |
---|---|
LogNormalDistribution()
|
Method Summary | |
---|---|
double[] |
eval(double[] xData)
Evaluates a logNormal probability distribution from a given set of data. |
double[] |
eval(double[] xData,
Object[] parameters)
Evaluates a lognormal probability distribution from a given set of data. |
double |
eval(double xData,
Object[] parameters)
Evaluates a lognormal probability distribution at a given point xData . |
double |
getMean()
Returns the lognormal probability distribution mean parameter. |
Object[] |
getParameters()
Returns the parameters used to evaluate the distribution. |
double |
getStandardDeviation()
Returns the lognormal probability distribution standard deviation parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogNormalDistribution()
Method Detail |
---|
public double[] eval(double[] xData)
eval
in interface Distribution
xData
- a double
array representing the points at which the
logNormal probability distribution function is to evaluate.
double
array representing the logNormal probability
distribution of xData
.public double[] eval(double[] xData, Object[] parameters)
eval
in interface ProbabilityDistribution
xData
- a double
array representing the points at which the
lognormal probability distribution function is to evaluate.parameters
- an Object
array representing the parameters used to
evaluate the lognormal distribution.
double
array representing the logNormal probability
distribution of xData
.public double eval(double xData, Object[] parameters)
xData
.
eval
in interface ProbabilityDistribution
xData
- a double
representing the point at which the
lognormal probability distribution function is to be evaluated.parameters
- an Object
array representing the parameters used to
evaluate the lognormal distribution.
double
representing the logNormal probability
distribution of xData
.public double getMean()
double
representing the mean parameter.public Object[] getParameters()
getParameters
in interface ProbabilityDistribution
Object
representing the parameters used to
evaluate the distribution.public double getStandardDeviation()
double
representing the standard deviation parameter.
|
JMSLTM Numerical Library 6.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |