Difference between revisions of "Covariance"
From Conservapedia
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 [[ | + | where E is the operator for the [[expectation]]. |
If ''X'' and ''Y'' are completely [[statistically 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. |
Revision as of 01:00, February 22, 2009
Covariance is a measure of the linear dependence of two 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 and respectively, is as follows:
where E is the operator for the expectation.
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.