List.CovarianceList.Covariance

構文Syntax

List.Covariance(numberList1 as list, numberList2 as list) as nullable number 

バージョン情報About

numberList1numberList2 の 2 つのリストの間の共分散を返します。Returns the covariance between two lists, numberList1 and numberList2. numberList1numberList2 には、同じ数の number 値を含める必要があります。numberList1 and numberList2 must contain the same number of number values.

例 1Example 1

2 つのリストの間の共分散を計算します。Calculate the covariance between two lists.

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

0.66666666666666607