WEBVTT

1
00:00:00.000 --> 00:00:03.913
This is Analyst Dojo: lessons for the CFA Level One exam.

2
00:00:04.296 --> 00:00:09.938
Today: Portfolio variance, covariance and correlation, from Portfolio Management · Portfolio

3
00:00:10.008 --> 00:00:11.331
risk and return I.

4
00:00:12.231 --> 00:00:15.319
Portfolio variance, covariance and correlation.

5
00:00:16.016 --> 00:00:20.439
This is the third of five lessons in Portfolio Risk and Return: Part One.

6
00:00:21.252 --> 00:00:25.490
The lesson before it was Risk aversion, utility and indifference curves.

7
00:00:26.442 --> 00:00:31.178
This is the portfolio mathematics from the quantitative methods topic, put to work with

8
00:00:31.225 --> 00:00:36.856
historical inputs. You'll calculate the risk of a two-asset portfolio, and see why more

9
00:00:36.914 --> 00:00:40.002
assets help, but only down to a floor.

10
00:00:40.902 --> 00:00:47.206
On the exam, expect one two-asset standard deviation calculation, and one concept question

11
00:00:47.276 --> 00:00:51.630
on correlation: what happens to risk when the correlation falls.

12
00:00:52.080 --> 00:00:58.245
You may also be asked to calculate or interpret a mean, variance, covariance or correlation

13
00:00:58.315 --> 00:01:00.950
from a short series of historical returns.

14
00:01:01.850 --> 00:01:07.365
You need each asset's mean and standard deviation, then a measure of how the two move

15
00:01:07.400 --> 00:01:13.785
together. The mean is a simple average: add the returns and divide by T, the number of

16
00:01:13.843 --> 00:01:19.207
periods. The variance adds up each return's squared gap from the mean and divides by

17
00:01:19.288 --> 00:01:21.633
T minus 1, not T.

18
00:01:22.083 --> 00:01:27.807
Covariance asks whether two returns tend to sit on the same side of their own means at

19
00:01:27.853 --> 00:01:33.925
the same time. It is the sum of the products of the two deviations, divided by T minus

20
00:01:33.972 --> 00:01:34.575
1.

21
00:01:35.025 --> 00:01:39.460
Covariance has awkward units, percent squared, and no natural scale.

22
00:01:39.971 --> 00:01:45.079
Divide it by both standard deviations and you get the correlation, always between minus

23
00:01:45.149 --> 00:01:46.449
1 and plus 1.

24
00:01:46.899 --> 00:01:51.288
Rho equals the covariance divided by sigma one times sigma two.

25
00:01:51.891 --> 00:01:56.733
Turn it around and the covariance equals rho times sigma one times sigma two.

26
00:01:57.174 --> 00:01:58.648
Know both directions.

27
00:01:59.098 --> 00:02:04.659
The lesson page has a solver for this. Under The question asks for, you can solve for

28
00:02:04.694 --> 00:02:08.444
the covariance, the correlation, or a standard deviation.

29
00:02:09.048 --> 00:02:14.052
Pick the correlation, type in a covariance, and watch it scaled into a number between

30
00:02:14.110 --> 00:02:16.281
minus 1 and plus 1.

31
00:02:16.731 --> 00:02:22.223
If you want to try it, pause me now, have a play, and press play when you're ready.

32
00:02:22.606 --> 00:02:24.069
Otherwise I'll keep going.

33
00:02:24.519 --> 00:02:30.417
Now the example. Over four years, one fund swings around a lot and the other moves very

34
00:02:30.487 --> 00:02:36.965
little. Average the yearly returns and Fund X averages 8 percent, while Fund Y averages

35
00:02:37.023 --> 00:02:38.033
4 percent.

36
00:02:38.483 --> 00:02:43.905
Take each year's gap from the mean, square it so the sign no longer matters, then average

37
00:02:43.928 --> 00:02:47.701
the squares, dividing by one less than the number of years.

38
00:02:48.305 --> 00:02:52.415
For Fund X that gives a variance of 88, in percent squared.

39
00:02:52.865 --> 00:02:56.882
Take the square root of the variance and you have the standard deviation.

40
00:02:57.579 --> 00:03:00.725
Fund X comes out near 9 and a half percent.

41
00:03:01.422 --> 00:03:06.669
Fund Y barely moves from year to year, so its standard deviation is only about 2 and

