Covariance: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Boris Tsirelson
(→‎Formal definition: why say "''X'' and ''Y''" twice?)
imported>Peter Schmitt
(changed formulation)
Line 11: Line 11:
* If one variable increases (in the mean) with the other, then the covariance is positive.
* If one variable increases (in the mean) with the other, then the covariance is positive.
* It is negative if one variable tends to decrease when the other increases.
* It is negative if one variable tends to decrease when the other increases.
* And it is 0 if the two variables are not linearly correlated. In particular, this is the case for stochastically independent variables. The inverse is not true, however, because there may still be other dependencies.
* If it is 0 then there is no linear correlation between the two variables.<br> In particular, this is the case for stochastically independent variables. But the inverse is not true because there may still be other &ndash; nonlinear &ndash; dependencies.
The value of the covariance is scale-dependent and therefore does not show how strong the correlation is.
The value of the covariance is scale-dependent and therefore does not show how strong the correlation is.
For this purpose a normed version of the covariance is used
For this purpose a normed version of the covariance is used

Revision as of 18:29, 28 January 2010

This article has a Citable Version.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article has an approved citable version (see its Citable Version subpage). While we have done conscientious work, we cannot guarantee that this Main Article, or its citable version, is wholly free of mistakes. By helping to improve this editable Main Article, you will help the process of generating a new, improved citable version.

The covariance — usually denoted as Cov — is a statistical parameter used to compare two real random variables on the same sample space.
It is defined as the expectation (or mean value) of the product of the deviations (from their respective mean values) of the two variables.

The sign of the covariance indicates a linear trend between the two variables.

  • If one variable increases (in the mean) with the other, then the covariance is positive.
  • It is negative if one variable tends to decrease when the other increases.
  • If it is 0 then there is no linear correlation between the two variables.
    In particular, this is the case for stochastically independent variables. But the inverse is not true because there may still be other – nonlinear – dependencies.

The value of the covariance is scale-dependent and therefore does not show how strong the correlation is. For this purpose a normed version of the covariance is used — the correlation coefficient which is independent of scale.

Formal definition

The covariance of two real random variables X and Y with expectation (mean value)

is defined by

Remark:
If the two random variables are the same then their covariance is equal to the variance of the single variable: Cov(X,X) = Var(X).