public interface DataSet
| Modifier and Type | Method and Description |
|---|---|
double[] |
asArray()
The observations.
|
double |
correlation(DataSet otherData)
The unbiased sample correlation of these observations with the observations
contained in the given data set.
|
double |
covariance(DataSet otherData)
The unbiased sample covariance of these observations with the observations
contained in the given data set.
|
double |
mean()
The mean of the observations.
|
double |
median()
The median value of the observations.
|
DataSet |
plus(DataSet otherData)
Add every element of this data set to the corresponding element of the given data set.
|
int |
size()
The size of the data set.
|
double |
stdDeviation()
The unbiased sample standard deviation of the observations.
|
double |
sum()
The sum of the observations.
|
double |
sumOfSquares()
The sum of the squared observations.
|
DataSet |
times(DataSet otherData)
Multiply every element of this data set with the corresponding element of the given data set.
|
double |
variance()
The unbiased sample variance of the observations.
|
double sum()
double sumOfSquares()
double mean()
double median()
int size()
DataSet times(DataSet otherData)
otherData - The data to multiply by.DataSet plus(DataSet otherData)
otherData - The data to add to.double variance()
double stdDeviation()
double covariance(DataSet otherData)
otherData - the data to compute the covariance with.double correlation(DataSet otherData)
otherData - the data to compute the correlation coefficient with.double[] asArray()