42
00:03:06.704 --> 00:03:07.726
a half percent.

43
00:03:08.176 --> 00:03:13.366
Square each gap from the mean, add the squares, divide by one less than the number of

44
00:03:13.424 --> 00:03:19.740
years, and take the square root. Fund X's standard deviation is a little over 9 percent.

45
00:03:20.190 --> 00:03:26.239
Now covariance. For each year, multiply the two funds' gaps from their own means, then

46
00:03:26.320 --> 00:03:31.707
add those products. Two gaps on the same side of the mean give a positive product, and

47
00:03:31.777 --> 00:03:36.339
gaps on opposite sides give a negative one, so the total carries the direction of the

48
00:03:36.398 --> 00:03:37.373
relationship.

49
00:03:37.823 --> 00:03:41.736
Add the products and divide by one less than the number of years.

50
00:03:42.339 --> 00:03:47.250
The covariance is negative, so the two funds tend to move in opposite directions, and

51
00:03:47.320 --> 00:03:49.665
it is a small number in percent squared.

52
00:03:50.115 --> 00:03:54.724
Divide the covariance by both standard deviations and you have the correlation.

53
00:03:55.235 --> 00:04:01.539
Here it is minus 0.28. The two funds move in opposite directions, but only weakly.

54
00:04:02.050 --> 00:04:06.694
Covariance gave the direction; only the correlation gives the strength.

55
00:04:07.144 --> 00:04:12.740
Multiply each pair of gaps, add the four products, then divide by one less than the number

56
00:04:12.786 --> 00:04:18.708
of years. The covariance comes out at about minus 6.7, in percent squared.

57
00:04:19.158 --> 00:04:24.266
Correlation is the covariance divided by the product of the two standard deviations.

58
00:04:24.777 --> 00:04:27.749
Here that gives about minus 0.28.

59
00:04:28.199 --> 00:04:34.712
Historical returns are a sample, so use T minus 1 unless the question says otherwise.

60
00:04:35.316 --> 00:04:40.877
A Go deeper box also shows the statistics worksheets on both calculators, which give

61
00:04:40.900 --> 00:04:46.833
the standard deviations and the correlation directly; the covariance is then the correlation

62
00:04:46.891 --> 00:04:49.747
times the two standard deviations.

63
00:04:50.647 --> 00:04:57.009
Now the two-asset portfolio. Its expected return is the weighted average of the two expected

64
00:04:57.067 --> 00:05:02.570
returns: w one times the first, plus w two times the second.

65
00:05:03.012 --> 00:05:05.090
Correlation plays no part in it.

66
00:05:05.540 --> 00:05:11.415
Risk is different. The variance has three terms: asset one's variance times its weight

67
00:05:11.449 --> 00:05:16.871
squared, the same for asset two, and an interaction term of two times the two weights

68
00:05:17.045 --> 00:05:18.497
times the covariance.

69
00:05:18.947 --> 00:05:25.890
As a formula: portfolio variance equals w one squared times sigma one squared, plus w

70
00:05:25.971 --> 00:05:32.949
two squared sigma two squared, plus two times w one, w two, rho, sigma

71
00:05:33.007 --> 00:05:39.241
one and sigma two. Take the square root for the standard deviation, and never drop the

72
00:05:39.299 --> 00:05:40.216
third term.

73
00:05:40.666 --> 00:05:46.575
Here's the example. Most of the money, 60 percent, goes into an equity fund with a higher

74
00:05:46.645 --> 00:05:52.009
return and higher volatility, and the other 40 percent into a bond fund with a lower

75
00:05:52.079 --> 00:05:54.702
return and lower volatility.

76
00:05:55.306 --> 00:05:58.917
The correlation between them is 0.5.

77
00:05:59.367 --> 00:06:05.079
Return is just the weighted average, so it is 8.6 percent whatever the correlation.

78
00:06:05.776 --> 00:06:10.060
The variance starts with each asset's own variance scaled by its squared weight.

79
00:06:10.571 --> 00:06:14.135
The big equity weight and the big equity variance dominate.

80
00:06:14.585 --> 00:06:19.159
The interaction term adds twice the two weights times the covariance, and here it is

81
00:06:19.229 --> 00:06:22.573
positive but smaller than the two own-variance pieces.

82
00:06:23.269 --> 00:06:30.293
The total variance is 0.0208, so the portfolio standard deviation is about 14

