leasing ppt

23
Computational Finance 1 /23 Panos Parpas Single Period Markowitz Model 381 Computational Finance Imperial College London

Upload: preety-chandel

Post on 06-May-2015

2.794 views

Category:

Business


0 download

DESCRIPTION

by priya

TRANSCRIPT

Page 1: leasing ppt

Computational Finance 1/23

Panos Parpas

Single Period Markowitz Model

381 Computational Finance

Imperial College

London

Page 2: leasing ppt

Computational Finance 2/23

Topics Covered

Notation and Terminology

Random variables, mean, (co)variance, correlationRandom variables, mean, (co)variance, correlation

Asset return, portfolio return and riskAsset return, portfolio return and risk

Portfolio Optimisation

Optimal asset allocation, risk management Optimal asset allocation, risk management

Short sale, diversificationShort sale, diversification

Mean-Variance model, efficient frontier

Page 3: leasing ppt

Computational Finance 3/23

Terminology

Random Variable y is a random variable, takes finite number of values, yj for j=1,2,…,m.

a probability (associated with each event) represents the relative chance of an occurrence of yj.such that

Expected Value (Mean value or mean) average value obtained by regarding probabilities as frequencies

Variance measure of possible deviation from the mean

mjpp j

m

jj ,,2,1for 0 and 1

1

22

22

