Class LaplaceLMMEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.LaplaceLMMEstimator
-
- All Implemented Interfaces:
DistributionEstimator<LaplaceDistribution>
,LMMDistributionEstimator<LaplaceDistribution>
public class LaplaceLMMEstimator extends java.lang.Object implements LMMDistributionEstimator<LaplaceDistribution>
Estimate Laplace distribution parameters using the method of L-Moments (LMM).- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LaplaceLMMEstimator.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static LaplaceLMMEstimator
STATIC
Static instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
LaplaceLMMEstimator()
Private constructor, use static instance!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaplaceDistribution
estimateFromLMoments(double[] xmom)
Estimate from the L-Moments.java.lang.Class<? super LaplaceDistribution>
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 LaplaceLMMEstimator STATIC
Static instance.
-
-
Method Detail
-
estimateFromLMoments
public LaplaceDistribution estimateFromLMoments(double[] xmom)
Description copied from interface:LMMDistributionEstimator
Estimate from the L-Moments.- Specified by:
estimateFromLMoments
in interfaceLMMDistributionEstimator<LaplaceDistribution>
- Parameters:
xmom
- L-Moments- Returns:
- Distribution
-
getNumMoments
public int getNumMoments()
Description copied from interface:LMMDistributionEstimator
The number of moments needed.- Specified by:
getNumMoments
in interfaceLMMDistributionEstimator<LaplaceDistribution>
- Returns:
- Moments needed.
-
getDistributionClass
public java.lang.Class<? super LaplaceDistribution> getDistributionClass()
Description copied from interface:DistributionEstimator
Get the class that is produced by the estimator.- Specified by:
getDistributionClass
in interfaceDistributionEstimator<LaplaceDistribution>
- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-