covarSampStable
covarSampStable
Introduced in: v1.1
Calculates the sample covariance:
It is similar to covarSamp but uses a numerically stable algorithm.
As a result, covarSampStable is slower than covarSamp but provides a lower computational error.
Syntax
Arguments
Returned value
Returns the sample covariance between x and y. For n <= 1, inf is returned. Float64
Examples
Basic sample covariance calculation with stable algorithm
Single value returns inf