Portfolio Management · Portfolio risk and return I. Read by an AI voice. The lesson page, its interactive solver and the quiz: https://analystdojo.com/level-1/portfolio-management/risk-return-and-diversification/two-asset-portfolio-variance-and-correlation Next lesson: The efficient frontier and the global minimum-variance portfolio CFA Institute does not endorse, promote or warrant the accuracy or quality of Analyst Dojo. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Chapters
Introduction
Introduction and the exam
Covariance and correlation
Funds X and Y: σ, Cov and ρ
The two-asset variance formula
What correlation does to risk
The interactive: ρ and the mix
Many assets and the floor
Traps and takeaways
Quiz
Transcript
From the show. Tap a time to play from there.
This is Analyst Dojo: lessons for the CFA Level One exam. Today: Portfolio variance, covariance and correlation, from Portfolio Management · Portfolio risk and return I. Portfolio variance, covariance and correlation. This is the third of five lessons in Portfolio Risk and Return: Part One. The lesson before it was Risk aversion, utility and indifference curves. This is the portfolio mathematics from the quantitative methods topic, put to work with
historical inputs. You'll calculate the risk of a two-asset portfolio, and see why more assets help, but only down to a floor. On the exam, expect one two-asset standard deviation calculation, and one concept question on correlation: what happens to risk when the correlation falls. You may also be asked to calculate or interpret a mean, variance, covariance or correlation from a short series of historical returns.
You need each asset's mean and standard deviation, then a measure of how the two move together. The mean is a simple average: add the returns and divide by T, the number of periods. The variance adds up each return's squared gap from the mean and divides by T minus 1, not T. Covariance asks whether two returns tend to sit on the same side of their own means at the same time. It is the sum of the products of the two deviations, divided by T minus
1. Covariance has awkward units, percent squared, and no natural scale. Divide it by both standard deviations and you get the correlation, always between minus 1 and plus 1. Rho equals the covariance divided by sigma one times sigma two. Turn it around and the covariance equals rho times sigma one times sigma two. Know both directions. The lesson page has a solver for this. Under The question asks for, you can solve for
the covariance, the correlation, or a standard deviation. Pick the correlation, type in a covariance, and watch it scaled into a number between minus 1 and plus 1. If you want to try it, pause me now, have a play, and press play when you're ready. Otherwise I'll keep going. Now the example. Over four years, one fund swings around a lot and the other moves very little. Average the yearly returns and Fund X averages 8 percent, while Fund Y averages
4 percent. Take each year's gap from the mean, square it so the sign no longer matters, then average the squares, dividing by one less than the number of years. For Fund X that gives a variance of 88, in percent squared. Take the square root of the variance and you have the standard deviation. Fund X comes out near 9 and a half percent. Fund Y barely moves from year to year, so its standard deviation is only about 2 and a half percent.
Square each gap from the mean, add the squares, divide by one less than the number of years, and take the square root. Fund X's standard deviation is a little over 9 percent. Now covariance. For each year, multiply the two funds' gaps from their own means, then add those products. Two gaps on the same side of the mean give a positive product, and gaps on opposite sides give a negative one, so the total carries the direction of the relationship. Add the products and divide by one less than the number of years.
The covariance is negative, so the two funds tend to move in opposite directions, and it is a small number in percent squared. Divide the covariance by both standard deviations and you have the correlation. Here it is minus 0.28. The two funds move in opposite directions, but only weakly. Covariance gave the direction; only the correlation gives the strength. Multiply each pair of gaps, add the four products, then divide by one less than the number
of years. The covariance comes out at about minus 6.7, in percent squared. Correlation is the covariance divided by the product of the two standard deviations. Here that gives about minus 0.28. Historical returns are a sample, so use T minus 1 unless the question says otherwise. A Go deeper box also shows the statistics worksheets on both calculators, which give the standard deviations and the correlation directly; the covariance is then the correlation
times the two standard deviations. Now the two-asset portfolio. Its expected return is the weighted average of the two expected returns: w one times the first, plus w two times the second. Correlation plays no part in it. Risk is different. The variance has three terms: asset one's variance times its weight squared, the same for asset two, and an interaction term of two times the two weights
times the covariance. As a formula: portfolio variance equals w one squared times sigma one squared, plus w two squared sigma two squared, plus two times w one, w two, rho, sigma one and sigma two. Take the square root for the standard deviation, and never drop the third term. Here's the example. Most of the money, 60 percent, goes into an equity fund with a higher return and higher volatility, and the other 40 percent into a bond fund with a lower
return and lower volatility. The correlation between them is 0.5. Return is just the weighted average, so it is 8.6 percent whatever the correlation. The variance starts with each asset's own variance scaled by its squared weight. The big equity weight and the big equity variance dominate. The interaction term adds twice the two weights times the covariance, and here it is positive but smaller than the two own-variance pieces.
The total variance is 0.0208, so the portfolio standard deviation is about 14 and a half percent. The weighted average of the two standard deviations is 16 percent. The portfolio's 14.42 sits below that, and the shortfall is the diversification benefit. You get less risk than the simple average, without giving up any return. Square each weight, multiply by that asset's variance, then add twice the two weights
times the covariance. Take the square root and the portfolio standard deviation is about 14 and a half percent. The lesson page has a solver for two-asset risk: solve for the variance, the standard deviation, or the implied correlation. Pick the portfolio standard deviation, type a correlation of minus 0.5, and you'll see 10.58 percent. Pause me if you'd like to try it first; I'll keep going otherwise. Here is what correlation does, with the return fixed at 8.6 percent.
At plus 1 the risk is the weighted average, 16 percent. As the correlation falls, risk falls with it, and at minus 1 it reaches 8 percent, exactly the difference between the two weighted standard deviations. The lesson page has an interactive chart with two tabs, Two assets and Many assets. On Two assets there are two sliders, one for the weight in the equity fund and one for the correlation, rho. The dashed line is the plus 1 case, and the gap to its left is
the diversification benefit. Try bringing the correlation down to minus 1 and finding the mix with almost no risk. Same deal: if you want a go, use the lesson page after the episode. Three points. At plus 1, portfolio risk is the weighted average, with no diversification. Below plus 1 it is lower, and the lower the correlation, the lower the risk. At minus 1, a zero-risk mix exists.
Put the other asset's standard deviation over the sum of the two standard deviations, and that is the weight in the first asset. Here it gives about a third in the equity fund, and the rest in the bond fund. Divide the bond fund's standard deviation by the sum of the two standard deviations. That gives a third in the equity fund. Here it is in real terms. Oil prices spike or slump with equal chances. An airline does badly when oil spikes and well when it slumps, averaging 9 percent, and
a second airline behaves just the same way. Half in each airline still gives the same swings, because the two move in lockstep. Half in an airline and half in an oil producer gives exactly 9 percent whatever the oil price does. The correlation is minus 1, and the risk is gone. To reduce risk you need assets that do well when your others do badly. In the real world, correlations above about 0.90 give little diversification, and below
about 0.50 it is attractive. Stocks and bonds are generally the least correlated major pair. A warning: historical correlations are averages. In a crisis, risky assets tend to fall together, correlations rise, and the benefit shrinks just when you need it. Within a country they are fairly stable, but across countries they have been rising. Now many assets. Take an equally weighted portfolio of N assets.
The average variance is the mean of the asset variances, and the average covariance is the mean of all the pairwise covariances. In plain words, the part of the variance that comes from each asset's own risk shrinks as you add assets, while the part that comes from how they move together settles at the average covariance. So covariance accounts for almost all the risk of a large portfolio. If every asset has the same standard deviation and every pair the same correlation, the
average covariance is rho times the variance, and the floor is its square root. Example: every asset has a volatility of 30 percent and every pair has a correlation of 0.3. The variance of each asset is 0.09, and the average covariance is 0.027. One asset carries the full 30 percent volatility. Ten assets bring it down a lot, and after that the falls get smaller and smaller.
With a very large number of assets the risk approaches the square root of the average covariance, about 16.4 percent. With 10 assets, the own-variance part is already divided by 10, and the covariance part is almost the whole average covariance. The square root gives about 18 percent, and most of the benefit arrives with the first ten or so assets. For 10 assets, divide the average variance by 10, add almost the whole average covariance, then take the square root. The portfolio standard deviation is about 18 percent.
The floor is the square root of the average covariance. With a correlation of 0.3 and a volatility of 30 percent, that is about 16.4 percent, and no amount of extra assets goes below it. The lesson page has a third solver, for many assets: solve for the portfolio standard deviation, the lowest risk many assets can reach, the average correlation, or the number of assets. Change N to 100 and you'll see 16.62 percent.
Same deal: pause me if you want a go. Back in the interactive chart on the lesson page, the second tab, Many assets, has sliders for the number of assets, N, each asset's sigma, and the average correlation. Push N to 100 and compare the risk with the floor, or set the average correlation to zero and add assets. Why a floor? The remaining risk is shared by all the assets: more holdings wipe out each asset's own variance, but not the common covariance, which the next module calls
systematic risk. For three or more assets, the exact variance sums every pair of weights times their covariance, and covariances far outnumber assets. Six traps. First, dropping the interaction term. Portfolio variance has three terms, never two. Second, using the weighted average of the standard deviations. That is right only when the correlation is plus 1. Third, squaring the weights but not the standard deviations, or using a standard deviation
where the covariance belongs. Fourth, thinking more assets drive risk to zero. The floor is the average covariance. Fifth, dividing by T instead of T minus 1 for sample statistics. And sixth, mixing percentages and decimals in one calculation. The takeaways. Portfolio variance has three terms: each asset's own risk, and the interaction. Never forget the covariance term. Correlation changes risk, not expected return.
Below plus 1, portfolio risk is less than the weighted average of the standard deviations, and at minus 1 it can reach zero. And with many assets, portfolio variance falls toward the average covariance, not to zero. That is portfolio variance, covariance and correlation, the third lesson of Portfolio Risk and Return: Part One. Next in this module is The efficient frontier and the global minimum-variance portfolio. Now three quick questions, and none of them needs
a calculator. Each one pauses for a moment before the answer. Question one. Two assets have a correlation of plus 1. The standard deviation of a portfolio of the two is... A: Below the weighted average of the two standard deviations. B: Zero. C: Exactly the weighted average of the two standard deviations. The answer is C. At plus 1 the assets move in lockstep, so their risks add up and no
diversification is possible. Question two. Holding the weights and the two standard deviations fixed, a fall in the correlation between the assets will... A: Lower portfolio risk and leave expected return unchanged. B: Lower portfolio risk and lower expected return. C: Leave portfolio risk unchanged. The answer is A. Correlation appears only in the covariance term of the variance, so
a lower correlation lowers risk, while expected return stays the weighted average. Question three. As the number of assets in an equally weighted portfolio becomes very large, portfolio variance approaches... A: Zero. B: The average covariance between the assets. C: The average variance of the assets. The answer is B. Each asset's own variance is divided by N and fades away, but the
covariance shared by all the assets remains and sets the floor. That was Portfolio variance, covariance and correlation. The lesson, its solver and the quiz are at analystdojo dot com. Next: The efficient frontier and the global minimum-variance portfolio.