Class GeneralizedExtremeValueLMMEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.GeneralizedExtremeValueLMMEstimator
-
- All Implemented Interfaces:
DistributionEstimator<GeneralizedExtremeValueDistribution>,LMMDistributionEstimator<GeneralizedExtremeValueDistribution>
@Reference(authors="J. R. M. Hosking, J. R. Wallis, E. F. Wood", title="Estimation of the generalized extreme-value distribution by the method of probability-weighted moments.", booktitle="Technometrics 27.3", url="https://doi.org/10.1080/00401706.1985.10488049", bibkey="doi:10.1080/00401706.1985.10488049") public class GeneralizedExtremeValueLMMEstimator extends java.lang.Object implements LMMDistributionEstimator<GeneralizedExtremeValueDistribution>
Estimate the parameters of a Generalized Extreme Value Distribution, using the methods of L-Moments (LMM).Reference:
J. R. M. Hosking, J. R. Wallis, E. F. Wood
Estimation of the generalized extreme-value distribution by the method of probability-weighted moments.
Technometrics 27.3- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneralizedExtremeValueLMMEstimator.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description protected static doubleA0Constants for fast rational approximations.protected static doubleA1Constants for fast rational approximations.protected static doubleA2Constants for fast rational approximations.protected static doubleA3Constants for fast rational approximations.protected static doubleA4Constants for fast rational approximations.protected static doubleB1protected static doubleB2protected static doubleB3protected static doubleC1protected static doubleC2protected static doubleC3protected static doubleD1protected static doubleD2protected static doubleEUEuler-Mascheroni constant.(package private) static intMAXITMaximum number of iterations.static GeneralizedExtremeValueLMMEstimatorSTATICStatic instance.
-
Constructor Summary
Constructors Modifier Constructor Description privateGeneralizedExtremeValueLMMEstimator()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneralizedExtremeValueDistributionestimateFromLMoments(double[] xmom)Estimate from the L-Moments.java.lang.Class<? super GeneralizedExtremeValueDistribution>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 GeneralizedExtremeValueLMMEstimator STATIC
Static instance.
-
A0
protected static final double A0
Constants for fast rational approximations.- See Also:
- Constant Field Values
-
A1
protected static final double A1
Constants for fast rational approximations.- See Also:
- Constant Field Values
-
A2
protected static final double A2
Constants for fast rational approximations.- See Also:
- Constant Field Values
-
A3
protected static final double A3
Constants for fast rational approximations.- See Also:
- Constant Field Values
-
A4
protected static final double A4
Constants for fast rational approximations.- See Also:
- Constant Field Values
-
B1
protected static final double B1
- See Also:
- Constant Field Values
-
B2
protected static final double B2
- See Also:
- Constant Field Values
-
B3
protected static final double B3
- See Also:
- Constant Field Values
-
C1
protected static final double C1
- See Also:
- Constant Field Values
-
C2
protected static final double C2
- See Also:
- Constant Field Values
-
C3
protected static final double C3
- See Also:
- Constant Field Values
-
D1
protected static final double D1
- See Also:
- Constant Field Values
-
D2
protected static final double D2
- See Also:
- Constant Field Values
-
EU
protected static final double EU
Euler-Mascheroni constant.- See Also:
- Constant Field Values
-
MAXIT
static int MAXIT
Maximum number of iterations.
-
-
Method Detail
-
getNumMoments
public int getNumMoments()
Description copied from interface:LMMDistributionEstimatorThe number of moments needed.- Specified by:
getNumMomentsin interfaceLMMDistributionEstimator<GeneralizedExtremeValueDistribution>- Returns:
- Moments needed.
-
estimateFromLMoments
public GeneralizedExtremeValueDistribution estimateFromLMoments(double[] xmom)
Description copied from interface:LMMDistributionEstimatorEstimate from the L-Moments.- Specified by:
estimateFromLMomentsin interfaceLMMDistributionEstimator<GeneralizedExtremeValueDistribution>- Parameters:
xmom- L-Moments- Returns:
- Distribution
-
getDistributionClass
public java.lang.Class<? super GeneralizedExtremeValueDistribution> getDistributionClass()
Description copied from interface:DistributionEstimatorGet the class that is produced by the estimator.- Specified by:
getDistributionClassin interfaceDistributionEstimator<GeneralizedExtremeValueDistribution>- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-