public class UnivariateMoments
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
double |
mean()
Retrieve the Series Mean
|
java.util.Map<java.lang.Integer,java.lang.Double> |
momentMap()
Retrieve the Moments Map
|
java.lang.String |
name()
Retrieve the Series Name
|
int |
numSample()
Retrieve the Number of Samples
|
static UnivariateMoments |
Standard(java.lang.String strName,
double[] adblEntry)
Construct a UnivariateMoments Instance for the specified Series
|
static UnivariateMoments |
Standard(java.lang.String strName,
double[] adblEntry,
int[] aiMoment)
Construct a UnivariateMoments Instance for the specified Series
|
double |
stdDev()
Retrieve the Series Standard Deviation
|
double |
variance()
Retrieve the Series Variance
|
public static final UnivariateMoments Standard(java.lang.String strName, double[] adblEntry, int[] aiMoment)
strName
- Series NameadblEntry
- Series EntryaiMoment
- Array of Moments to be Calculatedpublic static final UnivariateMoments Standard(java.lang.String strName, double[] adblEntry)
strName
- Series NameadblEntry
- Series Entrypublic java.lang.String name()
public int numSample()
public double mean()
public double variance()
public double stdDev()
public java.util.Map<java.lang.Integer,java.lang.Double> momentMap()