Returns the sample covariance of the values. The count must be greater than one. This is not guaranteed to return zero when the dataset consists of the same pair of values multiple times, due to numerical errors. Non-finite values If the dataset contains any non-finite values ({@li
()
| 127 | |
| 128 | |
| 129 | public double sampleCovariance() { |
| 130 | checkState(count() > 1); |
| 131 | return sumOfProductsOfDeltas / (count() - 1); |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * Returns the <a href="http://mathworld.wolfram.com/CorrelationCoefficient.html">Pearson's or |
nothing calls this directly
no test coverage detected