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 class
LogNormalLogMOMEstimator.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static LogNormalLogMOMEstimator
STATIC
Static estimator, using mean and variance.
-
Constructor Summary
Constructors Modifier Constructor Description private
LogNormalLogMOMEstimator()
Private constructor, use static instance!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogNormalDistribution
estimateFromLogMeanVariance(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.String
toString()
-
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:LogMeanVarianceEstimator
Estimate the distribution from mean and variance.- Specified by:
estimateFromLogMeanVariance
in 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:DistributionEstimator
Get the class that is produced by the estimator.- Specified by:
getDistributionClass
in interfaceDistributionEstimator<LogNormalDistribution>
- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-