Class SampleStatistics
java.lang.Object
llnl.gnem.core.util.seriesMathHelpers.SampleStatistics
- All Implemented Interfaces:
Serializable
- Author:
- dodge1
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSampleStatistics
(double[] data) SampleStatistics
(double[] data, SampleStatistics.Order order) SampleStatistics
(float[] data) SampleStatistics
(float[] data, SampleStatistics.Order order) SampleStatistics
(Double[] data) SampleStatistics
(Double[] data, SampleStatistics.Order order) SampleStatistics
(Float[] data) SampleStatistics
(Float[] data, SampleStatistics.Order order) SampleStatistics
(Collection<? extends Number> data) SampleStatistics
(Collection<? extends Number> data, SampleStatistics.Order order) SampleStatistics
(NumericalList data, SampleStatistics.Order order) -
Method Summary
Modifier and TypeMethodDescriptionstatic double
computeMean
(NumericalList data) double
double
getMax()
double
getMean()
double
double
getMin()
double
getRange()
double
getRMS()
double
double
double
static double
quickMedian
(NumericalList values) toCSV()
toString()
-
Constructor Details
-
SampleStatistics
-
SampleStatistics
public SampleStatistics(double[] data) -
SampleStatistics
-
SampleStatistics
public SampleStatistics(float[] data) -
SampleStatistics
-
SampleStatistics
-
SampleStatistics
-
SampleStatistics
-
SampleStatistics
-
SampleStatistics
-
SampleStatistics
-
SampleStatistics
-
-
Method Details
-
computeMean
-
toString
-
toCSV
-
getMedian
public double getMedian()- Returns:
- the median
-
getMax
public double getMax() -
getMin
public double getMin() -
getRMS
public double getRMS() -
getRange
public double getRange() -
getMinMax
-
getMean
public double getMean()- Returns:
- the mean
-
getVariance
public double getVariance()- Returns:
- the variance
-
getSkewness
public double getSkewness()- Returns:
- the skewness
-
getKurtosis
public double getKurtosis()- Returns:
- the kurtosis
-
getStandardDeviation
public double getStandardDeviation()- Returns:
- the standardDeviation
-
quickMedian
-