covarPop
covarPop
Introduced in: v1.1
Calculates the population covariance:
Примечание
This function uses a numerically unstable algorithm. If you need numerical stability in calculations, use the covarPopStable function. It works slower but provides a lower computational error.
Syntax
Aliases: COVAR_POP
Аргументы
x— первая переменная.(U)Int*илиFloat*илиDecimaly— вторая переменная.(U)Int*илиFloat*илиDecimal
Returned value
Returns the population covariance between x and y. Float64
Examples
Basic population covariance calculation