Class LogNormalLMMEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.LogNormalLMMEstimator
-
- All Implemented Interfaces:
DistributionEstimator<LogNormalDistribution>,LMMDistributionEstimator<LogNormalDistribution>
@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 LogNormalLMMEstimator extends java.lang.Object implements LMMDistributionEstimator<LogNormalDistribution>
Estimate the parameters of a log Normal Distribution, using the methods of L-Moments (LMM) for the Generalized Normal Distribution.Reference:
J. R. M. Hosking
Fortran routines for use with the method of L-moments Version 3.03
IBM Research.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogNormalLMMEstimator.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description private static doubleA0Polynomial approximationprivate static doubleA1Polynomial approximationprivate static doubleA2Polynomial approximationprivate static doubleA3Polynomial approximationprivate static doubleB1Polynomial approximationprivate static doubleB2Polynomial approximationprivate static doubleB3Polynomial approximationstatic LogNormalLMMEstimatorSTATICStatic instance.
-
Constructor Summary
Constructors Modifier Constructor Description privateLogNormalLMMEstimator()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogNormalDistributionestimateFromLMoments(double[] xmom)Estimate from the L-Moments.java.lang.Class<? super LogNormalDistribution>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 LogNormalLMMEstimator STATIC
Static instance.
-
A0
private static final double A0
Polynomial approximation- See Also:
- Constant Field Values
-
A1
private static final double A1
Polynomial approximation- See Also:
- Constant Field Values
-
A2
private static final double A2
Polynomial approximation- See Also:
- Constant Field Values
-
A3
private static final double A3
Polynomial approximation- See Also:
- Constant Field Values
-
B1
private static final double B1
Polynomial approximation- See Also:
- Constant Field Values
-
B2
private static final double B2
Polynomial approximation- See Also:
- Constant Field Values
-
B3
private static final double B3
Polynomial approximation- See Also:
- Constant Field Values
-
-
Method Detail
-
getNumMoments
public int getNumMoments()
Description copied from interface:LMMDistributionEstimatorThe number of moments needed.- Specified by:
getNumMomentsin interfaceLMMDistributionEstimator<LogNormalDistribution>- Returns:
- Moments needed.
-
estimateFromLMoments
public LogNormalDistribution estimateFromLMoments(double[] xmom)
Description copied from interface:LMMDistributionEstimatorEstimate from the L-Moments.- Specified by:
estimateFromLMomentsin interfaceLMMDistributionEstimator<LogNormalDistribution>- Parameters:
xmom- L-Moments- Returns:
- Distribution
-
getDistributionClass
public java.lang.Class<? super LogNormalDistribution> getDistributionClass()
Description copied from interface:DistributionEstimatorGet the class that is produced by the estimator.- Specified by:
getDistributionClassin interfaceDistributionEstimator<LogNormalDistribution>- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-