com.rapidminer.gui.plotter
Class Quartile

java.lang.Object
  extended by com.rapidminer.gui.plotter.Quartile

public class Quartile
extends java.lang.Object

This class encapsulates all information about quartiles.

Author:
Ingo Mierswa

Field Summary
static int QUARTILE_WIDTH
           
 
Constructor Summary
Quartile(double median, double mean, double standardDeviation, double lowerQuartile, double upperQuartile, double lowerWhisker, double upperWhisker, double[] outliers)
           
 
Method Summary
static Quartile calculateQuartile(DataTable table, int column)
           
static Quartile calculateQuartile(java.util.List<java.lang.Double> values)
           
 java.awt.Color getColor()
           
 double getLowerQuartile()
           
 double getLowerWhisker()
           
 double getMax()
          Returns the biggest value occupied by this quartile.
 double getMean()
           
 double getMedian()
           
 double getMin()
          Returns the smallest value occupied by this quartile.
 double[] getOutliers()
           
 double getStandardDeviation()
           
 double getUpperQuartile()
           
 double getUpperWhisker()
           
 void setColor(java.awt.Color color)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUARTILE_WIDTH

public static final int QUARTILE_WIDTH
See Also:
Constant Field Values
Constructor Detail

Quartile

public Quartile(double median,
                double mean,
                double standardDeviation,
                double lowerQuartile,
                double upperQuartile,
                double lowerWhisker,
                double upperWhisker,
                double[] outliers)
Method Detail

setColor

public void setColor(java.awt.Color color)

getColor

public java.awt.Color getColor()

getMin

public double getMin()
Returns the smallest value occupied by this quartile.


getMax

public double getMax()
Returns the biggest value occupied by this quartile.


getMedian

public double getMedian()

getMean

public double getMean()

getStandardDeviation

public double getStandardDeviation()

getLowerQuartile

public double getLowerQuartile()

getUpperQuartile

public double getUpperQuartile()

getLowerWhisker

public double getLowerWhisker()

getUpperWhisker

public double getUpperWhisker()

getOutliers

public double[] getOutliers()

calculateQuartile

public static Quartile calculateQuartile(DataTable table,
                                         int column)

calculateQuartile

public static Quartile calculateQuartile(java.util.List<java.lang.Double> values)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 by Rapid-I