public static class LogNormalDistribution.PDF extends LogNormalDistribution implements UnivariateProbabilityDensityFunction
LogNormalDistribution.CDF, LogNormalDistribution.MaximumLikelihoodEstimator, LogNormalDistribution.PDF, LogNormalDistribution.WeightedMaximumLikelihoodEstimatorDEFAULT_LOG_NORMAL_MEAN, DEFAULT_LOG_NORMAL_VARIANCE, SQRT2PI| Constructor and Description |
|---|
PDF()
Default constructor.
|
PDF(double logNormalMean,
double logNormalVariance)
Creates a new instance of LogNormalDistribution
|
PDF(LogNormalDistribution other)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(double input)
Produces a double output for the given double input
|
java.lang.Double |
evaluate(java.lang.Double input)
Evaluates the function on the given input and returns the output.
|
static double |
evaluate(double input,
double logNormalMean,
double logNormalVariance)
Evaluates the Log-Normal PDF for the given input and parameters
logNormalMean, logNormalVariance
|
double |
evaluateAsDouble(java.lang.Double input)
Evaluates the scalar function as a double.
|
LogNormalDistribution.PDF |
getProbabilityFunction()
Gets the distribution function associated with this Distribution,
either the PDF or PMF.
|
double |
logEvaluate(double input)
Evaluate the natural logarithm of the distribution function.
|
double |
logEvaluate(java.lang.Double input)
Evaluate the natural logarithm of the distribution function.
|
static double |
logEvaluate(double input,
double logNormalMean,
double logNormalVariance)
Computes the natural logarithm of the PDF.
|
convertFromVector, convertToVector, getCDF, getEstimator, getLogNormalMean, getLogNormalVariance, getMaxSupport, getMeanAsDouble, getMinSupport, getVariance, sampleAsDouble, sampleInto, setLogNormalMean, setLogNormalVariance, toStringgetMean, sampleAsDoubles, sampleIntoclonesample, sampleequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCDF, getMean, sampleAsDouble, sampleAsDoubles, sampleIntogetMaxSupport, getMeanAsDouble, getMinSupport, getVariancesample, sample, sampleIntoclone, convertFromVector, convertToVectorpublic PDF()
public PDF(double logNormalMean,
double logNormalVariance)
logNormalMean - Mean of the underlying distribution, (-infinity,+infinity)logNormalVariance - Variance of the underlying distribution, (0,infinity)public PDF(LogNormalDistribution other)
other - LogNormalDistribution to copypublic java.lang.Double evaluate(java.lang.Double input)
Evaluatorevaluate in interface Evaluator<java.lang.Double,java.lang.Double>evaluate in interface ScalarFunction<java.lang.Double>evaluate in interface UnivariateScalarFunctioninput - The input to evaluate.public double evaluateAsDouble(java.lang.Double input)
ScalarFunctionevaluateAsDouble in interface ScalarFunction<java.lang.Double>evaluateAsDouble in interface UnivariateScalarFunctioninput - The input value.public double evaluate(double input)
UnivariateScalarFunctionevaluate in interface UnivariateScalarFunctioninput - Input to the Evaluatorpublic static double evaluate(double input,
double logNormalMean,
double logNormalVariance)
input - Input about which to evaluate the PDFlogNormalMean - Mean of the underlying distribution, (-infinity,+infinity)logNormalVariance - Variance of the underlying distribution, (0,infinity)public double logEvaluate(java.lang.Double input)
ProbabilityFunctionlogEvaluate in interface ProbabilityFunction<java.lang.Double>input - The input to be evaluatedpublic double logEvaluate(double input)
UnivariateProbabilityDensityFunctionlogEvaluate in interface UnivariateProbabilityDensityFunctioninput - The input value.public static double logEvaluate(double input,
double logNormalMean,
double logNormalVariance)
input - Inpu to consider.logNormalMean - Log normal mean.logNormalVariance - Log normal variance.public LogNormalDistribution.PDF getProbabilityFunction()
ComputableDistributiongetProbabilityFunction in interface ComputableDistribution<java.lang.Double>getProbabilityFunction in interface ProbabilityDensityFunction<java.lang.Double>getProbabilityFunction in interface SmoothUnivariateDistributiongetProbabilityFunction in interface UnivariateProbabilityDensityFunctiongetProbabilityFunction in class LogNormalDistribution