TX Sheet Control

COVAR Function

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. 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. COVAR is the compatibility version of COVARIANCE.P.

Syntax

COVAR(known_y, known_x, x)

Category: Statistics. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=COVAR({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.

See Also