Appendix B: Review of Portfolio Statistics
C H A P T E R 7 Efficient Diversification 243
We base this review of scenario analysis on a two-asset portfolio. We denote the assets D and E (which you may think of as debt and equity), but the risk and return parameters we use in this appendix are not necessarily consistent with those used in Section 7.2.
We use “expected value” and “mean” interchangeably. For an analysis with n scenarios, where the rate of return in scenario i is r(i) with probability p(i), the expected return is
E(r)=∑ i=1
p(i)r(i) (7B.1)
If you increase the rate of return assumed for each scenario by some amount Δ, then the mean return will increase by Δ. If you multiply the rate in each scenario by a factor w, the new mean will be multiplied by that factor:
∑ i=1
()×[()+Δ]=∑ pi ri i=1
p(i)×r(i)+Δ∑ i=1
p(i)=E(r)+Δ
∑ i=1
()×[ ()]= ∑ pi wri w i=1
p(i)×r(i)=wE(r) (7B.2)
Column C of Spreadsheet 7B.1 shows scenario rates of return for debt, D. In column D we add 3% to each scenario return and in column E we multiply each rate by .4. The spreadsheet shows how we compute the expected return for columns C, D, and E. It is evident that the mean increases by 3% (from .08 to .11) in column D and is multiplied by .4 (from .08 to 0.032) in column E.
Spreadsheet 7B.1 Scenario analysis for bonds A B C D E F G 1 2 3 4 5 6 7 8 9 10 11 12 Scenario Rates of Return ri ri + ri ( ) () 0.03 0.4* () D D D
Mean Cell C8 –0.10 0.00 0.10 0.32 0.080 =SUMPRODUCT($B$4:$B$7,C4:C7) –0.07 0.03 0.13 0.35 0.110 –0.040 0.000 0.040 0.128 0.032 0.14 0.36 0.30 0.20 Probability 1 2 3 4 Scenario
Please visit us at www.mhhe.com/Bodie13e 244 PA R T I I Portfolio Theory and Practice
Now let’s construct a portfolio that invests a fraction of the investment budget, w(D), in bonds and the fraction w(E) in stocks. The portfolio’s rate of return in each scenario and its expected return are given by r(i)=w r(i)+wr(i) P DD EE ( )=∑ ()[ ()+ ()]=∑ () ()+∑ () () (7B.3) Er pi w r i wr i piw r i piwr i P DD EE DD EE =w E(r)+wE(r) D D E E The rate of return on the portfolio in each scenario is the weighted average of the component rates. The weights are the fractions invested in these assets, that is, the portfolio weights. The expected return on the portfolio is the weighted average of the asset means.
Spreadsheet 7B.2 lays out rates of return for both stocks and bonds. Using assumed weights of .4 for debt and .6 for equity, the portfolio return in each scenario appears in column L. Cell L8 shows the portfolio expected return as .1040, obtained using the SUMPRODUCT function, which multiplies each scenario return (column L) by the scenario probability (column I) and sums the results.
12Variance (here, of an asset rate of return) is not the only possible choice to quantify variability. An alternative would be to use the absolute deviation from the mean instead of the squared deviation. Thus, the mean absolute deviation (MAD) is sometimes used as a measure of variability. The variance is the preferred measure for several reasons. First, working with absolute deviations is mathematically more difficult. Second, squaring deviations gives more weight to larger deviations. In investments, giving more weight to large deviations (hence, losses) is compatible with risk aversion. Third, when returns are normally distributed, the variance is one of the two parameters that fully characterizes the probability distribution.
The variance and standard deviation of the rate of return on an asset from a scenario analysis are given by12 σ2(r)=∑ i=1 n ()[()− ()]2 pi ri Er
σ(r)=√ _____ σ2(r) (7B.4)
Spreadsheet 7B.2 Scenario analysis for bonds and stocks H I J K L 1 2 3 4 5 6 7 8 9 10 11 12 Scenario Rates of Return Portfolio Return r(i) r(i) 0.4*r(i)+ 0.6*r(i) D E D E 0.14 0.36 0.30 0.20 –0.10 0.00 0.10 0.32 Mean 0.08 Cell L4 =0.4*J4+0.6*K4 Cell L8 =SUMPRODUCT($I$4:$I$7,L4:L7) –0.35 0.20 0.45 –0.19 0.12 –0.2500 0.1200 0.3100 0.0140 0.1040 1 2 3 4 Scenario Probability
Please visit us at www.mhhe.com/Bodie13e
C H A P T E R 7 Efficient Diversification 245
Notice that the unit of variance is percent squared. In contrast, standard deviation, the square root of variance, has the same dimension as the original returns, and therefore is easier to interpret as a measure of return variability. When you add a fixed incremental return, Δ, to each scenario return, you increase the mean return by that same increment. Therefore, the deviation of the realized return in each scenario from the mean return is unaffected, and both variance and SD are unchanged. In contrast, when you multiply the return in each scenario by a factor w, the variance is multiplied by the square of that factor (and the SD is multiplied by w):
Var(wr)=∑ i=1 n ()×[ ()− ( )]2= 2 ∑ pi wri Ewr w i=1 n ()[()− ()]2= 2σ2 pi ri Er w
SD(wr)=√ _____ w2σ2=wσ(r) (7B.5)
Excel does not have a direct function to compute variance and standard deviation for a scenario analysis. Its STDEV and VAR functions are designed for time series. We need to calculate the probability-weighted squared deviations directly. To avoid having to first compute columns of squared deviations from the mean, however, we can simplify our problem by expressing the variance as a difference between two easily computable terms: [ ] { [ ] } σ2(r)=Er−E(r)2=Er2+E(r)2−2rE(r) =E(r2)+[E(r)]2−2E(r)E(r) (7B.6)
= (2)−[()]2=∑ Er Er i=1 n [ p(i)r(i)2−∑ i=1 n ] p(i)r(i) 2
You can compute the first expression, E(r2), in Equation 7B.6 using Excel’s SUMPRODUCT function. For example, in Spreadsheet 7B.3, E(r2) is first calculated in cell C21 by using SUMPRODUCT to multiply the scenario probability times the asset return times the asset return again. Then [E(r)]2 is subtracted (notice the subtraction of C202 in cell C21), to arrive at variance.
Spreadsheet 7B.3 Scenario analysis for bonds A B C D E F G 13 14 15 16 17 18 19 20 21 22 23 24 Scenario Rates of Return r i r i + r i D() D() 0.03 0.4*D() 0.14 0.36 0.30 0.20 Mean
Cell C21 Variance SD –0.10 0.00 0.10 0.32 0.0800 0.0185 0.1359 =SUMPRODUCT($B$16:$B$19,C16:C19,C16:C19)–C20^2 Cell C22 =C21^0.5 –0.07 0.03 0.13 0.35 0.1100 0.0185 0.1359 –0.040 0.000 0.040 0.128 0.0240 0.0034 0.0584 1 2 3 4 Scenario Probability
Please visit us at www.mhhe.com/Bodie13e 246 PA R T I I Portfolio Theory and Practice
The variance of a portfolio return is not as simple to compute as the mean. The portfolio variance is not the weighted average of the asset variances. The deviation of the portfolio rate of return in any scenario from its mean return is
− ( )= ()+ ()−[ ( )+ ( )] r Er w r i wr i w Er wEr P P DD EE D D E E = [ ()− ( )]+ [()− ( )] (7B.7) wr i Er wr i Er DD D EE E = w d(i)+we(i) D E where the lowercase variables denote deviations from the mean:
d(i)=r(i)−E(r) D D e(i)=r(i)−E(r) E E We express the variance of the portfolio return in terms of these deviations from the mean in Equation 7B.8:
σ2=∑ P i=1 n ()[ − ( )]2=∑ pi r Er P P i=1 n ()[ ()+ ()]2 pi w di wei D E =∑ i=1 n ()[2()2+2()2+2 ()()] pi w di w ei w wdiei D E D E =w2 ∑ D i=1 n p(i)d(i)2+w2∑ E i=1 n p(i)e(i)2+2w w ∑ D E i=1 n p(i)d(i)e(i) (7B.8)
=w2σ2+w2σ2+2w w ∑ D D E E D E i=1 n p(i)d(i)e(i)
The last line in Equation 7B.8 tells us that the variance of a portfolio is the weighted sum of portfolio variances (notice that the weights are the squares of the portfolio weights), plus an additional term that, as we will soon see, makes all the difference. Notice also that d(i) × e(i) is the product of the deviations of the scenario returns of the two assets from their respective means. The probability-weighted average of this product is its expected value, which is called covariance and is denoted Cov(r, r). The covariance D E between the two assets can have a big impact on the variance of a portfolio.
The covariance between two variables equals
Cov(r, r) = E(d×e)=E{[r −E(r)][r −E(r)]} D E D D E E (7B.9) =E(r r)−E(r)E(r) DE D E The covariance is an elegant way to quantify the covariation of two variables. This is easiest seen through a numerical example. Imagine a three-scenario analysis of stocks and bonds such as that given in Spreadsheet 7B.4. In scenario 1, bonds go down (negative deviation) while stocks go up (positive deviation). In scenario 3, bonds are up, but stocks are down. When the rates move in opposite directions, as in this case, the product of the deviations is negative; conversely, if the rates moved in the same direction, the sign of the product would be positive. The magnitude of the product shows the extent of the opposite or common movement in that scenario.
C H A P T E R 7 Efficient Diversification 247
Theprobability-weighted average of these products therefore summarizes the average tendency for the variables to co-vary across scenarios. In the last line of the spreadsheet, we see that the covariance is −80 (cell H6). Suppose our scenario analysis had envisioned stocks generally moving in the same direction as bonds. To be concrete, let’s switch the forecast rates on stocks in the first and third scenarios, that is, let the stock return be −10% in the first scenario and 30% in the third. In this case, the absolute values of both products of deviations from the mean in these scenarios remains the same, but the signs are now positive, and thus the covariance is positive, at +80, reflecting the tendency for both asset returns to vary in tandem. If the levels of the scenario returns change, the intensity of the covariation also may change, as reflected by the magnitude of the product of deviations. The covariance quantifies both the direction and intensity of the covariation. If the average co-movement is zero because positive and negative products are equally likely, the covariance is zero. Also, if one of the assets is risk-free, its covariance with any risky asset is zero because its deviations from its mean are zero in each scenario. The computation of covariance using Excel can be made easy by using the last line in Equation 7B.9. The first term, E(r × r), can be computed in one stroke using Excel’s D E SUMPRODUCT function. Specifically, in Spreadsheet 7B.4, SUMPRODUCT(A3:A5, B3:B5, C3:C5) multiplies the probability times the return on debt times the return on equity in each scenario and then sums those three products. Notice that adding Δ to each rate would not change the covariance because deviations from the mean would remain unchanged. But if you multiply either of the variables by a fixed factor, the covariance will increase by that factor. Multiplying both variables results in a covariance multiplied by the products of the factors because
Cov(w r, wr) = E{[w r −w E(r)][wr −wE(r)]} DD EE DD D D EE E E (7B.10) =w wCov(r,r) D E D E The covariance in Equation 7B.10 is actually the term that we add (twice) in the last line of the equation for portfolio variance, Equation 7B.8. So we find that portfolio variance is the weighted sum (not average) of the individual asset variances, plus twice their covariance weighted by the two portfolio weights (w × w). D E Like variance, the dimension (unit) of covariance is percent squared. But here we cannot get to a more easily interpreted dimension by taking the square root because the average product of deviations can be negative, as it was in Spreadsheet 7B.4. The solution in Spreadsheet 7B.4 Three-scenario analysis for stocks and bonds A Rates of Return Deviation from Mean B C D E F G H 1 2 3 0.25 0.50 0.25 Mean: –2 6 14 6 30 10 –10 10 –8 0 8 0 20 0 –20 0 –160 0 –160 –80 4 5 6 Probability Bonds Stocks Bonds Stocks Product of Deviations
Please visit us at www.mhhe.com/Bodie13e 248 PA R T I I Portfolio Theory and Practice
this case is to scale the covariance by the standard deviations of the two variables, producing the correlation coefficient.
Dividing the covariance by the product of the standard deviations of the variables will generate a pure number called correlation. We define correlation as follows:
Cov(r, r) Corr( )=______D___E_ r,r D E σ σ D E (7B.11)
The correlation coefficient must fall within the range [−1, 1]. This can be explained as follows. What two variables should have the highest degree co-movement? Logic says a variable with itself, so let’s check it out.
Cov(r, r)=E{[r −E(r)]×[r −E(r)]} D D D D D D =E[r −E(r)]2=σ2 (7B.12) D D D Cov(r, r) Corr( )=______D___D_ r,r D D σ σ D D σ2 =__D_ σ2 D =1
Similarly, the lowest (most negative) value of the correlation coefficient is −1. (Check this for yourself by finding the correlation of a variable with its own negative.) An important property of the correlation coefficient is that it is unaffected by both addition and multiplication. Suppose we start with a return on debt, r; multiD ply it by a constant, w; and then add a fixed amount Δ. The correlation with equity D is unaffected:
Cov(Δ+w r,r) Corr(Δ+ )=___________D___D__E___ wr,r DD E √ _____________ Var(Δ+w r)×σ DD E
w Cov(r,r) =__D______D___E_
______ w2σ2×σ D D E w Cov(r, r) =__D_______D___E_ w σ ×σ D D E (7B.13)
=Corr(r, r) D E Because the correlation coefficient gives more intuition about the relationship between rates of return, we sometimes express the covariance in terms of the correlation coefficient. Rearranging Equation 7B.11, we can write covariance as
Cov(r, r)=σ σCorr(r, r) (7B.14) D E D E D E
Spreadsheet 7B.5 shows the covariance and correlation between stocks and bonds using the same scenario analysis as in the other examples in this appendix. Covariance is calculated using Equation 7B.9. The SUMPRODUCT function used in cell J22 gives us E(r × r), from which we subtract E(r) × E(r) (i.e., we subtract J20 × K20). Then D E D E we calculate correlation in cell J23 by dividing covariance by the product of the asset standard deviations.
C H A P T E R 7 Efficient Diversification 249
Spreadsheet 7B.5 Scenario analysis for bonds and stocks H I J K L M 13 14 15 16 17 18 19 20 21 22 23 24 25 Scenario Rates of Return r(i) r(i) D E 0.14 0.36 0.30 0.20 –0.10 0.00 0.10 0.32 0.08 0.1359 –0.0034 –0.0847 Mean SD Covariance Correlation Cell J22 Cell J23 =SUMPRODUCT(I16:I19,J16:J19,K16:K19)–J20*K20 =J22/(J21*K21) –0.35 0.20 0.45 –0.19 0.12 0.2918 1 2 3 4 Scenario Probability
Spreadsheet 7B.6 Scenario analysis for bonds and stocks A B C D E F G 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 Cell E35 =SUMPRODUCT(B30:B33,E30:E33,E30:E33)–E34^2)^0.5 Cell E36 =(0.4*C35)^2+(0.6*D35)^2+2*0.4*0.6*C36)^0.5 Scenario Rates of Return Portfolio Return ri ri ri+ ri () () 0.4*()0.6() D E D E 0.14 0.36 0.30 0.20 Mean SD Covariance Correlation –0.10 0.00 0.10 0.32 0.08 0.1359 –0.0034 –0.0847 –0.35 0.20 0.45 –0.19 0.12 0.2918 SD: –0.25 0.12 0.31 0.014 0.1040 0.1788 0.1788 1 2 3 4 Scenario Probability We calculate portfolio variance in Spreadsheet 7B.6. Notice there that we calculate the portfolio standard deviation in two ways: once from the scenario portfolio returns (cell E35) and again (in cell E36) using the first line of Equation 7B.15. The two approaches yield the same result. You should try to repeat the second calculation using the correlation coefficient from the second line in Equation 7B.15 instead of covariance in the formula for portfolio variance.
We have seen in Equation 7B.8, with the help of Equation 7B.10, that the variance of a two-asset portfolio is the sum of the individual variances multiplied by the square of the portfolio weights, plus twice the covariance between the rates, multiplied by the product of the portfolio weights: σ2=w2σ2+w2σ2+2w w Cov(r, r) P D D E E D E D E (7B.15) =w2σ2+w2σ2+2w wσ σCorr(r, r) D D E E D E D E D E
Please visit us at www.mhhe.com/Bodie13e
Please visit us at www.mhhe.com/Bodie13e 250 PA R T I I Portfolio Theory and Practice
Suppose that one of the assets, say, E, is replaced with a money market instrument, that is, a risk-free asset. The variance of E is then zero, as is the covariance with D. In that case, as seen from Equation 7B.15, the portfolio standard deviation is just wσ. In other words, DD when we mix a risky portfolio with the risk-free asset, portfolio standard deviation equals the risky asset’s standard deviation times the weight invested in that asset. This result was used extensively in Chapter 6.