Class ExponentialLMMEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.ExponentialLMMEstimator
-
- All Implemented Interfaces:
DistributionEstimator<ExponentialDistribution>
,LMMDistributionEstimator<ExponentialDistribution>
@Reference(authors="J. R. M. Hosking", title="Fortran routines for use with the method of L-moments Version 3.03", booktitle="IBM Research Technical Report", bibkey="tr/ibm/Hosking00") public class ExponentialLMMEstimator extends java.lang.Object implements LMMDistributionEstimator<ExponentialDistribution>
Estimate the parameters of a Gamma Distribution, using the methods of L-Moments (LMM).Reference:
J. R. M. Hosking
Fortran routines for use with the method of L-moments Version 3.03
IBM Research.FIXME: Improve estimation of location parameter? Allow disabling?
- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExponentialLMMEstimator.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static ExponentialLMMEstimator
STATIC
Static instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
ExponentialLMMEstimator()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExponentialDistribution
estimateFromLMoments(double[] xmom)
Estimate from the L-Moments.java.lang.Class<? super ExponentialDistribution>
getDistributionClass()
Get the class that is produced by the estimator.int
getNumMoments()
The number of moments needed.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.LMMDistributionEstimator
estimate
-
-
-
-
Field Detail
-
STATIC
public static final ExponentialLMMEstimator STATIC
Static instance.
-
-
Method Detail
-
getNumMoments
public int getNumMoments()
Description copied from interface:LMMDistributionEstimator
The number of moments needed.- Specified by:
getNumMoments
in interfaceLMMDistributionEstimator<ExponentialDistribution>
- Returns:
- Moments needed.
-
estimateFromLMoments
public ExponentialDistribution estimateFromLMoments(double[] xmom)
Description copied from interface:LMMDistributionEstimator
Estimate from the L-Moments.- Specified by:
estimateFromLMoments
in interfaceLMMDistributionEstimator<ExponentialDistribution>
- Parameters:
xmom
- L-Moments- 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
-
-