org.eclipse.test.internal.performance.eval
Class StatisticsSession

java.lang.Object
  extended by org.eclipse.test.internal.performance.eval.StatisticsSession

public class StatisticsSession
extends java.lang.Object

Since:
3.1

Constructor Summary
StatisticsSession(DataPoint[] datapoints)
           
 
Method Summary
 boolean contains(Dim dimension)
           
 double getAverage(Dim dimension)
           
 double[] getConfidenceInterval(Dim dimension, StatisticsUtil.Percentile percentile)
          Returns the confidence interval for the given dimension and the percentile.
 long getCount(Dim dimension)
           
 double getStddev(Dim dimension)
           
 long getSum(Dim dimension)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsSession

public StatisticsSession(DataPoint[] datapoints)
Method Detail

getAverage

public double getAverage(Dim dimension)

getSum

public long getSum(Dim dimension)

getCount

public long getCount(Dim dimension)

getStddev

public double getStddev(Dim dimension)

getConfidenceInterval

public double[] getConfidenceInterval(Dim dimension,
                                      StatisticsUtil.Percentile percentile)
Returns the confidence interval for the given dimension and the percentile.

Parameters:
dimension - the dimension
percentile - the percentile
Returns:
an array of length two, with the lower and upper bounds of the confidence interval

contains

public boolean contains(Dim dimension)