|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.statistics.ArrayStatistics
Manage statistics on a multi-dimensional array.
| Field Summary | |
protected int[] |
dimensions
|
protected java.lang.Object |
mean
|
protected java.lang.Object |
meanSquare
|
protected int |
population
|
| Constructor Summary | |
ArrayStatistics(int dim)
Convenience constructor for handling a one dimensional vector. |
|
ArrayStatistics(int[] dim)
Creates a new instance of ArrayStatistics |
|
ArrayStatistics(int dim1,
int dim2)
Convenience constructor for handling a two dimensional Matrix. |
|
| Method Summary | |
void |
addSample(java.lang.Object sample)
Add a sample array to average into the population. |
java.lang.Object |
getMean()
Get the mean array |
java.lang.Object |
sampleStandardDeviation()
Sample standard deviation |
java.lang.Object |
sampleStandardDeviationOfMean()
Sample standard deviation of the mean |
java.lang.Object |
sampleVariance()
Sample variance |
java.lang.Object |
sampleVarianceOfMean()
Sample variance of mean |
java.lang.Object |
standardDeviation()
Standard deviation |
java.lang.Object |
standardDeviationOfMean()
Standard deviation of the mean |
java.lang.Object |
variance()
Get the variance array |
java.lang.Object |
varianceOfMean()
Get the variance of the mean |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int[] dimensions
protected int population
protected java.lang.Object mean
protected java.lang.Object meanSquare
| Constructor Detail |
public ArrayStatistics(int[] dim)
dim - an array of sizes (one size for each dimension of the array)public ArrayStatistics(int dim)
public ArrayStatistics(int dim1,
int dim2)
| Method Detail |
public java.lang.Object getMean()
public java.lang.Object variance()
public java.lang.Object sampleVariance()
public java.lang.Object varianceOfMean()
public java.lang.Object sampleVarianceOfMean()
public java.lang.Object standardDeviation()
public java.lang.Object sampleStandardDeviation()
public java.lang.Object standardDeviationOfMean()
public java.lang.Object sampleStandardDeviationOfMean()
public void addSample(java.lang.Object sample)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||