Covariance

Covariance measures how two variables move together, whether they tend to rise and fall at the same time.

  • Positive covariance: variables move in the same direction.
  • Negative covariance: variables move in opposite directions.

Formula:

Where:

  • and are the two variables.
  • and are individual data points.
  • and are the means of and .
  • is the number of data points.

In finance, used to see how a stock’s returns move with the market, key to calculating Beta.