Charta is on Google Play: practise on the go. Get the app

Work out covariance and correlation and explain what they show

CFA® Level I · Quantitative Methods · Statistical Characteristics of Asset Returns · QM.4.d

The idea

Covariance measures whether two variables move together: positive if they tend to rise and fall in step, negative if they offset. Its magnitude depends on the units of both variables, so it cannot be compared across pairs. Correlation divides covariance by the product of the two standard deviations, producing a unitless number bounded between -1 and +1 that can be compared across pairs. Neither says anything about causation, and both capture only linear association - two variables can be strongly related and still show a correlation near zero if the relationship curves.

Formulas

Correlation from covariance

ρ(A,B) = Cov(A,B) ÷ (σA × σB)

Cov(A,B)
the covariance of the two returns
σA
the standard deviation of A
σB
the standard deviation of B

Correlation is covariance made unit-free, so it is bounded by −1 and +1. Covariance alone says direction but not strength.

Covariance

Cov(A,B) = Σ (a − ā)(b − b̄) ÷ (n − 1)

a, b
paired observations of the two variables
ā, b̄
their sample means
n
the number of pairs

Its sign shows whether the two move together, but its size depends on the units, which is why correlation is easier to read.

A practice question

From the question bank, with the reason each wrong option is wrong.

What is the range of a correlation coefficient?

  1. −1 to +1 - correct
  2. 0 to 1Why not: That excludes inverse relationships, which correlation expresses as negative values down to −1.
  3. UnboundedWhy not: That describes covariance, whose size depends on the units of both variables. Normalising by the two standard deviations imposes the bound.

Correlation measures how closely two things move together, on a fixed scale. Correlation = Covariance / (Standard deviation of X x Standard deviation of Y). Dividing by both standard deviations (measures of how spread out each one is) squeezes the result between -1 and +1. A value of +1 means they move perfectly together, -1 means perfectly opposite, and 0 means no straight-line link. Covariance has no such limit.

A harder one

Why is correlation usually reported rather than covariance?

  1. Covariance stays positive, so it hides inverse linksWhy not: Covariance can be negative, and a negative covariance is how an inverse relationship shows up before normalising.
  2. Covariance is unit-dependent, so pairs cannot be compared - correct
  3. Correlation captures curved as well as straight linksWhy not: It captures only linear association. That is its central limitation, not its advantage.

Covariance shows whether two things move together, but its size depends on the units used, such as dollars or percentages. A covariance of 0.0012 means little without knowing the scales. Correlation = Covariance / (Standard deviation of X x Standard deviation of Y). Dividing by both standard deviations removes the units, so correlations for different pairs can be compared directly. Covariance can be negative, and correlation only captures straight-line links.

The hardest tier

Two variables have a correlation near zero but are clearly related when plotted. What explains this?

  1. The sample is too small for correlation to be definedWhy not: It is defined for any sample with variation in both variables, and the plot shows a clear pattern rather than a sparse one.
  2. The correlation was probably calculated incorrectlyWhy not: A correctly computed correlation can sit at zero for a strongly dependent pair, provided the dependence is not linear.
  3. Correlation captures only linear links; this one is non-linear - correct

Correlation only detects straight-line relationships. If the link is curved, it can be strong yet show a correlation near zero. Think of a U-shape: as X rises, Y first falls then rises, and the two effects cancel out. Correlation = Covariance / (Standard deviation of X x Standard deviation of Y). That is why analysts plot the data first and do not trust the number alone.

In the app: 15 practice questions on this outcome, a narrated walkthrough with diagrams, spaced review that brings it back before you forget it.

Take the free diagnostic →

More in Statistical Characteristics of Asset Returns