Closed bvenn closed 4 years ago
Describe the bug Vector.cov reports an incorrect value as covariance of two samples. The same is true for Vector.covPopulation.
Vector.cov
Vector.covPopulation
To Reproduce Vector.covPopulation (vector [5.;12.;18.;23.;45.;]) (vector [2.;8.;18.;20.;28.;])
Vector.covPopulation (vector [5.;12.;18.;23.;45.;]) (vector [2.;8.;18.;20.;28.;])
Fix The loop exit happens too early (by one increment).
closed by 8b7b7305e87850bcd4cd9894549923663e31fbed
Describe the bug
Vector.cov
reports an incorrect value as covariance of two samples. The same is true forVector.covPopulation
.To Reproduce
Vector.covPopulation (vector [5.;12.;18.;23.;45.;]) (vector [2.;8.;18.;20.;28.;])
Fix The loop exit happens too early (by one increment).