The correlation coefficient, typically denoted by the Greek letter ρ (population) or r (sample), is a core statistical measure of the strength and direction of the linear relationship between two variables. Its value ranges from -1 to +1:
In CFA Level I Quantitative Methods, the correlation coefficient underpins portfolio theory, asset allocation, and risk management. However, exam questions on this concept often include traps that cause many candidates to lose points at critical moments.
$$r_{XY} = \frac{\text{Cov}(X, Y)}{\sigma_X \cdot \sigma_Y} = \frac{\sum_{i=1}^{n}(x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum_{i=1}^{n}(x_i - \bar{x})^2} \cdot \sqrt{\sum_{i=1}^{n}(y_i - \bar{y})^2}}$$
where Cov(X,Y) is the covariance, and σX and σY are the standard deviations of X and Y, respectively.
Suppose an analyst collected monthly return data for a stock (X) and an industry index (Y) in 2023, simplified to 5 periods:
| Month | X (Stock Return %) | Y (Index Return %) |
|---|---|---|
| 1 | 2.0 | 1.5 |
| 2 | 3.0 | 2.0 |
| 3 | 4.0 | 3.0 |
| 4 | 1.0 | 0.5 |
| 5 | 5.0 | 4.5 |
Solution Steps:
Step 1: Calculate the means
- $\bar{X} = (2+3+4+1+5)/5 = 3.0$
- $\bar{Y} = (1.5+2.0+3.0+0.5+4.5)/5 = 2.3$
Step 2: Compute the products and squares of deviations
| Month | $(x_i-\bar{x})$ | $(y_i-\bar{y})$ | Product | $(x_i-\bar{x})^2$ | $(y_i-\bar{y})^2$ |
|---|---|---|---|---|---|
| 1 | -1.0 | -0.8 | 0.8 | 1.0 | 0.64 |
| 2 | 0.0 | -0.3 | 0.0 | 0.0 | 0.09 |
| 3 | 1.0 | 0.7 | 0.7 | 1.0 | 0.49 |
| 4 | -2.0 | -1.8 | 3.6 | 4.0 | 3.24 |
| 5 | 2.0 | 2.2 | 4.4 | 4.0 | 4.84 |
| Total | — | — | 9.5 | 10.0 | 9.30 |
Step 3: Substitute into the formula
$$r = \frac{9.5}{\sqrt{10.0} \times \sqrt{9.30}} = \frac{9.5}{\sqrt{93.0}} = \frac{9.5}{9.644} \approx 0.985$$
Conclusion: r ≈ 0.985, indicating a very strong positive linear relationship between stock X and industry index Y.
If you are using a calculator to compute the sample correlation coefficient, follow these steps:
2 → ENTER → 1.5 → ENTER, 3 → ENTER → 2 → ENTER ... (5 pairs)r = .9851...💡 Recommended tool: If you are preparing on an iPhone, you can download RBA Calculator — a TI BA II Plus simulator app recommended by the SenseTime team. Its interface matches the physical calculator, supports 2-Var statistical calculations, and lets you practice correlation coefficient computations anytime, anywhere — ideal for drilling questions on your commute.
Many candidates confuse r (the correlation coefficient) with b (the regression slope). Key differences:
Common trap question: "If r = 0.8, then the regression slope is also 0.8" — Wrong! b equals r only when the two variables have equal standard deviations.
r = 0.95 only indicates a strong linear relationship between X and Y; it does not mean X causes Y. The CFA exam frequently sets such conceptual traps. The correct statement is "correlation does not imply causation."
The correlation coefficient only measures linear relationships. If two variables have a perfect quadratic relationship (e.g., Y = X²), the computed r over a symmetric interval may be close to 0.
Exam trap: "r = 0 means there is no relationship between the two variables" — Wrong! It only means there is no linear relationship; a nonlinear relationship may still exist.
When the sample size is small, r is an unbiased estimator of ρ but has sampling error. In the CFA exam, if the question provides sample data, you should use r and conduct a hypothesis test.
The sample covariance formula uses n-1 (Bessel's correction) instead of n:
$$\text{Cov}(X,Y) = \frac{\sum(x_i-\bar{x})(y_i-\bar{y})}{n-1}$$
However, when computing the correlation coefficient, both the numerator and denominator are divided by (n-1), which cancels out, so:
$$r = \frac{\sum(x_i-\bar{x})(y_i-\bar{y})}{\sqrt{\sum(x_i-\bar{x})^2} \cdot \sqrt{\sum(y_i-\bar{y})^2}}$$
This "convenient" cancellation is a frequently tested point and explains why the correlation coefficient is unaffected by the choice of sample vs. population degrees of freedom.
In CFA Level I, you may need to determine whether the sample correlation coefficient is significantly different from zero:
Test statistic:
$$t = \frac{r\sqrt{n-2}}{\sqrt{1-r^2}}$$
The degrees of freedom are n-2, and the t-distribution is used for the decision.
Extended example: Using the data above (n=5, r=0.985):
$$t = \frac{0.985 \times \sqrt{3}}{\sqrt{1-0.985^2}} = \frac{0.985 \times 1.732}{\sqrt{0.0297}} = \frac{1.706}{0.1724} \approx 9.89$$
For a two-tailed test at α=0.05 with df=3, the critical value is 3.182. Since 9.89 > 3.182, we reject the null hypothesis and conclude that the correlation coefficient is significantly different from zero.
A: It indicates a strong negative linear relationship between the two variables — as one variable increases, the other tends to decrease. Note that "negative" only indicates direction, while "0.9" indicates strength. The closer the absolute value is to 1, the stronger the linear relationship.
A: Not necessarily. r only measures linear relationships. The relationship between X² and Y may be nonlinear, in which case their linear correlation coefficient could be less than or even close to 0. This is a trap many candidates overlook.
A: Pearson r measures the linear relationship between variables and requires continuous data that are normally distributed. Spearman ρ measures the monotonic relationship (based on ranks), is more robust to outliers, and is suitable for nonlinear monotonic relationships or ordinal data. CFA Level I mainly tests Pearson r, but understanding Spearman helps you appreciate the limitations of "linear relationship."
A: The correlation coefficient itself is a bivariate measure. For multivariate relationships, you need to use a correlation matrix to display the pairwise correlations among all variables, or use methods such as multiple regression or factor analysis. In CFA Level II Portfolio Management, the application of covariance matrices is closely related to this.
| Key Point | Memory Aid |
|---|---|
| Range of r | [-1, +1] |
| r measures only linear relationships | "Correlation ≠ Causation, r ≠ Nonlinear" |
| Correlation coefficient is dimensionless | Standardized covariance |
| Sample vs. population | r vs ρ |
| Degrees of freedom cancel out in computation | Numerator and denominator both divided by (n-1) |
Mastering the linear relationship nature of the correlation coefficient is the first step to understanding modern portfolio theory. In the CFA exam, this topic is tested almost every year — in both the Quantitative Methods and Portfolio Management modules. We recommend practicing 2-Var statistical calculations with the RBA Calculator to ensure smooth operation and accurate results on exam day.
Remember: The correlation coefficient is the "thermometer" of financial analysis, but don't forget that it only measures one "temperature" — the linear relationship.
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 →