Class UniformEnhancedMinMaxEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.UniformEnhancedMinMaxEstimator
-
- All Implemented Interfaces:
DistributionEstimator<UniformDistribution>
public class UniformEnhancedMinMaxEstimator extends java.lang.Object implements DistributionEstimator<UniformDistribution>
Slightly improved estimation, that takes sample size into account and enhances the interval appropriately.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UniformEnhancedMinMaxEstimator.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static UniformEnhancedMinMaxEstimator
STATIC
Slightly more refined estimator: takes sample size into account.
-
Constructor Summary
Constructors Modifier Constructor Description private
UniformEnhancedMinMaxEstimator()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UniformDistribution
estimate(double min, double max, int count)
Estimate from simple characteristics.<A> UniformDistribution
estimate(A data, NumberArrayAdapter<?,A> adapter)
General form of the parameter estimationjava.lang.Class<? super UniformDistribution>
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 UniformEnhancedMinMaxEstimator STATIC
Slightly more refined estimator: takes sample size into account.
-
-
Method Detail
-
estimate
public <A> UniformDistribution estimate(A data, NumberArrayAdapter<?,A> adapter)
Description copied from interface:DistributionEstimator
General form of the parameter estimation- Specified by:
estimate
in interfaceDistributionEstimator<UniformDistribution>
- Parameters:
data
- Data setadapter
- Number array adapter- Returns:
- Estimated distribution
-
estimate
public UniformDistribution estimate(double min, double max, int count)
Estimate from simple characteristics.- Parameters:
min
- Minimummax
- Maximumcount
- Number of observations- Returns:
- Distribution
-
getDistributionClass
public java.lang.Class<? super UniformDistribution> getDistributionClass()
Description copied from interface:DistributionEstimator
Get the class that is produced by the estimator.- Specified by:
getDistributionClass
in interfaceDistributionEstimator<UniformDistribution>
- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-