Difference between revisions of "Covariance"

From Conservapedia
Jump to navigation Jump to search
m
m
Line 5: Line 5:
 
: <math>\operatorname{Cov}(X, Y) = \operatorname{E}[(X - \mu) (Y - \nu)], \,</math>
 
: <math>\operatorname{Cov}(X, Y) = \operatorname{E}[(X - \mu) (Y - \nu)], \,</math>
  
−
where E is the operator for the expected value.  
+
where E is the operator for the [[expected value]].  
  
−
If ''X'' and ''Y'' are completely [[independent variables|independent]] from each other, then they have zero covariance.
+
If ''X'' and ''Y'' are completely statistically independent from each other, then they have zero covariance.
  
 
Note that if ''X'' and ''Y'' have covariance zero, they are un[[correlated]] but are not necessarily independent.
 
Note that if ''X'' and ''Y'' have covariance zero, they are un[[correlated]] but are not necessarily independent.
  
 
[[category:probability and Statistics]]
 
[[category:probability and Statistics]]

Revision as of 14:45, January 17, 2009

Covariance is a measure of the linear dependence of two random variables. If two variables tend to vary in the same direction, then they have a positive covariance. If they tend to vary in opposite directions, then they have a negative covariance.

The covariance between two random variables X and Y, having expected values <math>\mu</math> and <math>\nu</math> respectively, is as follows:

<math>\operatorname{Cov}(X, Y) = \operatorname{E}[(X - \mu) (Y - \nu)], \,</math>

where E is the operator for the expected value.

If X and Y are completely statistically independent from each other, then they have zero covariance.

Note that if X and Y have covariance zero, they are uncorrelated but are not necessarily independent.