2

)(

)(2)(

var

yyE

yyyEyE

yyE(y)

m

jjj ypyEy

1

)(

relative frequency

finite number ofpossibilities

Expected value of squared variable

how much y tends to vary from its mean

Page 4: leasing ppt

Computational Finance 4/23

Terminology

Covariance of two random variables

Correlation between two random variables

2112

2121

22111221

).(

))((cov

yyyyE

yyyyE),y(y

ncorrelatio )(perfect 1

correlated negatively0

nt)(independe eduncorrelat0

correlated positively 0

)var()var(

),cov(

12

12

12

12

21

1212

21

2121

yy

yy),ycor(y

21 and yy

21 and yy

sign defines direction of

the relationship

Page 5: leasing ppt

Computational Finance 5/23

Asset Returns

Asset: investment instrument that can be bought and sold

uncertain asset prices – the return is random uncertainty described in probabilistic terms

Asset return: you purchase an asset today and sell it next year

Total return on this investment is defined as

Rate of return:

Rate of return acts much like an interest rate

0

1

investedamount

recievedamount return total

x

xR

0

01

x

xxr

invested amount

invested amount-recieved amount return ofrate

01 )1(1 xrxrR

Page 6: leasing ppt

Computational Finance 6/23

Returns

Returns Returns Time Period r1 r2

1 6 82 4 23 7 114 3 -15 8 126 2 -27 11 138 -1 -3

MEAN 5 5VARIANCE 3.77964 6.36209

Page 7: leasing ppt

Computational Finance 7/23

Portfolio Return

Consider n risky assets to form a portfolio and invest among n assetsSelect an amount invested in the ith asset

The amounts invested can be expressed as fractions of the total investment

is fraction or weight of asset i in portfolio

Let the total return of asset i be . The amount of money gained at the end of the period on asset i is

The total return of the portfolio The rate of return of portfolio

0x

n

iii xxnix

1000 such that ,1for

where21 ,00 iii wn,,ixwx

iR

00 xwRxR iiii

10

10

n

iii

n

iii

p Rwx

xwRR

1

n

iiip rwr

11

n

iiw

Page 8: leasing ppt

Computational Finance 8/23

Portfolio Return Both the total return and the rate of return of the portfolio of assets are equal to the weighted sum of the corresponding individual asset returns, with the weight of an asset being its relative weight in the portfolio.

Expected return of the portfolio is the weighted sum of the individual expected rates of return

n

ii

n

iiip

n

iiip wrwrRwR

111

1 ,

n

iiip

n

iiip rEwrErwr

11

)()(

Page 9: leasing ppt

Computational Finance 9/23

Example

Consider a portfolio of a risk-free asset and two risky stocks and three equally likely states

Find the expected return of the portfolio formed by 3 assets

Scenario tree with 3 states

States

(s) T-Bill

Return% Stock A Return%

Stock B Return %

(i=1) (i=2) (i=3) s1 “boom” 5 16 3 s2 “normal” 5 10 9 s3 “recession” 5 1 15

root represents today

future uncertainty is discretised

by 3 events (states)

3

1321 ppp

Page 10: leasing ppt

Computational Finance 10/23

Example: Expected Returns

The expected return of risk free asset is For stock A and B, expected return of the portfolio

The expected return of the portfolio

For equally weighted portfolio

%5][ 1 rE

%915933

1][

%9110163

1][

3

2

rE

rE

9)(5][ 321 wwwrE

%666.79253

1][

3

1321 ewrEwww

Page 11: leasing ppt

Computational Finance 11/23

Risk

Risk: a chance that investment’s actual return will be different than

expected –includes losing some or all of original investment

risk averse and risk-seeking (loving)

Systematic risk: influences a large number of assets, such as political

events – impossible to protect yourself against this risk

Unsystematic risk: (specific risk) affects very small number of assets.

For example, news that affects a specific stock such as a sudden strike

Diversification is the only way to protect yourself

Others: credit (default) risk, foreign exchange risk, interest rate risk,

political risk, market risk

Page 12: leasing ppt

Computational Finance 12/23

Diversification

Risk management technique

Mixes a wide variety of investments within a portfolio

Objective is to minimize the impact that any one security will

have on overall performance of the portfolio

For the best diversification, portfolio should be spread among many different assets; cash, stocks, bonds

securities should vary in risk and

securities should vary by industry to minimize unsystematic risk to different

companies

Page 13: leasing ppt

Computational Finance 13/23

Portfolio Risk

For n securities, portfolio risk – variance of the portfolio return

ij

n

jiji

jjii

n

jiji

j

n

jjji

n

iii

n

iii

n

iiippp

ww

rrrrwwE

rrwrrwE

rwrwErrE

1,

1,

11

2

11

22

))((

)()(

)(

n

i

n

i

n

jij

ijjiiip www1 1 1

222

Expected value of squared variable- how much rate of return of portfolio tends to vary from its mean

Page 14: leasing ppt

Computational Finance 14/23

Example: Variance of Portfolio

The variance and covariance are calculated as

0

0

3

90)6)(8()0)(1()6)(7(

3

1],cov[

3

72)915()99()93(

3

1]var[

3

114)91()910()916(

3

1]var[

0]var[

31

21

3223

2223

23

2222

22

121

rr

r

r

r

Page 15: leasing ppt

Computational Finance 15/23

Example: Variance of Portfolio

The portfolio risk is

180721143

1

2

3223

22

233223

23

22

22

2

3223311323322112

1331122123

23

22

22

21

21

3

2

1

233231

232221

131221

3

2

12

wwww

wwwwσ

wwwwwwww

wwwwwww

w

w

w

w

w

w

p

t

p

For equally weighted portfolio27

6

3

1 2321 ewwww

Page 16: leasing ppt

Computational Finance 16/23

Short Sale

It is possible to sell an asset that you do not own through the short selling (shorting) the asset. In order to implement short selling

borrow the asset from the owner such as brokerage firm

sell the borrowed asset to someone else, receiving an amount x0

at a later date purchase the asset for x1, and return the asset to lender

The short selling is profitable if the asset price declines

Risky since the potential for loss is unlimited –if asset value increases

Although prohibited within certain financial institutions, not universally

forbidden

1001 then , If xxprofitxx

0101 then , If xxlossxx

Page 17: leasing ppt

Computational Finance 17/23

Example:Short-sale

Assume that company X has a poor outlook next month. The stock is now trading at £65, but you see it trading much lower than this price in the future.

You decide to take risk and trade on this stock. Two things can happen; stock price can go up or down

Predicted Stock price £40

Predicted Stock price £85

Action taken Price(£) Cost(£) Price(£) Cost(£) Borrowed 100

shares of X & sell 65 6500 65 6500

Bought back 100 shares of X

40 -4000 85 -8500

Profit/Loss 2500 -2000

Make Money

Lose Money

RISKY: no guarantee that the price of a short stock will drop

Page 18: leasing ppt

Computational Finance 18/23

Optimal Portfolio

Portfolio theory • effects of investor decisions on security prices • relationship that should exist between the returns and risk.

• possible to have different portfolios varying levels of risk &return• decide how much risk you can handle and allocate (or diversify) portfolio according to this decision

Harry Markowitz: 1990 Nobel Prize winner in Economic Sciences• published in 1952 Journal of Finance titled “Portfolio Selection”• formalized an integrated theory of diversification, portfolio risks, efficient & inefficient portfolios

Maximize (expected return of portfolio)

(weighted sum of individual expected rates of return)

Minimize (portfolio risk)

(expected value of squared variable- how much rate of return of portfolio

tends to vary from its mean)

Page 19: leasing ppt

Computational Finance 19/23

The Markowitz Model

Construct portfolio under uncertainty

Suppose that there are n assets with random rates of return

with mean values

The portfolio consists of n assets

are the portfolio weights

such that

nrrr ,,, 21

niwi ,,2,1for

11

n

iiw

nrrr ,,, 21

Page 20: leasing ppt

Computational Finance 20/23

Maximum Expected Wealth Problem

niw

w

rw

i

n

ii

n

iii

w

,,2,1 0

1

to subject

max

1

1

•No risk –maximize expected portfolio return –risk-neutral approach

Page 21: leasing ppt

Computational Finance 21/23

Minimum Variance Portfolio

niw

w

ww

i

n

ii

n

jijji

n

iw

,,2,1 0

1

to subject

min

1

11

•Take risk into account

Page 22: leasing ppt

Computational Finance 22/23

Mean-Variance Optimisation Problem

niw

w

rrw

ww

i

n

ii

n

iii

n

jijji

n

iw

,,2,1 0

1

to subject

min

1

1

11

• trade-off between expected rate of return &variance of rate of return in a portfolio• naturally leads to diversification by taking risk attitudes in to account

Page 23: leasing ppt

Computational Finance 23/23

Efficient Frontier

-10

-5

0

5

10

15

20

25

30

0 1 2 3 4 5 6 7 8 9

Active Risk %/AnnumAbs

olut

e R

etur

n %

/Ann

um• Varying the desired level of return and repeatedly solving QP problems identifiesthe minimum variance portfolio for each value of : efficient portfoliosr