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> D
estimate(A data, NumberArrayAdapter<?,A> adapter)
General form of the parameter estimationD
estimateFromLogMeanVariance(MeanVariance mv, double shift)
Estimate the distribution from mean and variance.default D
estimateFromLogStatisticalMoments(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:LogMOMDistributionEstimator
General form of the parameter estimation- Specified by:
estimateFromLogStatisticalMoments
in 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:DistributionEstimator
General form of the parameter estimation- Specified by:
estimate
in interfaceDistributionEstimator<D extends Distribution>
- Specified by:
estimate
in interfaceLogMOMDistributionEstimator<D extends Distribution>
- Parameters:
data
- Data setadapter
- Number array adapter- Returns:
- Estimated distribution
-
-