| java.lang.Object org.apache.commons.math.stat.descriptive.StatisticalSummaryValues
StatisticalSummaryValues | public class StatisticalSummaryValues implements Serializable,StatisticalSummary(Code) | | Value object representing the results of a univariate statistical summary.
version: $Revision: 348519 $ $Date: 2005-11-23 12:12:18 -0700 (Wed, 23 Nov 2005) $ |
Constructor Summary | |
public | StatisticalSummaryValues(double mean, double variance, long n, double max, double min, double sum) |
Method Summary | |
public boolean | equals(Object object) Returns true iff object is a
StatisticalSummaryValues instance and all statistics have
the same values as this.
Parameters: object - the object to test equality against. | public double | getMax() | public double | getMean() | public double | getMin() | public long | getN() | public double | getStandardDeviation() | public double | getSum() | public double | getVariance() | public int | hashCode() |
StatisticalSummaryValues | public StatisticalSummaryValues(double mean, double variance, long n, double max, double min, double sum)(Code) | | Constructor
Parameters: mean - the sample mean Parameters: variance - the sample variance Parameters: n - the number of observations in the sample Parameters: max - the maximum value Parameters: min - the minimum value Parameters: sum - the sum of the values |
equals | public boolean equals(Object object)(Code) | | Returns true iff object is a
StatisticalSummaryValues instance and all statistics have
the same values as this.
Parameters: object - the object to test equality against. true if object equals this |
getMax | public double getMax()(Code) | | Returns the max. |
getMean | public double getMean()(Code) | | Returns the mean. |
getMin | public double getMin()(Code) | | Returns the min. |
getN | public long getN()(Code) | | Returns the number of values. |
getStandardDeviation | public double getStandardDeviation()(Code) | | Returns the standard deviation |
getSum | public double getSum()(Code) | | Returns the sum. |
getVariance | public double getVariance()(Code) | | Returns the variance. |
hashCode | public int hashCode()(Code) | | Returns hash code based on values of statistics
hash code |
|
|