public class DescriptiveStats extends Object
Constructor and Description |
---|
DescriptiveStats(InterpolatedValueList meas) |
DescriptiveStats(MeasurementList meas) |
DescriptiveStats(MeasurementList meas,
String valueType) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(double v) |
void |
clear() |
double |
getElement(int index) |
double |
getGeometricMean() |
double |
getKurtosis() |
double |
getMax() |
double |
getMean() |
double |
getMin() |
long |
getN() |
double |
getPercentile(double p)
Returns an estimate for the pth percentile of the values.
|
double |
getPopulationVariance() |
double |
getSkewness() |
double[] |
getSortedValues() |
double |
getStandardDeviation() |
double |
getSum() |
double |
getSumsq() |
double[] |
getValues() |
double |
getVariance() |
public DescriptiveStats(MeasurementList meas)
meas
- MeasurementList.public DescriptiveStats(MeasurementList meas, String valueType)
meas
- the Measurements.valueType
- The type of value to use either Labels.POINT or Labels.INTERVAL.public DescriptiveStats(InterpolatedValueList meas)
meas
- MeasuredValueList.public void addValue(double v)
v
- the value to add.DescriptiveStatistics.addValue(double)
public void clear()
DescriptiveStatistics.clear()
public double getElement(int index)
index
- the index.DescriptiveStatistics.getElement(int)
public double getGeometricMean()
DescriptiveStatistics.getGeometricMean()
public double getKurtosis()
DescriptiveStatistics.getKurtosis()
public double getMax()
DescriptiveStatistics.getMax()
public double getMean()
DescriptiveStatistics.getMean()
public double getMin()
DescriptiveStatistics.getMin()
public long getN()
DescriptiveStatistics.getN()
public double getPercentile(double p)
p
- the requested percentile scaled from 0 to 100.DescriptiveStatistics.getPercentile(double)
public double getPopulationVariance()
DescriptiveStatistics.getPopulationVariance()
public double getSkewness()
DescriptiveStatistics.getSkewness()
public double[] getSortedValues()
DescriptiveStatistics.getSortedValues()
public double getStandardDeviation()
DescriptiveStatistics.getStandardDeviation()
public double getSum()
DescriptiveStatistics.getSum()
public double getSumsq()
DescriptiveStatistics.getSumsq()
public double[] getValues()
DescriptiveStatistics.getValues()
public double getVariance()
DescriptiveStatistics.getVariance()
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.