The Investor's Advocate's Logo

← Glossary

Covariance

What is Covariance?

Covariance measures how two variables move in tandem. Covariance is the most common statistical measure of association.

To calculate the covariance between two variables, X and Y, we multiply together each variable's deviation from its mean value at the same point in the process and take the average.

$$q_{xy}=\frac1 n \underset{i=0}{\overset{n}{\sum}}(x_i-\mu_x)(y_i-\mu_y)$$

$$Larger\; Positive\; Covariance\;$$

A graph demonstrating a larger positive covariance.

$$Smaller\; Positive\; Covariance\;$$

A graph demonstrating a smaller positive covariance.