de.lmu.ifi.dbs.elki.math.statistics.distribution.estimator

• ### Method Summary

All Methods
Modifier and Type Method and Description
static double computeMAD(double[] x, int len, double median)
Compute the median absolute deviation from median.
static double computeMAD(double[] data, int len, double median, double[] scratch)
Compute the median absolute deviation from median.
default <A> D estimate(A data, NumberArrayAdapter<?,A> adapter)
General form of the parameter estimation
D estimateFromMedianMAD(double median, double mad)
General form of the parameter estimation
• ### Methods inherited from interface de.lmu.ifi.dbs.elki.math.statistics.distribution.estimator.DistributionEstimator

estimate, getDistributionClass
• ### Method Detail

D estimateFromMedianMAD(double median,
double mad)
General form of the parameter estimation
Parameters:
median - Median value
mad - Median absolute deviation from median
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 interface DistributionEstimator<D extends Distribution>
Parameters:
data - Data set
adapter - Number array adapter
Returns:
Estimated distribution

static double computeMAD(double[] data,
int len,
double median,
double[] scratch)
Compute the median absolute deviation from median.
Parameters:
data - Input data
len - Length of input data to use
median - Median of input data
scratch - Scratch space, must be at least length len
Returns:

static double computeMAD(double[] x,
int len,
double median)
Compute the median absolute deviation from median.
Parameters:
x - Input data will be modified
len - Length where x is valid
median - Median value.
Returns:
Median absolute deviation from median.