Interface LogMOMDistributionEstimator<D extends Distribution>
-
- Type Parameters:
D
- Distribution estimated.
- All Superinterfaces:
DistributionEstimator<D>
- All Known Subinterfaces:
LogMeanVarianceEstimator<D>
- All Known Implementing Classes:
LogGammaLogMOMEstimator
,LogNormalLogMOMEstimator
public interface LogMOMDistributionEstimator<D extends Distribution> extends DistributionEstimator<D>
Distribution estimators that use the method of moments (MOM) in logspace, i.e. that only need the statistical moments of a data set after logarithms.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <A> D
estimate(A data, NumberArrayAdapter<?,A> adapter)
General form of the parameter estimationD
estimateFromLogStatisticalMoments(StatisticalMoments moments, double shift)
General form of the parameter estimationstatic <A> double
min(A data, NumberArrayAdapter<?,A> adapter, double minmin, double margin)
Utility function to find minimum and maximum values.-
Methods inherited from interface elki.math.statistics.distribution.estimator.DistributionEstimator
estimate, getDistributionClass
-
-
-
-
Method Detail
-
estimateFromLogStatisticalMoments
D estimateFromLogStatisticalMoments(StatisticalMoments moments, double shift)
General form of the parameter estimation- Parameters:
moments
- Statistical momentsshift
- Shifting offset that was used- Returns:
- Estimated distribution
-
estimate
default <A> D estimate(A data, NumberArrayAdapter<?,A> adapter)
Description copied from interface:DistributionEstimator
General form of the parameter estimation- Specified by:
estimate
in interfaceDistributionEstimator<D extends Distribution>
- Parameters:
data
- Data setadapter
- Number array adapter- Returns:
- Estimated distribution
-
min
static <A> double min(A data, NumberArrayAdapter<?,A> adapter, double minmin, double margin)
Utility function to find minimum and maximum values.- Type Parameters:
A
- array type- Parameters:
data
- Data arrayadapter
- Array adapterminmin
- Minimum value for minimum.- Returns:
- Minimum
-
-