module

Numcry::Correlate

Methods for computing correlation coefficients between Enumerable collections.

Instance methods

corrcoef(a : Enumerable, b : Enumerable, ddof = 0.0)

Compute the Pearson correlation coefficient for a and b.

Source
cov(a : Enumerable(T), b : Enumerable(U), ddof = 0.0) forall T, U

Compute the covariance between two collections a and b.

Source