Microsoft Store
 

Covariance


 

::This article is not about the physics topic, covariant transformation, nor about the mathematics example for groupoids, covariance in special relativity, nor about parameter covariance in object-oriented programming.

Related Topics:
Physics - Covariant transformation - Covariance in special relativity - Parameter covariance

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

In probability theory and statistics, the covariance between two real-valued random variables X and Y, with expected values E(X)=mu and E(Y)= u is defined as:

Related Topics:
Probability theory - Statistics - Real - Random variable - Expected value

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: operatorname{cov}(X, Y) = operatorname{E}((X - mu) (Y - u)), ,

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

where E is the expected value.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Intuitively, covariance is the measure of how much two variables vary together. That is to say, the covariance becomes more positive for each pair of values which differ from their mean in the same direction, and becomes more negative with each pair of values which differ from their mean in opposite directions. In this way, the more often they differ in the same direction, the more positive the covariance, and the more often they differ in opposite directions, the more negative the covariance.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The units of measurement of the covariance cov(X,Y) are those of X times those of Y. By contrast, the correlation, which depends on the covariance, is a dimensionless measure of linear dependence.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The definition above is equivalent to the following formula which is commonly used in calculations:

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: operatorname{cov}(X, Y) = operatorname{E}(X Y) - mu u. ,

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

If X and Y are independent, then their covariance is zero. This follows because under independence,

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: E(X cdot Y)=E(X) cdot E(Y)=mu u,

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The converse, however, is not true: it is possible that X and Y are not independent, yet their covariance is zero. Random variables whose covariance is zero are called uncorrelated.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

If X and Y are real-valued random variables and c is a constant ("constant", in this context, means non-random), then the following facts are a consequence of the definition of covariance:

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: operatorname{cov}(X, X) = operatorname{var}(X),

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: operatorname{cov}(X, Y) = operatorname{cov}(Y, X),

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: operatorname{cov}(cX, Y) = c, operatorname{cov}(X, Y),

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: operatorname{cov}left(sum_i{X_i}, sum_j{Y_j} ight) = sum_i{sum_j{operatorname{cov}left(X_i, Y_j ight)}}.,

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

For column-vector valued random variables X and Y with respective expected values μ and ν, and n and m scalar components respectively, the covariance is defined to be the n×m matrix

Related Topics:
Vector - Scalar - Matrix

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: operatorname{cov}(X, Y) = operatorname{E}((X-mu)(Y- u)^ op).,

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

For vector-valued random variables, cov(X, Y) and cov(Y, X) are each other's transposes.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The covariance is sometimes called a measure of "linear dependence" between the two random variables. That phrase does not mean the same thing that it means in a more formal linear algebraic setting (see linear dependence), although that meaning is not unrelated. The correlation is a closely related concept used to measure the degree of linear dependence between two variables.

Related Topics:
Linear algebra - Linear dependence - Correlation

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

 
 

~ Table of Content ~

Introduction

 

 

~ What's Hot ~


~ Community ~

History Forum
Come and discuss about History, Civilizations, Historical Events and Figures
History Web-Ring
A community of sites, blogs and forums dedicated to History. Do not hesitate to submit your site.