Package org.hipparchus.stat.descriptive
Interface StatisticalMultivariateSummary
- All Known Implementing Classes:
MultivariateSummaryStatistics
public interface StatisticalMultivariateSummary
Reporting interface for basic multivariate statistics.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the covariance of the available values.int
Returns the dimension of the datadouble[]
Returns an array whose ith entry is the geometric mean of the ith entries of the arrays that correspond to each multivariate sampledouble[]
getMax()
Returns an array whose ith entry is the maximum of the ith entries of the arrays that correspond to each multivariate sampledouble[]
getMean()
Returns an array whose ith entry is the mean of the ith entries of the arrays that correspond to each multivariate sampledouble[]
getMin()
Returns an array whose ith entry is the minimum of the ith entries of the arrays that correspond to each multivariate samplelong
getN()
Returns the number of available valuesdouble[]
Returns an array whose ith entry is the standard deviation of the ith entries of the arrays that correspond to each multivariate sampledouble[]
getSum()
Returns an array whose ith entry is the sum of the ith entries of the arrays that correspond to each multivariate sampledouble[]
Returns an array whose ith entry is the sum of logs of the ith entries of the arrays that correspond to each multivariate sampledouble[]
getSumSq()
Returns an array whose ith entry is the sum of squares of the ith entries of the arrays that correspond to each multivariate sample
-
Method Details
-
getDimension
int getDimension()Returns the dimension of the data- Returns:
- The dimension of the data
-
getMean
double[] getMean()Returns an array whose ith entry is the mean of the ith entries of the arrays that correspond to each multivariate sample- Returns:
- the array of component means
-
getCovariance
RealMatrix getCovariance()Returns the covariance of the available values.- Returns:
- The covariance, null if no multivariate sample have been added or a zeroed matrix for a single value set.
-
getStandardDeviation
double[] getStandardDeviation()Returns an array whose ith entry is the standard deviation of the ith entries of the arrays that correspond to each multivariate sample- Returns:
- the array of component standard deviations
-
getMax
double[] getMax()Returns an array whose ith entry is the maximum of the ith entries of the arrays that correspond to each multivariate sample- Returns:
- the array of component maxima
-
getMin
double[] getMin()Returns an array whose ith entry is the minimum of the ith entries of the arrays that correspond to each multivariate sample- Returns:
- the array of component minima
-
getN
long getN()Returns the number of available values- Returns:
- The number of available values
-
getGeometricMean
double[] getGeometricMean()Returns an array whose ith entry is the geometric mean of the ith entries of the arrays that correspond to each multivariate sample- Returns:
- the array of component geometric means
-
getSum
double[] getSum()Returns an array whose ith entry is the sum of the ith entries of the arrays that correspond to each multivariate sample- Returns:
- the array of component sums
-
getSumSq
double[] getSumSq()Returns an array whose ith entry is the sum of squares of the ith entries of the arrays that correspond to each multivariate sample- Returns:
- the array of component sums of squares
-
getSumLog
double[] getSumLog()Returns an array whose ith entry is the sum of logs of the ith entries of the arrays that correspond to each multivariate sample- Returns:
- the array of component log sums
-