List.Covariance

Last updated 5 months ago

List.Covariance

Returns the covariance between the two lists of numbers.

function (numberList1 as list, numberList2 as list) as nullable any

Description

Returns the covariance between two lists, numberList1 and numberList2. numberList1 and numberList2 must contain the same number of number values.

Category

List.Numerics

Examples

Calculate the covariance between two lists.

List.Covariance({1, 2, 3},{1, 2, 3})

0.66666666666666607