Interface LogMeanVarianceEstimator<D extends Distribution>
-
- Type Parameters:
D- Distribution to estimate.
- All Superinterfaces:
DistributionEstimator<D>,LogMOMDistributionEstimator<D>
- All Known Implementing Classes:
LogNormalLogMOMEstimator
public interface LogMeanVarianceEstimator<D extends Distribution> extends LogMOMDistributionEstimator<D>
Estimators that work on Mean and Variance only (i.e. the first two moments only).- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <A> Destimate(A data, NumberArrayAdapter<?,A> adapter)General form of the parameter estimationDestimateFromLogMeanVariance(MeanVariance mv, double shift)Estimate the distribution from mean and variance.default DestimateFromLogStatisticalMoments(StatisticalMoments moments, double shift)General form of the parameter estimation-
Methods inherited from interface elki.math.statistics.distribution.estimator.DistributionEstimator
estimate, getDistributionClass
-
-
-
-
Method Detail
-
estimateFromLogMeanVariance
D estimateFromLogMeanVariance(MeanVariance mv, double shift)
Estimate the distribution from mean and variance.- Parameters:
mv- Mean and variance.shift- Shift that was applied to avoid negative values.- Returns:
- Distribution
-
estimateFromLogStatisticalMoments
default D estimateFromLogStatisticalMoments(StatisticalMoments moments, double shift)
Description copied from interface:LogMOMDistributionEstimatorGeneral form of the parameter estimation- Specified by:
estimateFromLogStatisticalMomentsin interfaceLogMOMDistributionEstimator<D extends Distribution>- 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:DistributionEstimatorGeneral form of the parameter estimation- Specified by:
estimatein interfaceDistributionEstimator<D extends Distribution>- Specified by:
estimatein interfaceLogMOMDistributionEstimator<D extends Distribution>- Parameters:
data- Data setadapter- Number array adapter- Returns:
- Estimated distribution
-
-