โ† Back to Blog
๐Ÿ“… 2026-11-21 ๐Ÿ“‚ Tags: CFA / Correlation / Statistics / correlation / linear relationship ๐Ÿ‘ 0 views

Understanding Correlation in Portfolio Analysis

Correlation is one of the most frequently tested quantitative concepts in the CFA curriculum. It measures the strength and direction of a linear relationship between two variables, and it sits at the heart of portfolio construction, risk management, and factor investing. Whether you are analyzing asset returns, macroeconomic indicators, or fund performance metrics, understanding correlation is non-negotiable for a CFA candidate.

The Correlation Coefficient: Concept and Formula

The Pearson correlation coefficient (r) ranges from โ€“1 to +1:

The formula is:

r = Cov(X,Y) / (ฯƒ_X ร— ฯƒ_Y)

Where Cov(X,Y) is the covariance, and ฯƒ_X and ฯƒ_Y are the standard deviations of X and Y respectively.

Because correlation standardizes covariance by dividing by the product of standard deviations, it is dimensionless and directly comparable across different asset pairs.


Three Worked Examples Step by Step

Example 1: Computing Correlation from Raw Data

Problem: You have the following monthly returns for two stocks over six months:

Month Stock A (%) Stock B (%)
1 2.0 1.5
2 4.0 3.0
3 -1.0 -2.0
4 3.0 2.5
5 1.0 0.5
6 -2.0 -3.0

Calculate the sample correlation coefficient between Stock A and Stock B.

Step 1: Calculate means

Mean A = (2 + 4 โ€“ 1 + 3 + 1 โ€“ 2) / 6 = 7 / 6 = 1.167%

Mean B = (1.5 + 3 โ€“ 2 + 2.5 + 0.5 โ€“ 3) / 6 = 2.5 / 6 = 0.417%

Step 2: Use your calculator for standard deviations and covariance

On the TI BA II Plus:

  1. Press 2nd โ†’ P/S (to switch to frequency mode if needed, then switch back with 2nd โ†’ FREQ)
  2. Press STAT โ†’ 1 (ENTER) to enter 1-variable statistics
  3. Enter each Stock A return, pressing ENTER after each value
  4. Press 2nd โ†’ QUIT
  5. Press 1 โ†’ 4 to view Sx (sample standard deviation) = 2.517
  6. Repeat for Stock B: Sx = 2.236

For correlation directly, use the 2-variable statistics mode:

  1. Press STAT โ†’ 2 (ENTER)
  2. Enter each (X, Y) pair: press ENTER after X, then ENTER after Y
  3. After all six pairs, press 2nd โ†’ QUIT
  4. Press 1 โ†’ 10 to display r

Result: r = 0.961

This indicates a strong positive linear relationship โ€” the stocks move very closely together.

๐Ÿ’ก Tip: If you're studying on the go, the RBA Calculator app brings the full TI BA II Plus experience to iOS, including the 2-variable statistics function for correlation calculations.


Example 2: Converting Between Covariance and Correlation

Problem: The annual return on Asset X has a standard deviation of 15%, and Asset Y has a standard deviation of 20%. The covariance between X and Y is 0.015. Calculate the correlation coefficient.

Solution:

r = Cov(X,Y) / (ฯƒ_X ร— ฯƒ_Y)

r = 0.015 / (0.15 ร— 0.20)

r = 0.015 / 0.030

r = 0.50

BA II Plus keystrokes:

  1. Enter 0.015
  2. Press รท
  3. Enter 0.15
  4. Press ร—
  5. Enter 0.20
  6. Press = โ†’ 0.5

This moderate positive correlation means the two assets share some systematic movement but still offer diversification benefits.


Example 3: Portfolio Variance Using Correlation

Problem: You hold a 60/40 portfolio of Stock A (ฯƒ = 25%) and Stock B (ฯƒ = 30%). The correlation between A and B is 0.30. Calculate the portfolio variance and standard deviation.

Formula:

ฯƒ_Pยฒ = w_Aยฒ ร— ฯƒ_Aยฒ + w_Bยฒ ร— ฯƒ_Bยฒ + 2 ร— w_A ร— w_B ร— r_AB ร— ฯƒ_A ร— ฯƒ_B

Calculation:

ฯƒ_Pยฒ = (0.60)ยฒ(0.25)ยฒ + (0.40)ยฒ(0.30)ยฒ + 2(0.60)(0.40)(0.30)(0.25)(0.30)

ฯƒ_Pยฒ = 0.36(0.0625) + 0.16(0.09) + 2(0.60)(0.40)(0.30)(0.25)(0.30)

ฯƒ_Pยฒ = 0.0225 + 0.0144 + 0.0108

ฯƒ_Pยฒ = 0.0477

ฯƒ_P = โˆš0.0477 = 21.84%

BA II Plus keystrokes:

  1. 0.0477 โ†’ 2nd โ†’ โˆšx โ†’ 0.2184

This example shows why correlation matters in practice: even with two volatile assets, a low correlation (0.30) substantially reduces portfolio risk compared to holding either asset alone.


Common Mistakes When Working with Correlation

  1. Confusing correlation with causation. A high correlation does not prove one variable causes the other. In CFA ethics and quantitative contexts, this distinction is critical.

  2. Ignoring non-linear relationships. Correlation only captures linear relationship strength. Two variables with a curved (quadratic) relationship can have r = 0 even though they are strongly related.

  3. Forgetting to use sample vs. population formulas. In the CFA exam, you will almost always compute sample correlation (dividing by nโ€“1 in covariance). Using the population formula will give you the wrong answer.

  4. Mixing up percentage and decimal form. A covariance of 0.015 is different from 1.5% covariance. Always convert to decimals before plugging into formulas.

  5. Assuming correlation is constant over time. Rolling correlations change as market regimes shift. A correlation that was 0.2 in calm markets can spike to 0.9 during crises.


FAQ

Does a correlation of zero mean the variables are independent?

Not necessarily. A correlation of zero means there is no linear relationship, but the variables could still share a non-linear relationship (e.g., a U-shaped curve). True statistical independence requires that the joint distribution equals the product of marginals for all values.

How is correlation different from beta?

Beta measures the sensitivity of one asset's returns to market returns (a slope coefficient), while correlation measures the strength and direction of a linear relationship without implying direction of causation. Beta = correlation ร— (ฯƒ_asset / ฯƒ_market).

Should I memorize the correlation formula or use the calculator's built-in function?

Know the formula conceptually so you can explain the logic in essay questions. For numerical problems, the BA II Plus 2-variable statistics function (STAT โ†’ 2) is faster and less error-prone. If you study on a tablet or phone, the RBA Calculator iOS app provides the same BA II Plus functionality for practice outside the classroom.

How many data points do I need for a reliable correlation estimate?

As a rule of thumb, analysts prefer at least 30 observations. With fewer than 20 data points, the correlation estimate has wide confidence intervals and may not be statistically significant โ€” a nuance that occasionally appears in the CFA Level III curriculum.

๐Ÿ“ฑ Need to practice?

RBA Calculator handles all TVM, NPV/IRR and bond calculations, matching the BA II Plus used in exams 100%.

Free Download on App Store

Don't want to download?Try the web calculators โ†’