83
00:06:30.351 --> 00:06:31.628
and a half percent.

84
00:06:32.078 --> 00:06:36.304
The weighted average of the two standard deviations is 16 percent.

85
00:06:36.908 --> 00:06:43.537
The portfolio's 14.42 sits below that, and the shortfall is the diversification benefit.

86
00:06:44.234 --> 00:06:48.564
You get less risk than the simple average, without giving up any return.

87
00:06:49.014 --> 00:06:54.471
Square each weight, multiply by that asset's variance, then add twice the two weights

88
00:06:54.529 --> 00:06:59.985
times the covariance. Take the square root and the portfolio standard deviation is about

89
00:07:00.055 --> 00:07:01.785
14 and a half percent.

90
00:07:02.235 --> 00:07:07.622
The lesson page has a solver for two-asset risk: solve for the variance, the standard

91
00:07:07.645 --> 00:07:10.385
deviation, or the implied correlation.

92
00:07:10.896 --> 00:07:16.875
Pick the portfolio standard deviation, type a correlation of minus 0.5, and you'll see

93
00:07:16.945 --> 00:07:22.947
10.58 percent. Pause me if you'd like to try it first; I'll keep going otherwise.

94
00:07:23.397 --> 00:07:27.820
Here is what correlation does, with the return fixed at 8.6 percent.

95
00:07:28.424 --> 00:07:32.464
At plus 1 the risk is the weighted average, 16 percent.

96
00:07:33.161 --> 00:07:39.964
As the correlation falls, risk falls with it, and at minus 1 it reaches 8 percent, exactly

97
00:07:40.022 --> 00:07:43.180
the difference between the two weighted standard deviations.

98
00:07:43.630 --> 00:07:49.261
The lesson page has an interactive chart with two tabs, Two assets and Many assets.

99
00:07:49.957 --> 00:07:55.170
On Two assets there are two sliders, one for the weight in the equity fund and one for

100
00:07:55.205 --> 00:08:01.556
the correlation, rho. The dashed line is the plus 1 case, and the gap to its left is

101
00:08:01.614 --> 00:08:03.413
the diversification benefit.

102
00:08:03.863 --> 00:08:09.389
Try bringing the correlation down to minus 1 and finding the mix with almost no risk.

103
00:08:09.831 --> 00:08:14.869
Same deal: if you want a go, use the lesson page after the episode.

104
00:08:15.319 --> 00:08:21.890
Three points. At plus 1, portfolio risk is the weighted average, with no diversification.

105
00:08:22.494 --> 00:08:27.997
Below plus 1 it is lower, and the lower the correlation, the lower the risk.

106
00:08:28.447 --> 00:08:31.802
At minus 1, a zero-risk mix exists.

107
00:08:32.185 --> 00:08:37.352
Put the other asset's standard deviation over the sum of the two standard deviations,

108
00:08:37.677 --> 00:08:40.243
and that is the weight in the first asset.

109
00:08:40.754 --> 00:08:46.373
Here it gives about a third in the equity fund, and the rest in the bond fund.

110
00:08:46.823 --> 00:08:52.106
Divide the bond fund's standard deviation by the sum of the two standard deviations.

111
00:08:52.709 --> 00:08:54.996
That gives a third in the equity fund.

112
00:08:55.446 --> 00:09:01.158
Here it is in real terms. Oil prices spike or slump with equal chances.

113
00:09:01.669 --> 00:09:08.414
An airline does badly when oil spikes and well when it slumps, averaging 9 percent, and

114
00:09:08.472 --> 00:09:11.003
a second airline behaves just the same way.

115
00:09:11.453 --> 00:09:16.550
Half in each airline still gives the same swings, because the two move in lockstep.

116
00:09:17.061 --> 00:09:22.181
Half in an airline and half in an oil producer gives exactly 9 percent whatever the oil

117
00:09:22.239 --> 00:09:27.335
price does. The correlation is minus 1, and the risk is gone.

118
00:09:27.785 --> 00:09:32.081
To reduce risk you need assets that do well when your others do badly.

119
00:09:32.684 --> 00:09:38.942
In the real world, correlations above about 0.90 give little diversification, and below

120
00:09:39.221 --> 00:09:41.926
about 0.50 it is attractive.

121
00:09:42.623 --> 00:09:46.268
Stocks and bonds are generally the least correlated major pair.

