Class LaplaceMADEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.LaplaceMADEstimator
-
- All Implemented Interfaces:
DistributionEstimator<LaplaceDistribution>
,MADDistributionEstimator<LaplaceDistribution>
@Reference(authors="D. J. Olive", title="Applied Robust Statistics", booktitle="", url="http://lagrange.math.siu.edu/Olive/preprints.htm", bibkey="books/Olive08") public class LaplaceMADEstimator extends java.lang.Object implements MADDistributionEstimator<LaplaceDistribution>
Estimate Laplace distribution parameters using Median and MAD.Reference:
D. J. Olive
Applied Robust Statistics
Preprint, University of Minnesota- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LaplaceMADEstimator.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static LaplaceMADEstimator
STATIC
Static instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
LaplaceMADEstimator()
Private constructor, use static instance!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaplaceDistribution
estimateFromMedianMAD(double median, double mad)
General form of the parameter estimationjava.lang.Class<? super LaplaceDistribution>
getDistributionClass()
Get the class that is produced by the estimator.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.MADDistributionEstimator
estimate
-
-
-
-
Field Detail
-
STATIC
public static final LaplaceMADEstimator STATIC
Static instance.
-
-
Method Detail
-
estimateFromMedianMAD
public LaplaceDistribution estimateFromMedianMAD(double median, double mad)
Description copied from interface:MADDistributionEstimator
General form of the parameter estimation- Specified by:
estimateFromMedianMAD
in interfaceMADDistributionEstimator<LaplaceDistribution>
- Parameters:
median
- Median valuemad
- Median absolute deviation from median- Returns:
- Estimated distribution
-
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
-
-