Class LogNormalLogMOMEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.LogNormalLogMOMEstimator
-
- All Implemented Interfaces:
DistributionEstimator<LogNormalDistribution>,LogMeanVarianceEstimator<LogNormalDistribution>,LogMOMDistributionEstimator<LogNormalDistribution>
public class LogNormalLogMOMEstimator extends java.lang.Object implements LogMeanVarianceEstimator<LogNormalDistribution>
Naive distribution estimation using mean and sample variance. This is a maximum-likelihood-estimator (MLE).- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogNormalLogMOMEstimator.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description static LogNormalLogMOMEstimatorSTATICStatic estimator, using mean and variance.
-
Constructor Summary
Constructors Modifier Constructor Description privateLogNormalLogMOMEstimator()Private constructor, use static instance!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogNormalDistributionestimateFromLogMeanVariance(MeanVariance mv, double shift)Estimate the distribution from mean and variance.java.lang.Class<? super LogNormalDistribution>getDistributionClass()Get the class that is produced by the estimator.java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface elki.math.statistics.distribution.estimator.DistributionEstimator
estimate
-
Methods inherited from interface elki.math.statistics.distribution.estimator.LogMeanVarianceEstimator
estimate, estimateFromLogStatisticalMoments
-
-
-
-
Field Detail
-
STATIC
public static final LogNormalLogMOMEstimator STATIC
Static estimator, using mean and variance.
-
-
Method Detail
-
estimateFromLogMeanVariance
public LogNormalDistribution estimateFromLogMeanVariance(MeanVariance mv, double shift)
Description copied from interface:LogMeanVarianceEstimatorEstimate the distribution from mean and variance.- Specified by:
estimateFromLogMeanVariancein interfaceLogMeanVarianceEstimator<LogNormalDistribution>- Parameters:
mv- Mean and variance.shift- Shift that was applied to avoid negative values.- Returns:
- Distribution
-
getDistributionClass
public java.lang.Class<? super LogNormalDistribution> getDistributionClass()
Description copied from interface:DistributionEstimatorGet the class that is produced by the estimator.- Specified by:
getDistributionClassin interfaceDistributionEstimator<LogNormalDistribution>- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-