Class WeibullLMMEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.WeibullLMMEstimator
-
- All Implemented Interfaces:
DistributionEstimator<WeibullDistribution>
,LMMDistributionEstimator<WeibullDistribution>
public class WeibullLMMEstimator extends java.lang.Object implements LMMDistributionEstimator<WeibullDistribution>
Estimate parameters of the Weibull distribution 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
WeibullLMMEstimator.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description private static double
A0
Estimation constantsprivate static double
A1
Estimation constantsprivate static double
A2
Estimation constantsprivate static double
A3
Estimation constantsprivate static double
A4
Estimation constantsprivate static double
B1
Estimation constantsprivate static double
B2
Estimation constantsprivate static double
B3
Estimation constantsprivate static double
C1
Estimation constantsprivate static double
C2
Estimation constantsprivate static double
C3
Estimation constantsprivate static double
D1
Estimation constantsprivate static double
D2
Estimation constants(package private) static int
MAXIT
Maximum number of iterations.static WeibullLMMEstimator
STATIC
Static instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
WeibullLMMEstimator()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeibullDistribution
estimateFromLMoments(double[] xmom)
Estimate from the L-Moments.java.lang.Class<? super WeibullDistribution>
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 WeibullLMMEstimator STATIC
Static instance.
-
A0
private static final double A0
Estimation constants- See Also:
- Constant Field Values
-
A1
private static final double A1
Estimation constants- See Also:
- Constant Field Values
-
A2
private static final double A2
Estimation constants- See Also:
- Constant Field Values
-
A3
private static final double A3
Estimation constants- See Also:
- Constant Field Values
-
A4
private static final double A4
Estimation constants- See Also:
- Constant Field Values
-
B1
private static final double B1
Estimation constants- See Also:
- Constant Field Values
-
B2
private static final double B2
Estimation constants- See Also:
- Constant Field Values
-
B3
private static final double B3
Estimation constants- See Also:
- Constant Field Values
-
C1
private static final double C1
Estimation constants- See Also:
- Constant Field Values
-
C2
private static final double C2
Estimation constants- See Also:
- Constant Field Values
-
C3
private static final double C3
Estimation constants- See Also:
- Constant Field Values
-
D1
private static final double D1
Estimation constants- See Also:
- Constant Field Values
-
D2
private static final double D2
Estimation constants- See Also:
- Constant Field Values
-
MAXIT
static int MAXIT
Maximum number of iterations.
-
-
Method Detail
-
getNumMoments
public int getNumMoments()
Description copied from interface:LMMDistributionEstimator
The number of moments needed.- Specified by:
getNumMoments
in interfaceLMMDistributionEstimator<WeibullDistribution>
- Returns:
- Moments needed.
-
estimateFromLMoments
public WeibullDistribution estimateFromLMoments(double[] xmom)
Description copied from interface:LMMDistributionEstimator
Estimate from the L-Moments.- Specified by:
estimateFromLMoments
in interfaceLMMDistributionEstimator<WeibullDistribution>
- Parameters:
xmom
- L-Moments- Returns:
- Distribution
-
getDistributionClass
public java.lang.Class<? super WeibullDistribution> getDistributionClass()
Description copied from interface:DistributionEstimator
Get the class that is produced by the estimator.- Specified by:
getDistributionClass
in interfaceDistributionEstimator<WeibullDistribution>
- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-