module Numcry::Correlate

Overview

Methods for computing correlation coefficients between Enumerable collections.

Extended Modules

Direct including types

Defined in:

numcry/correlate.cr

Instance Method Summary

Instance Method Detail

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

Compute the Pearson correlation coefficient for a and b.


[View source]
def cov(a : Enumerable(T), b : Enumerable(U), ddof = 0.0) forall T, U #

Compute the covariance between two collections a and b.


[View source]