covariance-pop

Returns the population covariance of a set of number pairs.

Note: Supported only in dynamic query mode.

Syntax

covariance-pop ( numeric_expression1 ,  numeric_expression2 )
covariance-pop ( numeric_expression1 ,  numeric_expression2 for 
[ all|any ] expression { , expression } )
covariance-pop ( numeric_expression1 ,  numeric_expression2 for 
report )

Example

covariance-pop ( Cost ,  Margin  for report)

Result

The population covariance between Cost and Margin.

Result data

Cost Margin covariance-pop (Cost, Margin for report)
4 0.33 0.032384
5 0.28 0.032384
9.22 0.23 0.032384
15.93 0.28 0.032384
34.97 0.3 0.032384