Mean-Variance Portfolio Choice in Excel

Similar documents
Lecture 2: Fundamentals of meanvariance

CHAPTER 6: PORTFOLIO SELECTION

Optimal Portfolio Selection

Solutions to questions in Chapter 8 except those in PS4. The minimum-variance portfolio is found by applying the formula:

Note on Using Excel to Compute Optimal Risky Portfolios. Candie Chang, Hong Kong University of Science and Technology

Advanced Financial Economics Homework 2 Due on April 14th before class

Efficient Portfolio and Introduction to Capital Market Line Benninga Chapter 9

Capital Allocation Between The Risky And The Risk- Free Asset

Techniques for Calculating the Efficient Frontier

Lecture 10-12: CAPM.

Chapter 8. Markowitz Portfolio Theory. 8.1 Expected Returns and Covariance

Port(A,B) is a combination of two stocks, A and B, with standard deviations A and B. A,B = correlation (A,B) = 0.

OPTIMAL RISKY PORTFOLIOS- ASSET ALLOCATIONS. BKM Ch 7

Sample Midterm Questions Foundations of Financial Markets Prof. Lasse H. Pedersen

Mean-Variance Analysis

ECO 317 Economics of Uncertainty Fall Term 2009 Tuesday October 6 Portfolio Allocation Mean-Variance Approach

Portfolios that Contain Risky Assets 10: Limited Portfolios with Risk-Free Assets

Portfolios that Contain Risky Assets Portfolio Models 9. Long Portfolios with a Safe Investment

Portfolio Management

Lecture 3: Factor models in modern portfolio choice

Solutions to Problem Set 1

RETURN AND RISK: The Capital Asset Pricing Model

FIN 6160 Investment Theory. Lecture 7-10

Chapter 6 Efficient Diversification. b. Calculation of mean return and variance for the stock fund: (A) (B) (C) (D) (E) (F) (G)

COMM 324 INVESTMENTS AND PORTFOLIO MANAGEMENT ASSIGNMENT 1 Due: October 3

The mean-variance portfolio choice framework and its generalizations

Lecture 5. Return and Risk: The Capital Asset Pricing Model

Financial Analysis The Price of Risk. Skema Business School. Portfolio Management 1.

Midterm 1, Financial Economics February 15, 2010

Financial Market Analysis (FMAx) Module 6

Risk and Return and Portfolio Theory

Aversion to Risk and Optimal Portfolio Selection in the Mean- Variance Framework

u (x) < 0. and if you believe in diminishing return of the wealth, then you would require

APPENDIX TO LECTURE NOTES ON ASSET PRICING AND PORTFOLIO MANAGEMENT. Professor B. Espen Eckbo

Aversion to Risk and Optimal Portfolio Selection in the Mean- Variance Framework

FINC 430 TA Session 7 Risk and Return Solutions. Marco Sammon

MARKOWITS EFFICIENT PORTFOLIO (HUANG LITZENBERGER APPROACH)

NPTEL INDUSTRIAL AND MANAGEMENT ENGINEERING DEPARTMENT, IIT KANPUR QUANTITATIVE FINANCE MID-TERM EXAMINATION (2015 JULY-AUG ONLINE COURSE)

E(r) The Capital Market Line (CML)

Business Mathematics (BK/IBA) Quantitative Research Methods I (EBE) Computer tutorial 4

First of all we have to read all the data with an xlsread function and give names to the subsets of data that we are interested in:

Course objective. Modélisation Financière et Applications UE 111. Application series #2 Diversification and Efficient Frontier

Lecture IV Portfolio management: Efficient portfolios. Introduction to Finance Mathematics Fall Financial mathematics

Lockbox Separation. William F. Sharpe June, 2007

In terms of covariance the Markowitz portfolio optimisation problem is:

Quantitative Risk Management

CHAPTER 6: RISK AVERSION AND CAPITAL ALLOCATION TO RISKY ASSETS

Mean-Variance Analysis

Chapter 2 Portfolio Management and the Capital Asset Pricing Model

Economics 424/Applied Mathematics 540. Final Exam Solutions

$0.00 $0.50 $1.00 $1.50 $2.00 $2.50 $3.00 $3.50 $4.00 Price

Financial Economics: Risk Aversion and Investment Decisions, Modern Portfolio Theory

QR43, Introduction to Investments Class Notes, Fall 2003 IV. Portfolio Choice

Financial Mathematics III Theory summary

Efficient Frontier and Asset Allocation

Mean-Variance Portfolio Theory

FIN Second (Practice) Midterm Exam 04/11/06

MS-E2114 Investment Science Lecture 5: Mean-variance portfolio theory

