covarPopStable
covarPopStable
Introduced in: v1.1
Calculates the population covariance:
It is similar to the covarPop function, but uses a numerically stable algorithm. As a result, covarPopStable is slower than covarPop but produces a more accurate result.
Syntax
Arguments
Returned value
Returns the population covariance between x and y. Float64
Examples
Basic population covariance calculation with stable algorithm