public class LognormalDistFromMoments extends LognormalDist
LognormalDist class with a constructor accepting the
mean m and the variance v of the distribution as arguments.
The mean and variance of a lognormal random variable with
parameters μ and σ are
eμ+σ2/2 and
e2μ+σ2(eσ2 - 1) respectively, so
the parameters are given by
σ = ((v/m^2+1))1/2 and
μ = ln(m) - σ2/2.decPrec| Constructor and Description |
|---|
LognormalDistFromMoments(double mean,
double var) |
barF, barF, cdf, cdf, density, density, getInstanceFromMLE, getMaximumLikelihoodEstimate, getMean, getMean, getMLE, getMu, getParams, getSigma, getStandardDeviation, getStandardDeviation, getVariance, getVariance, inverseF, inverseF, setParams, toStringgetXinf, getXsup, inverseBisection, inverseBrent, setXinf, setXsupTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.