COVARIANCE.P Function
Return the population covariance of two data sets. The covariance is the average of the products of the deviations of each pair of values from their means, divided by the number of pairs. known_y and known_x are ranges or arrays with the same number of values; a pair that contains text or a logical value is ignored. Sets of different size return #N/A. Use COVARIANCE.S when the values are a sample.
Syntax
COVARIANCE.P(known_y, known_x, x)
Category: Statistics. Minimum arguments: 2. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=COVARIANCE.P({1,2,3},{2,4,6})
The formula returns 1.3333333333.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.