Class LaplaceMLEEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.LaplaceMLEEstimator
-
- All Implemented Interfaces:
DistributionEstimator<LaplaceDistribution>
@Reference(title="The Double Exponential Distribution: Using Calculus to Find a Maximum Likelihood Estimator", authors="R. M. Norton", booktitle="The American Statistician 38 (2)", url="https://doi.org/10.2307/2683252", bibkey="doi:10.2307/2683252") public class LaplaceMLEEstimator extends java.lang.Object implements DistributionEstimator<LaplaceDistribution>
Estimate Laplace distribution parameters using Median and mean deviation from median.Reference:
R. M. Norton
The Double Exponential Distribution: Using Calculus to Find a Maximum Likelihood Estimator
The American Statistician 38 (2)- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LaplaceMLEEstimator.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static LaplaceMLEEstimator
STATIC
Static instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
LaplaceMLEEstimator()
Private constructor, use static instance!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A> LaplaceDistribution
estimate(A data, NumberArrayAdapter<?,A> adapter)
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
-
-
-
-
Field Detail
-
STATIC
public static final LaplaceMLEEstimator STATIC
Static instance.
-
-
Method Detail
-
estimate
public <A> LaplaceDistribution estimate(A data, NumberArrayAdapter<?,A> adapter)
Description copied from interface:DistributionEstimator
General form of the parameter estimation- Specified by:
estimate
in interfaceDistributionEstimator<LaplaceDistribution>
- Parameters:
data
- Data setadapter
- Number array adapter- 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
-
-