Class NormalMOMEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.NormalMOMEstimator
-
- All Implemented Interfaces:
DistributionEstimator<NormalDistribution>
,MeanVarianceDistributionEstimator<NormalDistribution>
,MOMDistributionEstimator<NormalDistribution>
public class NormalMOMEstimator extends java.lang.Object implements MeanVarianceDistributionEstimator<NormalDistribution>
Naive maximum-likelihood estimations for the normal distribution using mean and sample variance. While this is the most commonly used estimator, it is not very robust against extreme values.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NormalMOMEstimator.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static NormalMOMEstimator
STATIC
Static estimator, using mean and variance.
-
Constructor Summary
Constructors Modifier Constructor Description private
NormalMOMEstimator()
Private constructor, use static instance!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NormalDistribution
estimateFromMeanVariance(MeanVariance mv)
Estimate the distribution from mean and variance.java.lang.Class<? super NormalDistribution>
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.MeanVarianceDistributionEstimator
estimate, estimateFromStatisticalMoments
-
-
-
-
Field Detail
-
STATIC
public static final NormalMOMEstimator STATIC
Static estimator, using mean and variance.
-
-
Method Detail
-
estimateFromMeanVariance
public NormalDistribution estimateFromMeanVariance(MeanVariance mv)
Description copied from interface:MeanVarianceDistributionEstimator
Estimate the distribution from mean and variance.- Specified by:
estimateFromMeanVariance
in interfaceMeanVarianceDistributionEstimator<NormalDistribution>
- Parameters:
mv
- Mean and variance.- Returns:
- Distribution
-
getDistributionClass
public java.lang.Class<? super NormalDistribution> getDistributionClass()
Description copied from interface:DistributionEstimator
Get the class that is produced by the estimator.- Specified by:
getDistributionClass
in interfaceDistributionEstimator<NormalDistribution>
- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-