COVAR

Calculates the covariance of a data set.

Sample usage

COVAR(A2:A100,B2:B100)

Syntax

COVAR(data_y, data_x)

  • data_y – The range representing the array or matrix of dependent data.

  • data_x – The range representing the array or matrix of independent data.

Notes

  • Any text encountered in the value arguments will be ignored.

  • Positive covariance indicates that the independent data and dependent data tend to change together in the same direction; negative indicates that they tend to change together in the opposite direction (i.e. increase in one leads to decrease in the other). The magnitude of covariance is difficult to interpret – use CORREL or PEARSON, the normalised version of COVAR, to gauge strength of linear correlation.

See also

STEYX: Calculates the standard error of the predicted y-value for each x in the regression of a data set.

SLOPE: Calculates the slope of the line resulting from linear regression of a data set.

RSQ: Calculates the square of r, the Pearson product-moment correlation coefficient of a data set.

INTERCEPT: Calculates the y-value at which the line resulting from linear regression of a data set will intersect the y-axis (x=0).

FORECAST: Calculates the expected y-value for a specified x based on a linear regression of a data set.

COVAR: Calculates the covariance of a data set.

CORREL: Calculates r, the Pearson product-moment correlation coefficient of a data set.

Examples

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Main menu
4749398324475701753
true
Search Help Centre
true
true
true
true
true
35
false
false