|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.stat.descriptive.StatisticalSummaryValues
public class StatisticalSummaryValues
Value object representing the results of a univariate statistical summary.
| Constructor Summary | |
|---|---|
StatisticalSummaryValues(double mean,
double variance,
long n,
double max,
double min,
double sum)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Returns true iff object is a
StatisticalSummaryValues instance and all statistics have
the same values as this. |
double |
getMax()
Returns the maximum of the available values |
double |
getMean()
Returns the arithmetic mean of the available values |
double |
getMin()
Returns the minimum of the available values |
long |
getN()
Returns the number of available values |
double |
getStandardDeviation()
Returns the standard deviation of the available values. |
double |
getSum()
Returns the sum of the values that have been added to Univariate. |
double |
getVariance()
Returns the variance of the available values. |
int |
hashCode()
Returns hash code based on values of statistics |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticalSummaryValues(double mean,
double variance,
long n,
double max,
double min,
double sum)
mean - the sample meanvariance - the sample variancen - the number of observations in the samplemax - the maximum valuemin - the minimum valuesum - the sum of the values| Method Detail |
|---|
public double getMax()
StatisticalSummary
getMax in interface StatisticalSummarypublic double getMean()
StatisticalSummary
getMean in interface StatisticalSummarypublic double getMin()
StatisticalSummary
getMin in interface StatisticalSummarypublic long getN()
StatisticalSummary
getN in interface StatisticalSummarypublic double getSum()
StatisticalSummary
getSum in interface StatisticalSummarypublic double getStandardDeviation()
StatisticalSummary
getStandardDeviation in interface StatisticalSummarypublic double getVariance()
StatisticalSummary
getVariance in interface StatisticalSummarypublic boolean equals(Object object)
object is a
StatisticalSummaryValues instance and all statistics have
the same values as this.
equals in class Objectobject - the object to test equality against.
public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||