122
00:09:46.718 --> 00:09:50.956
A warning: historical correlations are averages.

123
00:09:51.559 --> 00:09:58.015
In a crisis, risky assets tend to fall together, correlations rise, and the benefit shrinks

124
00:09:58.223 --> 00:10:03.599
just when you need it. Within a country they are fairly stable, but across countries

125
00:10:03.924 --> 00:10:05.294
they have been rising.

126
00:10:06.194 --> 00:10:11.012
Now many assets. Take an equally weighted portfolio of N assets.

127
00:10:11.616 --> 00:10:16.922
The average variance is the mean of the asset variances, and the average covariance is

128
00:10:16.991 --> 00:10:19.662
the mean of all the pairwise covariances.

129
00:10:20.112 --> 00:10:25.116
In plain words, the part of the variance that comes from each asset's own risk shrinks

130
00:10:25.162 --> 00:10:30.538
as you add assets, while the part that comes from how they move together settles at the

131
00:10:30.619 --> 00:10:31.954
average covariance.

132
00:10:32.404 --> 00:10:36.386
So covariance accounts for almost all the risk of a large portfolio.

133
00:10:37.083 --> 00:10:43.027
If every asset has the same standard deviation and every pair the same correlation, the

134
00:10:43.108 --> 00:10:48.472
average covariance is rho times the variance, and the floor is its square root.

135
00:10:48.922 --> 00:10:55.261
Example: every asset has a volatility of 30 percent and every pair has a correlation

136
00:10:55.319 --> 00:11:02.088
of 0.3. The variance of each asset is 0.09, and the average covariance

137
00:11:02.123 --> 00:11:04.108
is 0.027.

138
00:11:04.558 --> 00:11:07.809
One asset carries the full 30 percent volatility.

139
00:11:08.320 --> 00:11:13.637
Ten assets bring it down a lot, and after that the falls get smaller and smaller.

140
00:11:14.148 --> 00:11:18.757
With a very large number of assets the risk approaches the square root of the average

141
00:11:18.780 --> 00:11:22.019
covariance, about 16.4 percent.

142
00:11:22.469 --> 00:11:28.123
With 10 assets, the own-variance part is already divided by 10, and the covariance part

143
00:11:28.181 --> 00:11:34.056
is almost the whole average covariance. The square root gives about 18 percent, and most

144
00:11:34.102 --> 00:11:37.283
of the benefit arrives with the first ten or so assets.

145
00:11:37.733 --> 00:11:43.352
For 10 assets, divide the average variance by 10, add almost the whole average covariance,

146
00:11:43.677 --> 00:11:49.297
then take the square root. The portfolio standard deviation is about 18 percent.

147
00:11:49.747 --> 00:11:53.393
The floor is the square root of the average covariance.

148
00:11:53.996 --> 00:12:01.136
With a correlation of 0.3 and a volatility of 30 percent, that is about 16.4

149
00:12:01.206 --> 00:12:05.119
percent, and no amount of extra assets goes below it.

150
00:12:05.569 --> 00:12:11.258
The lesson page has a third solver, for many assets: solve for the portfolio standard

151
00:12:11.293 --> 00:12:17.481
deviation, the lowest risk many assets can reach, the average correlation, or the number

152
00:12:17.527 --> 00:12:23.286
of assets. Change N to 100 and you'll see 16.62 percent.

153
00:12:23.890 --> 00:12:26.699
Same deal: pause me if you want a go.

154
00:12:27.149 --> 00:12:33.012
Back in the interactive chart on the lesson page, the second tab, Many assets, has sliders

155
00:12:33.070 --> 00:12:38.399
for the number of assets, N, each asset's sigma, and the average correlation.

156
00:12:39.003 --> 00:12:44.274
Push N to 100 and compare the risk with the floor, or set the average correlation to

157
00:12:44.343 --> 00:12:46.236
zero and add assets.

158
00:12:46.686 --> 00:12:53.362
Why a floor? The remaining risk is shared by all the assets: more holdings wipe out

159
00:12:53.431 --> 00:12:58.598
each asset's own variance, but not the common covariance, which the next module calls

160
00:12:58.981 --> 00:13:05.506
systematic risk. For three or more assets, the exact variance sums every pair of weights

161
00:13:05.587 --> 00:13:09.860
times their covariance, and covariances far outnumber assets.

162
00:13:10.760 --> 00:13:14.115
Six traps. First, dropping the interaction term.

