Skip to content

New to Omni?·Get 20% off your first purchase with code WELCOME20 at checkout.See plans

All insights

CFA® covariance and correlation from paired returns

Covariance shows whether paired returns move together; correlation makes the linear relationship comparable across scales. Calculate both and avoid a causal reading.

ConceptOmni Curriculum Team2 min read

Two sheets with different unlabelled blue return lines lie beside a blue pencil on a navy desk.
On this page

Covariance tells you whether two return series tend to be above or below their own averages together. Correlation divides that covariance by the series’ standard deviations, leaving a unitless measure of linear association. A positive value signals movement in the same direction; neither measure says that one return causes the other.

Why the two measures differ

For paired observations, first find each series’ mean. Multiply the deviations from those means pair by pair, add the products, and divide by the sample denominator. The result retains the squared units of the inputs, so its sign is easier to interpret than its size.

sXY=∑i=1n(Xi−Xˉ)(Yi−Yˉ)n−1s_{XY}=\frac{\sum_{i=1}^{n}(X_i-\bar X)(Y_i-\bar Y)}{n-1}
Sample covariance: X and Y are paired returns, the bars are sample means, and n is the number of pairs.

Standardising removes that scale problem. Correlation uses the same covariance but expresses it relative to the variability of each series. Its possible values run from negative one to positive one; zero means no linear association, which need not mean no relationship of any kind.

rXY=sXYsXsYr_{XY}=\frac{s_{XY}}{s_Xs_Y}
Sample correlation: sample covariance divided by the product of the two sample standard deviations.

An illustrative calculation from paired returns

The following invented observations are percentages, paired by period. They are teaching numbers, not market returns.

Download CSV
Article data
A2%2%−2 points−2 points4 points squared
B4%6%0 points2 points0
C6%4%2 points0 points0

Both illustrative means are 4%. The cross-products total 4 percentage points squared. With three pairs, the sample denominator is two, so sample covariance is 2 percentage points squared. Each series has squared deviations totalling 8; dividing by two gives a sample variance of 4 and a standard deviation of 2 percentage points. Correlation is therefore 2 divided by the product of 2 and 2, or 0.5.

The positive covariance says the deviations tend to have matching signs. The correlation of 0.5 communicates the strength of that linear pattern without carrying percentage-point units. If the returns were entered as decimals, the covariance number would change while correlation would stay 0.5.

What the exam is testing

CFA Institute’s portfolio mathematics learning outcomes call for calculating and interpreting both measures. The distinction matters because portfolio risk depends on how holdings vary together, not only on how much each varies alone. Its reading on tests of independence also treats correlation as a linear relationship that may need statistical testing.

Keep the paired periods aligned, use the same sample convention for covariance and standard deviations, and check the scatter plot before making a broad claim. A curved pattern or an unusual observation can make one correlation coefficient a poor summary. Most importantly, association alone cannot establish a causal mechanism.

For the wider topic sequence, see the CFA program page. The study methodology provides a way to organise revision after working the calculation yourself.

Sources

  1. Portfolio Mathematics | CFA Institute · cfainstitute.org · Retrieved
  2. Parametric and Non-Parametric Tests of Independence | CFA Institute · cfainstitute.org · Retrieved

Explore CFA study resources

Educational content, not investment advice. This article is written to help candidates prepare for professional exams. It is not a recommendation to buy, sell or hold any security, and it does not take your personal circumstances into account.

Omni Finance Academy is an independent exam-preparation provider and is not affiliated with or endorsed by CFA Institute, GARP, CAIA Association or CFP Board. CFA®, FRM®, CAIA® and CFP® are trademarks of their respective owners. Full disclaimer.