Difference between revisions of "Covariance"
(New page: Covariance measures how much two random variables vary together relative to each other. If two variables tend to vary in the same direction, then they have a positive covariance. If t...) |
|||
| Line 10: | Line 10: | ||
Note that if ''X'' and ''Y'' have covariance zero, they are [[uncorrelated]] but are not necessarily independent. | Note that if ''X'' and ''Y'' have covariance zero, they are [[uncorrelated]] but are not necessarily independent. | ||
| + | [[category:probability and Statistics]] | ||
Revision as of 08:08, June 6, 2007
Covariance measures how much two random variables vary together relative to each other. 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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mu} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nu} respectively, is as follows:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \operatorname{Cov}(X, Y) = \operatorname{E}((X - \mu) (Y - \nu)), \,}
where E is the operator for the expected value.
If X and Y are completely 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.