163
00:13:14.626 --> 00:13:17.726
Portfolio variance has three terms, never two.

164
00:13:18.176 --> 00:13:22.054
Second, using the weighted average of the standard deviations.

165
00:13:22.495 --> 00:13:25.606
That is right only when the correlation is plus 1.

166
00:13:26.056 --> 00:13:32.082
Third, squaring the weights but not the standard deviations, or using a standard deviation

167
00:13:32.128 --> 00:13:33.858
where the covariance belongs.

168
00:13:34.308 --> 00:13:37.419
Fourth, thinking more assets drive risk to zero.

169
00:13:37.930 --> 00:13:40.345
The floor is the average covariance.

170
00:13:40.795 --> 00:13:45.335
Fifth, dividing by T instead of T minus 1 for sample statistics.

171
00:13:45.718 --> 00:13:50.315
And sixth, mixing percentages and decimals in one calculation.

172
00:13:51.215 --> 00:13:57.844
The takeaways. Portfolio variance has three terms: each asset's own risk, and

173
00:13:57.902 --> 00:14:01.107
the interaction. Never forget the covariance term.

174
00:14:01.557 --> 00:14:04.773
Correlation changes risk, not expected return.

175
00:14:05.377 --> 00:14:10.845
Below plus 1, portfolio risk is less than the weighted average of the standard deviations,

176
00:14:11.228 --> 00:14:13.631
and at minus 1 it can reach zero.

177
00:14:14.081 --> 00:14:19.015
And with many assets, portfolio variance falls toward the average covariance, not to

178
00:14:19.097 --> 00:14:19.793
zero.

179
00:14:20.693 --> 00:14:27.125
That is portfolio variance, covariance and correlation, the third lesson of Portfolio

180
00:14:27.206 --> 00:14:33.777
Risk and Return: Part One. Next in this module is The efficient frontier and

181
00:14:33.824 --> 00:14:40.001
the global minimum-variance portfolio. Now three quick questions, and none of them needs

182
00:14:40.035 --> 00:14:43.913
a calculator. Each one pauses for a moment before the answer.

183
00:14:44.813 --> 00:14:49.294
Question one. Two assets have a correlation of plus 1.

184
00:14:49.898 --> 00:14:53.079
The standard deviation of a portfolio of the two is...

185
00:14:53.520 --> 00:14:57.758
A: Below the weighted average of the two standard deviations.

186
00:14:58.269 --> 00:15:04.550
B: Zero. C: Exactly the weighted average of the two standard deviations.

187
00:15:08.550 --> 00:15:14.088
The answer is C. At plus 1 the assets move in lockstep, so their risks add up and no

188
00:15:14.146 --> 00:15:15.888
diversification is possible.

189
00:15:16.788 --> 00:15:22.814
Question two. Holding the weights and the two standard deviations fixed, a fall in the

190
00:15:22.872 --> 00:15:29.768
correlation between the assets will... A: Lower portfolio risk and leave expected return

191
00:15:29.942 --> 00:15:35.503
unchanged. B: Lower portfolio risk and lower expected return.

192
00:15:36.455 --> 00:15:39.869
C: Leave portfolio risk unchanged.

193
00:15:43.869 --> 00:15:49.744
The answer is A. Correlation appears only in the covariance term of the variance, so

194
00:15:49.825 --> 00:15:55.525
a lower correlation lowers risk, while expected return stays the weighted average.

195
00:15:56.425 --> 00:16:01.603
Question three. As the number of assets in an equally weighted portfolio becomes very

196
00:16:01.673 --> 00:16:04.715
large, portfolio variance approaches...

197
00:16:05.527 --> 00:16:11.100
A: Zero. B: The average covariance between the assets.

198
00:16:11.541 --> 00:16:14.629
C: The average variance of the assets.

199
00:16:18.629 --> 00:16:25.189
The answer is B. Each asset's own variance is divided by N and fades away, but the

200
00:16:25.235 --> 00:16:29.589
covariance shared by all the assets remains and sets the floor.

201
00:16:30.489 --> 00:16:34.611
That was Portfolio variance, covariance and correlation.

202
00:16:35.121 --> 00:16:39.835
The lesson, its solver and the quiz are at analystdojo dot com.

203
00:16:40.276 --> 00:16:45.396
Next: The efficient frontier and the global minimum-variance portfolio.
