covarSampStable
Calculates the value of Σ((x - x̅)(y - y̅)) / (n - 1)
. Similar to covarSamp but works slower while providing a lower computational error.
Syntax
Arguments
Returned Value
- The sample covariance between
x
andy
. Forn <= 1
,inf
is returned. Float64.
Example
Query:
Result:
Query:
Result: