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