Problem Set 4 Answers

Foundations of Finance

Finance 100: Corporate Finance. Professor Michael R. Roberts Quiz 3 November 8, 2006

Copyright 2009 Pearson Education Canada

Chapter 11. Return and Risk: The Capital Asset Pricing Model (CAPM) Copyright 2013 by The McGraw-Hill Companies, Inc. All rights reserved.

CSCI 1951-G Optimization Methods in Finance Part 07: Portfolio Optimization

PORTFOLIO THEORY. Master in Finance INVESTMENTS. Szabolcs Sebestyén

Department of Economics ECO 204 Microeconomic Theory for Commerce Test 2

Return and Risk: The Capital-Asset Pricing Model (CAPM)

2016 EXAMINATIONS ACCOUNTING TECHNICIAN PROGRAMME PAPER TC 3: BUSINESS MATHEMATICS & STATISTICS

The University of Sydney School of Mathematics and Statistics. Computer Project

Copyright 2011 Pearson Education, Inc. Publishing as Addison-Wesley.

1 Asset Pricing: Bonds vs Stocks

FINANCIAL ASSET PRICING AND DECISION ANALYSIS

Introduction to Computational Finance and Financial Econometrics Introduction to Portfolio Theory

LECTURE NOTES 3 ARIEL M. VIALE

Fairweather Pension Plan: Optimizing the Investment Portfolio Using MPT

Limits to Arbitrage. George Pennacchi. Finance 591 Asset Pricing Theory

DUALITY AND SENSITIVITY ANALYSIS

Elton, Gruber, Brown, and Goetzmann. Modern Portfolio Theory and Investment Analysis, 7th Edition. Solutions to Text Problems: Chapter 6

Get Tangency Portfolio by SAS/IML

Mean Variance Analysis and CAPM

Extend the ideas of Kan and Zhou paper on Optimal Portfolio Construction under parameter uncertainty

An Intertemporal Capital Asset Pricing Model

!"#$ 01$ 7.3"กก>E E?D:A 5"7=7 E!<C";E2346 <2H<

P2.T8. Risk Management & Investment Management. Jorion, Value at Risk: The New Benchmark for Managing Financial Risk, 3rd Edition.

Characterization of the Optimum

36106 Managerial Decision Modeling Sensitivity Analysis

MVS with N risky assets and a risk free asset

TABLE OF CONTENTS C ORRELATION EXPLAINED INTRODUCTION...2 CORRELATION DEFINED...3 LENGTH OF DATA...5 CORRELATION IN MICROSOFT EXCEL...

Quantitative Portfolio Theory & Performance Analysis

Expected utility theory; Expected Utility Theory; risk aversion and utility functions

Portfolio Theory and Diversification

Diversification. Finance 100

MBA 203 Executive Summary

ELEMENTS OF MATRIX MATHEMATICS

Computing interest and composition of functions:

2.1 Mean-variance Analysis: Single-period Model

Foundations of Finance. Lecture 8: Portfolio Management-2 Risky Assets and a Riskless Asset.

CHAPTER 9: THE CAPITAL ASSET PRICING MODEL

General Notation. Return and Risk: The Capital Asset Pricing Model

Equilibrium Asset Returns

Transcription:

Mean-Variance Portfolio Choice in Excel Prof. Manuela Pedio 20550 Quantitative Methods for Finance August 2018

Let s suppose you can only invest in two assets: a (US) stock index (here represented by the value-weighted CRSP index) a (US) long-term (Treasury) bond index (here represented by the Ibbotson 10-year government bond index) You have available the monthly log-returns of the two indices First of all, you need to compute the statistics of the two series: the mean and the standard deviation of each series and the pair-wise correlation between them If you recall log-returns properties (i.e. return over two periods is just the sum of the returns of each period) you can compute the annual mean return: it is simply equal to the monthly mean return multiplied by 12 B3 contains the formula => MEAN(Equity)*12 (where Equity is the name we gave to C2:C253, i.e. the monthly equity log-returns) B4 contains the formula=> MEAN(Tbond)*12 (where Tbond are monthly bond log-returns) 2

Similarly, the annual standard deviation of log-returns is obtained by multiplying by C3 contains the formula => STDEV(Equity)*SQRT(12) C4 contains the formula => STDEV(Tbond)*SQRT(12) Finally, we compute the correlation between the two series with the function CORREL => CORREL(Equity, Tbond) 3

