249 Portfolio Models—Introduction
We consider two portfolios of risky assets:
8
9
ABCD
Portfolio x 0.2 0.3 0.4 0.1
Portfolio y 0.2 0.1 0.1 0.6
E
We calculate the means, variances, and covariance of the two portfolios.
We use the Excel array function Mmult for all the calculations and the
array function Transpose to make a row vector into a column vector.
3
11
12
13
14
15
ABCDEF G
Portfolio x and y statistics: Mean, variance, covariance, correlation
Mean, E(r
x
)
9.10%
Mean, E(r
y
)
12.00% <-- =MMULT(B9:E9,$F$3:$F$6)
Variance,
σ
x
2
0.1216
Variance,
σ
y
2
0.2034 <-- =MMULT(B9:E9,MMULT(A3:D6,TRANSPOSE(B9:E9)))
Covariance(x,y) 0.0714 <-- =MMULT(B8:E8,MMULT(A3:D6,TRANSPOSE(B9:E9)))
Correlation,
ρ
xy
0.4540 <-- =B14/SQRT(B13*E13)
We can now calculate the standard deviation and return of combina-
tions of portfolios x and y. Note that once we have calculated the means,
variances, and the covariance of the returns of the two portfolios, the
calculation of the mean and the variance of any portfolio is the same as
for the two-asset case.
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
HGFEDCBA
Calculating returns of combinations of Portfolio X and Portfolio Y
Proportion of Portfolio X 0.3
Mean return, E(r
p
)
11.13% <-- =B26*C12+(1-B26)*F12
Variance of return, σ
p
2
14.06% <-- =B26^2*C13+(1-B26)^2*F13+2*B26*(1-B26)*C15
Stand. dev. of return, σ
p
37.50% <-- =SQRT(B28)
Table of returns (uses this example and Data|Table)
Proportion
of X
Stand. dev. Mean
37.50% 11.13% <-- Table header: =B29, =B27
0 45.10% 12.00%
0.1 42.29% 11.71%
0.2 39.74% 11.42%
0.3 37.50% 11.13%
0.4 35.63% 10.84%
0.5 34.20% 10.55%
0.6 33.26% 10.26%
0.7 32.84% 9.97%
0.8 32.99% 9.68%
0.9 33.67% 9.39%
1 34.87% 9.10%
1.1 36.53% 8.81%
1.2 38.60% 8.52%
Returns of Combinations of Portfolios X
and Y
8%
9%
9%
10%
10%
11%
11%
12%
12%
13%
30% 32% 34% 36% 38% 40% 42% 44% 46%
Standard deviation
Mean return
3. Remember that MMult and Transpose are array functions and must be entered by
pushing [Ctrl]+[Shift]+[Enter] simultaneously.