public class StatisticalSummaryValues extends Object implements Serializable, StatisticalSummary
| Constructor and Description |
|---|
StatisticalSummaryValues(double mean,
double variance,
long n,
double max,
double min,
double sum)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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
|
String |
toString()
Generates a text report displaying values of statistics.
|
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 valuespublic double getMax()
StatisticalSummarygetMax in interface StatisticalSummarypublic double getMean()
StatisticalSummarygetMean in interface StatisticalSummarypublic double getMin()
StatisticalSummarygetMin in interface StatisticalSummarypublic long getN()
StatisticalSummarygetN in interface StatisticalSummarypublic double getSum()
StatisticalSummarygetSum in interface StatisticalSummarypublic double getStandardDeviation()
StatisticalSummarygetStandardDeviation in interface StatisticalSummarypublic double getVariance()
StatisticalSummarygetVariance in interface StatisticalSummarypublic boolean equals(Object object)
object is a
StatisticalSummaryValues instance and all statistics have
the same values as this.public int hashCode()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.