Finally, we construct the variancecovariance matrix (let s call it V); as you know this is a symmetric matrix contains the variances of each asset in the main diagonal and the pair-wise covariances out of the main diagonal Recall that the formula for co- variance is: Cell B13 contains the formula: B8*VLOOKUP($A13, $A$2:$C$4, 3, FALSE)*VLOOKUP(B$12, $A$2:$C$4, 3, FALSE) Why would you bother to do such a formula when you know that cell B13 is just the variance of equity returns (i.e. the square of cell C3)? Excel makes your life easier when you deal with a LARGE amount of data (e.g. 5 assets imply a 5-by-5 V matrix!) Now you can just drag and drop! 4

Now, let s suppose for a minute that we have an equally weighted portfolio and compute portfolio mean and variance (the two asset case is very simple and you do not necessarily need to use matrices however we want to create a general set up that will be valid also when we add other assets) PORTFOLIO MEAN PORTFOLIO MEAN WEIGHTS MEAN RETURNS SUMPRODUCT(B3:B4, D3:D4) PORTFOLIO VARIANCE PORTFOLIO VARIANCE VARIANCE COVARIANCE MATRIX WEIGHTS WEIGHTS MMULT(TRANSPOSE(B3:B4),MMULT (B13:C14, B3:B4)) 5

Now, we can compute also the Global Minimum Variance Portfolio, i.e., the portfolio with the minimum possible variance. This is an optimization problem that can be solved by using the solver To find the GMVP we ask to the solver to find the combination of weights that minimize the variance The only constraint is that the sum of weights should be equal to 100% SHOULD BE MINIMIZED THE VARIANCE BY CHANGING THE WEIGHTS. WEIGHTS MUST SUM TO ONE 6

Notably, we can see from the picture that, as the equity only portfolio is below the GMVP, holding only equity is NOT EFFICIENT Equity TBond Equally weighted portfolio GMVP 10.00% 9.00% Exp. Return 8.00% 7.00% 6.00% 5.00% 5.00% 7.00% 9.00% 11.00% 13.00% 15.00% 17.00% Risk (standard deviation) 7

We can compute any point of the efficient frontier, using the solver Compared to what we did to find the GMVP, we ask to the solver to find the combination of weights that minimize the variance given a certain target return The only constraint is that the sum of weights should be equal to 100% If we want, we can also restrict the weights to be only positive (i.e., no-short selling allowed) SHOULD BE MINIMIZED BY CHANGING THE WEIGHTS. THE VARIANCE GIVEN THAT EXPECTED RETURN SHOULD BE EQUAL TO THE TARGET AND WEIGHTS MUST SUM TO ONE 8

We can generate enough points on the efficient frontier such that we can draw (approximate by interpolation) with the excel scattered plot We start from the minimum-variance portfolio (as you know, it is non-sense to invest in anything that gives lower returns than the minimum-variance portfolio) We then generate other points on the frontier by setting higher target returns (than the return of the minimum variance portfolio) 11.00% 10.00% Exp. Return 9.00% 8.00% 7.00% 6.00% 5.00% 5.00% 7.00% 9.00% 11.00%13.00%15.00%17.00%19.00%21.00%23.00% Risk (standard deviation) 9

Problem two: asset allocation with many assets We now consider a more general set up where: we have 4 risky assets: equity, Treasury bonds, corporate bonds, and real estate the investor can borrow and lend at the risk free rate (R f ) we can consider lending at the riskless rate as investing in an asset with a safe outcome (e.g., T-bill) and borrowing at the riskless rate as selling such security short therefore, we consider R f equal to 2.64% (the average return of the T-bill) by definition, the variance of the risk free asset is equal to zero the formula for the expected return of a combination of a risky portfolio (A) and a risk-free asset is: (CML) 10

Problem two: the tangency portfolio (1/2) As you already know, in this framework (with unlimited borrowing and lending at the risk free rate) we can split the allocation problem into two parts: We now focus on determinating the tangency portfolio (G) => NO NEED TO KNOW INVESTOR'S RISK AVERSION COEFFICIENT To solve this problem we need to maximize: tan = ( )/ UNDER THE ASSUMPTION OF WEIGHTS SUMMING TO 1 subject to THE OBJ IS TO MAX THE SLOPE COEFFICIENT 11

Problem two: the tangency portfolio (2/2) The tangency portfolio (or market portfolio) is unique, does not depend on the preferences of the investor Exp. Return 18.00% 16.00% 14.00% 12.00% 10.00% 8.00% 6.00% 4.00% 2.00% CML MV Frontier 0.00% WE OBTAIN WEIGHTS: 0.71% Treasury bond -0.01% Corporate bond 0.25% Equity 0.06% Real Estate 0 0.05 0.1 0.15 0.2 0.25 0.3 Risk (standard deviation) 12