javax.datamining.statistics
Interface NumericalStatistics


public interface NumericalStatistics

A NumericalStatistics captures numerical statistical properties of an attribute.

Author:
JSR-73 Java Data Mining Expert Group

Method Summary
 double getInterQuartileRange()
          Returns the range between 75% and 25% quantiles.
 double getMaximumValue()
          Returns the maximum value of the attribute.
 double getMeanValue()
          Returns the mean value of the attribute.
 double getMedianValue()
          Returns the median value of the attribute.
 double getMinimumValue()
          Returns the minimum value of the attribute.
 double getQuantile(double limit)
          Returns the quantile value for the given limit as a number between 0 and 100.
 double[] getQuantileLimits()
          Returns an array of numbers whose quantile values are available.
 double getStandardDeviation()
          Returns the standard deviation of the attribute.
 double getVariance()
          Returns the variance of the values in the attribute.
 

Method Detail

getInterQuartileRange

public double getInterQuartileRange()
Returns the range between 75% and 25% quantiles.

Returns:
double

getMaximumValue

public double getMaximumValue()
Returns the maximum value of the attribute.

Returns:
double

getMeanValue

public double getMeanValue()
Returns the mean value of the attribute.

Returns:
double

getMedianValue

public double getMedianValue()
Returns the median value of the attribute.

Returns:
double

getMinimumValue

public double getMinimumValue()
Returns the minimum value of the attribute.

Returns:
double

getQuantile

public double getQuantile(double limit)
Returns the quantile value for the given limit as a number between 0 and 100. The n% quantile is the smallest value q occuring in the data such that n% of the values are smaller than q. The value q is called quantile limit.

Parameters:
limit - The quantile limit value.
Returns:
double

getQuantileLimits

public double[] getQuantileLimits()
Returns an array of numbers whose quantile values are available.

Returns:
double[]

getStandardDeviation

public double getStandardDeviation()
Returns the standard deviation of the attribute.

Returns:
double

getVariance

public double getVariance()
Returns the variance of the values in the attribute.

Returns:
double