Correlation is one of the most frequently tested topics across all three levels of the CFA curriculum. Whether you're analyzing portfolio risk in Level I, evaluating regression output in Level II, or constructing efficient portfolios in Level III, a solid grasp of correlation and linear relationship concepts separates strong candidates from the rest.
This article breaks down the core ideas, walks through a calculation using the BA II Plus, and highlights the mistakes that cost candidates precious points.
Correlation quantifies the strength and direction of a linear relationship between two random variables. The correlation coefficient, denoted as ฯ (rho) or r, always falls between โ1 and +1:
The population correlation coefficient is defined as:
$$\rho_{X,Y} = \frac{\text{Cov}(X,Y)}{\sigma_X \cdot \sigma_Y}$$
where Cov(X,Y) is the covariance between X and Y, and ฯ_X, ฯ_Y are their respective standard deviations.
For sample data from n observations, the sample correlation uses the formula:
$$r_{X,Y} = \frac{\sum_{i=1}^{n}(X_i - \bar{X})(Y_i - \bar{Y})}{(n-1)\cdot s_X \cdot s_Y}$$
In Level I, you'll compute correlations and interpret their implications for portfolio diversification. In Level II, correlation appears in the Simple Linear Regression model, where the slope ฮฒโ = ฯ ร (ฯ_Y / ฯ_X). In Level III, correlation matrices are essential inputs to mean-variance optimization and risk modeling.
You are given the following monthly return data (in %) for two stocks, A and B:
| Month | Stock A | Stock B |
|---|---|---|
| 1 | 2.0 | 3.5 |
| 2 | 4.0 | 5.0 |
| 3 | 1.0 | 2.5 |
| 4 | 5.0 | 6.0 |
| 5 | 3.0 | 4.5 |
Calculate the sample correlation coefficient between Stocks A and B.
Step 1: Enter Stock A data
2nd โ 7 (STAT mode)Enter after eachโ twice to move to Y-columnStep 2: Enter Stock B data
Enter after each2nd โ 1 (QUIT) to exitStep 3: Retrieve statistics
2nd โ 7 (STAT mode)โ โ โ โ โ โ โ โ โ (navigate to the correlation coefficient r)Step 4: Verify with manual calculation
Wait โ this exceeds 1, which signals a calculation error. Let me recheck: ฮฃ(XแตขโXฬ)ยฒ = 1+1+4+4+0 = 10, so s_A = โ(10/4) = โ2.5 โ 1.5811. ฮฃ(YแตขโYฬ)ยฒ = 0.64+0.49+3.24+2.89+0.04 = 7.30, so s_B = โ(7.30/4) = โ1.825 โ 1.3509.
The BA II Plus gives r โ 0.995, confirming a very strong positive linear relationship between the two stocks.
Tip: If you want a faster mobile experience without carrying a physical calculator, the RBA Calculator iOS app replicates the TI BA II Plus interface on your iPhone โ handy for quick practice between study sessions.
| Mistake | Why It's Wrong | How to Fix |
|---|---|---|
| Confusing correlation with causation | High correlation does not imply one variable causes the other | Remember: correlation measures co-movement, not mechanism |
| Assuming ฯ = 0 means no relationship | It only means no linear relationship | Non-linear patterns (e.g., U-shaped) can exist with ฯ โ 0 |
| Using population formula with sample data | Population uses N; sample uses (nโ1) | Always use nโ1 for unbiased estimates |
| Forgetting that correlation is scale-free | Multiplying one variable by 100 doesn't change ฯ | Normalize data if needed to spot outliers, but ฯ stays the same |
| Misinterpreting a near-zero correlation as "no relationship" | Could be a strong non-linear relationship | Check scatter plots or transform variables |
The portfolio variance formula for two assets illustrates why correlation matters:
$$\sigma_P^2 = w_A^2\sigma_A^2 + w_B^2\sigma_B^2 + 2w_A w_B \rho_{AB}\sigma_A\sigma_B$$
When ฯ_AB < 1, diversification reduces portfolio volatility. The lower the correlation (even negative), the greater the diversification benefit. This is a Level III staple for constructing optimal portfolios.
Covariance measures the direction of co-movement but is affected by the scale (units) of the variables. Correlation standardizes covariance by dividing by the product of standard deviations, producing a unitless number between โ1 and +1. Correlation is therefore the preferred measure when comparing relationships across different variable pairs.
Theoretically, no โ the mathematical bounds are โ1 to +1. If your calculation yields a value outside this range, you've made an arithmetic error. A useful exam sanity check is to always verify your correlation falls within bounds before submitting.
In a simple regression Y = ฮฑ + ฮฒX + ฮต, the slope coefficient ฮฒโ equals ฯ ร (ฯ_Y / ฯ_X). The coefficient of determination Rยฒ equals ฯยฒ โ the square of the correlation. This means Rยฒ captures the proportion of variance in Y explained by the linear relationship with X, regardless of the sign of ฯ.
Yes. If you replace X with โX, the correlation becomes โฯ. A perfect positive relationship (ฯ = +1) becomes a perfect negative relationship (ฯ = โ1). This is why sign conventions matter in portfolio construction โ shorting an asset effectively negates its correlation contribution.
Correlation is deceptively simple to state but rich in application. Practice computing it both manually and with your BA II Plus until the keystrokes are automatic. Understand when correlation is appropriate and when it misleads. And always connect the math back to its financial meaning โ whether that's diversification, regression interpretation, or asset allocation. Mastering this concept is genuinely one of the key skills to score consistently in the CFA exam.
RBA Calculator handles all TVM, NPV/IRR and bond calculations, matching the BA II Plus used in exams 100%.
Free Download on App StoreDon't want to download?Try the web calculators โ