Economics 87 Homework # Soluion Key Porfolio Calculaions and he Markowiz Algorihm A. Excel Exercises: (10 poins) 1. Download he Excel file hw.xls from he class websie. This file conains monhly closing price daa on four socks (Boeing Microsof Nordsrom and Sarbucks) over he period February 1995 January 2006. For his exercise you will use marix algebra o simplify he running of solver in Excel. a. Use he Excel funcions AVERAGE VAR STDEV COVAR and CORREL o esimae he expeced reurns variances sandard deviaions covariances and correlaions for he four socks using he hisorical reurn (Hin: you can also use he covariance feaure under ools/daa analysi) Repor you resuls in Table forma in your Word file. Commen on he esimaes paying paricular aenion o he correlaion Compue esimaed sandard errors for he means sandard deviaions and he correlaion Commen on he precision of your esimae Arrange he covariance esimaes ino a covariance marix. mu_a mu_b mu_c mu_d sigma_a sigma_b sigma_c sigma_d Esimae 0.00997 0.0113 0.02230 0.0181 0.08631 0.10978 0.11909 0.10687 SE 0.00729 0.00928 0.01006 0.00903 0.00518 0.00658 0.0071 0.0061 rho_ab rho_ac rho_ad rho_bc rho_bd rho_cd Esimae 0.22126 0.1877 0.0725 0.279 0.25191 0.27059 SE 0.08067 0.0829 0.0837 0.07960 0.079 0.07861 The sandard deviaions are fairly precise. Bu he expeced reurns and correlaions are much less precise. E.g. he expeced reurn for Nordsrom is quie low bu quie imprecisely esimaed. Covariance marix: Sigma 0.0079361 0.00209651 0.001529196 0.000669081 0.00209651 0.012052169 0.0032153 0.0029559 0.001529196 0.0032153 0.0118221 0.003392 0.000669081 0.0029559 0.003392 0.01121368 b. Compue he global minimum variance porfolio allowing for shor-sale The minimizaion problem is min mʹ Σm m. mʹ 1 where m is he vecor of porfolio weighs Σ is he covariance marix and 1 is a x1 vecor of one Are here any negaive weighs in his porfolio? If so inerpre hem. Compue and repor he expeced reurn variance and sandard deviaion of his porfolio.
2b. m ones consrain variance E[Rp] Sd. Dev 0.50538691 1 1 0.0007681 0.013135951 0.06387322 0.161299765 1 0.1227883 1 0.25882701 1 No negaive weigh c. Of he four socks deermine he sock wih he larges average hisorical reurn. Use his maximum average reurn as he arge reurn for he compuaion of an efficien porfolio allowing for shor-sale Tha is find he minimum variance porfolio ha has an expeced reurn equal o his arge reurn. The minimizaion problem is min xʹ Σx x xʹ 1 where x is he vecor of porfolio weighs is he vecor of expeced reurns and 0 is he arge expeced reurn. Are here any negaive weighs in his porfolio? Compue and repor he expeced reurn variance and sandard deviaion of his porfolio. Finally compue and repor he covariance beween he global minimum variance porfolio and he above efficien porfolio using he formula cov( R p m R p x mʹ ) = Σx. Targe porfolio opimizaion. 2c. x ones consrain consrain variance E[Rp] Sd. Dev -0.06133583 1 1 0.022302607 0.01333763 0.022302607 0.115515209-0.111033399 1 0.90887306 1 0.2639935 1. xʹ = Cov(xm) 0.0007681 The weighs on Boeing and Nordsom are negaive. This means an invesor should shorsell hem. 0 d. Using he fac ha all efficien porfolios can be wrien as a convex combinaion of wo efficien porfolios compue efficien porfolios as convex combinaions of he global minimum variance porfolio and he efficien porfolio compued in quesion 3. Tha is compue z = α x + ( 1 α) m for values of α beween -1 and 2 (make a grid for α = 1 0.9...00.1...1.9 2 ). Compue and repor he expeced reurn variance and sandard deviaion of hese porfolios in a Table.
2d. alpha sigma_p mu_p 0 0.06387322 0.013135951-1 0.11551520 0.003969295-0.9 0.1076228 0.00885961-0.8 0.100037697 0.005802626-0.7 0.092830213 0.006719292-0.6 0.08609709 0.007635958-0.5 0.079958119 0.008552623-0. 0.0756038 0.00969289-0.3 0.070075215 0.01038595-0.2 0.066687118 0.01130262-0.1 0.06568981 0.012219285-1.38778E-16 0.06387322 0.013135951 0.1 0.06568982 0.01052617 0.2 0.06668712 0.01969282 0.3 0.070075218 0.01588598 0. 0.07560351 0.016802613 0.5 0.079958123 0.017719279 0.6 0.086097053 0.0186359 0.7 0.092830218 0.01955261 0.8 0.100037701 0.02069275 0.9 0.10762253 0.02138591 1 0.115515209 0.022302607 1.1 0.123652306 0.023219272 1.2 0.131990029 0.02135938 1.3 0.1092663 0.025052603 1. 0.19132005 0.025969269 1.5 0.157885613 0.02688593 1.6 0.16673592 0.0278026 1.7 0.175667093 0.028719266 1.8 0.18668558 0.029635931 1.9 0.19373015 0.030552597 2 0.2028381 0.03169262 e. Plo he Markowiz bulle based on hese efficien porfolios ha you compued above. On he plo indicae he locaion of he minimum variance porfolio and he locaion of he efficien porfolio ha you found in par c. Pase his graph o your Word file.
f. Compue he angency porfolio assuming he risk-free rae is 0.005 (i.e. r = 0.5% ) per monh. Tha is solve f r max σ σ 2. ʹ 1 where denoes he porfolio weighs in he angency porfolio. Are here any negaive weighs in he angency porfolio? If so inerpre hem. Compue and repor he expeced reurn variance and sandard deviaion of he angency porfolio. = ʹ = ʹ Σ 2f. ones consrain sd. Dev E[Rp] Sharpe Raio 0.196850107 1 1 0.07970212 0.017679002 0.15907568 0.026331171 1 0.52220762 1 0.25611079 1 No negaive weigh g. On he graph wih he Markowiz bulle plo he efficien porfolios ha are combinaions of T-bills and he angency porfolio. Indicae he locaion of he angency porfolio on he graph. Pase his graph o your Word file. f
h. For bonus poins use he Benninga handou as a guide o compue and plo he Markowiz bulle for he daa in hw.xls when here are no shor sales allowed. On he same se of axes plo he efficien froniers wih and wihou shor sale resricion Calculae he angency porfolio imposing nonnegaiviy consrains on weighs for a variey of risk free rae The resul is ha he efficien fronier is he same as wih shor sales from he Global Min porfolio (which had only posiive weighs) up o a cerain expeced reurn. Then he efficien fronier is lower han he shor sales case beyond ha poin. See graph.