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