Class RayleighLMMEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.RayleighLMMEstimator
-
- All Implemented Interfaces:
DistributionEstimator<RayleighDistribution>,LMMDistributionEstimator<RayleighDistribution>
public class RayleighLMMEstimator extends java.lang.Object implements LMMDistributionEstimator<RayleighDistribution>
Estimate the scale parameter of a (non-shifted) RayleighDistribution 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 classRayleighLMMEstimator.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description static RayleighLMMEstimatorSTATICStatic instance.
-
Constructor Summary
Constructors Modifier Constructor Description privateRayleighLMMEstimator()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RayleighDistributionestimateFromLMoments(double[] xmom)Estimate from the L-Moments.java.lang.Class<? super RayleighDistribution>getDistributionClass()Get the class that is produced by the estimator.intgetNumMoments()The number of moments needed.java.lang.StringtoString()-
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 RayleighLMMEstimator STATIC
Static instance.
-
-
Method Detail
-
getNumMoments
public int getNumMoments()
Description copied from interface:LMMDistributionEstimatorThe number of moments needed.- Specified by:
getNumMomentsin interfaceLMMDistributionEstimator<RayleighDistribution>- Returns:
- Moments needed.
-
estimateFromLMoments
public RayleighDistribution estimateFromLMoments(double[] xmom)
Description copied from interface:LMMDistributionEstimatorEstimate from the L-Moments.- Specified by:
estimateFromLMomentsin interfaceLMMDistributionEstimator<RayleighDistribution>- Parameters:
xmom- L-Moments- Returns:
- Distribution
-
getDistributionClass
public java.lang.Class<? super RayleighDistribution> getDistributionClass()
Description copied from interface:DistributionEstimatorGet the class that is produced by the estimator.- Specified by:
getDistributionClassin interfaceDistributionEstimator<RayleighDistribution>- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-