Returns the unbaised sample variance of the values. If this dataset is a sample drawn from a population, this is an unbiased estimator of the population variance of the population. The count must be greater than one. This is not
()
| 282 | |
| 283 | |
| 284 | public double sampleVariance() { |
| 285 | checkState(count > 1); |
| 286 | if (isNaN(sumOfSquaresOfDeltas)) { |
| 287 | return NaN; |
| 288 | } |
| 289 | return ensureNonNegative(sumOfSquaresOfDeltas) / (count - 1); |
| 290 | } |
| 291 | |
| 292 | /** |
| 293 | * Returns the |
no test coverage detected