Docsity

Quantitative Methods for Finance, Appunti di Finanza

Toggle sidebar
bg1
9 September 2024
INTRODUCTION
In complete markets payoffs have a unique price
In case of unreplicable assets (incomplete market) you can’t have a unique price
Review of linear algebra
To do the multiplication the two matrices must be conformable (if the first is [
𝑚∙𝑛
] the second must me [
𝑛∙𝑦
]):
the number of columns of the first matrix must be equal of the number of rolls of the second one.
à The product will generate a matrix [
𝑚∙𝑦
]
Transposition = it’s an operation that consist in switching the rolls with the columns; an important property is that:
(
𝐴∙𝐵
)
!=𝐵!∙𝐴!
Linear Independence: the vectors *
𝑎
𝑏
- and *
𝑐𝑑
- are linearly independent if and only if (iff) the linear relationship:
𝑥"
*
𝑎
𝑏
-
+𝑥#
*
𝑐𝑑
-
=
*
0
0
-
↔4
*
𝑎 𝑐
𝑏 𝑑
-
∙
*
𝑥"
𝑥#
-
=4
*
0
0
-
Is true only for the trivial weights
𝑥"=𝑥#=0
; instead if the 2 vectors are linearly dependent you will find other
combinations of weights.
If the vectors are linearly independent the system led to a unique solution (instead if they are linearly dependent,
you will have more solutions)
à There is linear independence because there exists the inverse matrix! (
𝑨∙𝑨$𝟏 =𝑰
)
3 = (1∙3%+%0∙5)
2 = (0∙4%+%1∙2)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24

Anteprima parziale del testo

Scarica Quantitative Methods for Finance e più Appunti in PDF di Finanza solo su Docsity!

9 September 2024

INTRODUCTION

In complete markets payoffs have a unique price

In case of unreplicable assets (incomplete market) you can’t have a unique price

Review of linear algebra

To do the multiplication the two matrices must be conformable (if the first is [𝑚 ∙ 𝑛] the second must me [𝑛 ∙ 𝑦]):

the number of columns of the first matrix must be equal of the number of rolls of the second one.

à The product will generate a matrix [𝑚 ∙ 𝑦]

Transposition = it’s an operation that consist in switching the rolls with the columns; an important property is that:

!

!

!

Linear Independence : the vectors *

  • and *
  • are linearly independent if and only if (iff) the linear relationship:

"

"

Is true only for the trivial weights 𝑥 "

= 0 ; instead if the 2 vectors are linearly dependent you will find other

combinations of weights.

If the vectors are linearly independent the system led to a unique solution (instead if they are linearly dependent,

you will have more solutions)

à There is linear independence because there exists the inverse matrix! (𝑨 ∙ 𝑨

$𝟏

3 = ( 1 ∙ 3 + 0 ∙ 5 )

2 = ( 0 ∙ 4 + 1 ∙ 2 )

Inverse Matrix

$"

det ;

!

The matrix is invertible if and only if is non-singular (=its determinant is non-zero)

How to calculate the determinant :

How to calculate the matrix of cofactors :

𝑐𝑜𝑓(𝐴) = C

"&"

"&#

#&"

#&#

F = *

So we will have that:

There is also a formula to calculate the inverse of a 2x2 matrix: given 𝑎𝑑 − 𝑐𝑏 ≠ 0 , the inverse is:

$"

To compute the determinant of a 3 x 3 matrix, you can use the Sarrus’ rule:

We can notice that inverse and transposition are interchangeable: H𝑨

$𝟏

I

𝑻

= H𝑨

𝑻

I

$𝟏

Resolution Method

  1. Within the matrix 𝐴, identify a non-singular square submatrix 𝐴

Q

of dimension 𝑟 𝑥 𝑟

  1. Discard the 𝑚 − 𝑟 rows of 𝐴 non belonging to 𝐴

Q

Doing so, you discard 𝑚 − 𝑟 redundant equations.

  1. Keep on the left-hand-side of the remaining equations of the system all terms belonging to 𝐴

Q

, while bring to

the right-hand-side all terms non belonging to 𝐴

Q

. The 𝑛 − 𝑟 unknowns brought to the right-hand-side

become free parameters

  1. Solve the resulting 𝑟 𝑥 𝑟 system.

Keep in mind that n is the number of unknowns, m the number of equations and r the rank of the matrix.

A second example (solution with one degree of freedom (𝑛 − 𝑟 = 4 − 3 = 1 ):

A third example:

𝑅𝑎𝑛𝑘(𝐴) = 𝑅𝑎𝑛𝑘(𝐴|𝐵) = 3 ,

àThe system admits solution.

à 𝑟 = 𝑛, so the solution is unique:

12 September 2024

One-period financial markets

Investors face two trading dates, named 𝑡 = 0 and 𝑡 = 1 and they have uncertainty on what the values of the assets

at time 1 will be

  • At time 𝑡 = 0 , investors choose their investment strategy. They can choose among 𝑁 + 1 securities, for

which we use the index 𝑗 = 0 , … , 𝑁

  • At time 𝑡 = 1 , they receive the liquidation value of their strategy

𝑗 = 0 Riskless security

𝐵( 0 ) ≡ 1 denotes the time- 0

price of the riskless security.

≡ 1 + 𝑟 denotes its time-

1 price

The quantity 𝑟 is

the risk-free rate,

with 𝑟 ≥ 0

,

( 1 ) it’s the return of the asset

,

( "

) $,(/)

,(/)

"&)$"

"

𝑗 > 0 Risky security

0

( 0 ) denotes their time-0 price

0

( 1 ) is a random variable that

denotes their time-1 price

1

!

( 1 ) it’s the return of the asset

1

!

(")$ 1

!

(/)

1 !

(/)

By time 1, the market uncertainty will resolve in one of 𝐾 possible states of the world

2

indicates the generic k-th state of the world at time 1 àthe 𝑤

2

’s are relevant economic/financial scenarios

𝛺 indicates the set of all states of the world:

"

3

0

2

) indicates the time-1 price of the j-th security in scenario 𝑤

2

How to organize all this information? Constructing a payoff-matrix in which we represent 3 dimensions (assets,

time, and uncertainty), the 𝑀 matrix has 𝐾 + 1 rows and 𝑁 + 1 columns.

In the columns we have the assets (first column represent the riskless asset, the other the risky securities) , in the

rows the time and the different scenarios.

Each column 𝑗 of 𝑀 represents the cashflow from buying (row 1) or having bought (the other rows) 1 unit of the j-th

security

Exemplifying a market with 3 securities and 3 states

Consider a one-period market with 𝑁 = 2 and 𝐾 = 3 , assume that 𝐵

= 1. 00 , so that 𝑟 = 0%

The time-0 prices of the risky securities are 𝑆

"

( 0 ) = 0. 5 and 𝑆

The time-1 prices of the risky securities are:

Let’s look at the following strategy 𝜗

∗

= k

l = m

r

At time 0, the quantity 𝑉 6

∗ ( 0 ) is the initial cost an investor must face to set up the investment strategy 𝜗, which

corresponding initial cash-flow is denoted by −𝑉 6

6

/

∗

"

∗

"

∗

= [𝐵

"

] m

/

∗

"

∗

∗

r =

= −[ 1 0. 5 2. 5 ] k

l = − 11. 5

The final proceeds 𝑉

6

2

) are the time-1 cashflow in the state 𝑤

2

from liquidating the investment strategy 𝜗

∗

6

= v

w k

l = v

w

We know that:

6

x

( 1

y

( 1 ) ∙ 𝜗

Then:

y ( 1

$"

6

x ( 1

Let’s find the strategy 𝜗 whose final proceeds are:

Inverting the submatrix of time-1 prices:

The strategy 𝜗 is then:

k

l = v

w

à The initial strategy consist in investing only in the riskless security

“Free lunches” are possible if there are:

  • Violations of the law of one price;

There will be violations of the law of one price if two strategies have different costs at time 0 despite

providing the same final proceeds in any state at time 1

  • Arbitrage opportunities of the first type;

There is a strategy with non-positive initial cost that never yields negative final proceeds while garanting

strictly positive final proceeds in at least one of the states at time 1.

  • Arbitrage opportunities of the second type.

There is a strategy with strictly negative initial cost that never yields negative final proceeds.

à “Free lunches” are implausible: any non-satiated investor would exploit these situations.

à A RISK-NEUTRAL PROBABILITY MEASURE 𝑸 is made of 𝐾 probability masses 𝑄(𝑤 2

) such that:

a. 𝑄(𝑤

2

) > 0 : the masses are strictly positive

b. 𝑄

"

3

= 1 : the masses sum to 1

7

[𝐵( 1 )] =

[𝑄(𝑤

"

3

)𝐵( 1 )] = 1

Ø For the riskless security, the price is the discounted Q-expectation of the payoff

0

7

8

y ( 1

"

0

"

3

0

2

The statement

0

7

8

y ( 1

Is equivalent to the statement

7

C

8

y

( 1 ) − 𝑆

0

0

F = 𝑟

Ø Q-expected returns equal the risk-free rate.

Under Q, the initial cost of a strategy 𝜗 equals the discounted Q-expectation of its final proceeds

6

7

[𝑉

6

x

( 1 )]

Ø The Q-expected return from 𝜗 equals the risk-free rate

THE FIRST FUNDAMENTAL THEOREM OF ASSET PRICING

The following statements are equivalent:

  • The no-arbitrage condition holds
  • A risk-neutral probability measure 𝑄 exists

y

( 1 )

!

= [−𝑀( 0 )]

!

Then:

y

=

y ( 𝟏

𝑻

$𝟏

∙ [−𝑴

]

𝑻

The unique triplet of risk-neutral probability masses is:

If you want to understand if the market is complete you go to analyze if there are payoffs that can be replicated.

The best way is studying the unicity of the risk-neutral probability Q

7

∙ [𝐵

]

"

7

∙ [𝑆

0

( 1 )]

[

"

)]

/

[𝑆

"

"

"

"

"

)] = 𝑆

"

[ 1 𝑄

"

] = 1

[

"

)]

"

The system admits solution, but it’s not unique: 𝑛 > 𝑟 à Solutions = ∞

($)

+$#

We can proceed by substitute 𝑄(𝑤

) with 𝑞:

"

"

"

Each quantity has to be strictly positive, then:

"

Let’s return to the payoff matrix, and let’s try to write the no-arbitrage prices of the unreplicable payoff:

7

H𝑋

I =

[ 1 𝑄

"

] = * 0 , 75 −

+ 2 𝑞- = [ 1 + 𝑞]

The no-arbitrage prices range from:

inf

7

7

H𝑋( 1 )I = inf

;∈(/;/,/?)

@

To:

sup

7

7

H𝑋( 1 )I = sup

;∈(/;/,/?)

A

If we are a bank at time-1 we will pay the payoff to the client, but in time 0 we sold the portfolio (receiving an

amount for the sold) and at the same time constructed a strategy to compensate the losses in time 1.

Then:

6

Where X is the price paid by the client

6

6

( 0 ) is the strategy adopted at time-0 in order to super-replicate the payoff

6

6

We are looking for the minimum possible initial cost strategy such that 𝑉

6

6

H𝑉

6

( 0 )I 𝑠. 𝑡. 𝑉

6

A

A

= min 𝑉

6

A

denotes a minimum-cost super-replicating strategy

A

6

Going back to: 𝑉

6

2

2

6

"

/

"

"

6

/

"

6

/

"

We want now to find the solution that minimize the initial cost of our strategy in the market:

6

/

"

"

/

"

"

/

/

We are looking for the strategy in the super-replicating

region (above and to the right of the black solid line)

corresponding to the minimum cost 𝑐. The minimum-cost

super-replicating strategy is the point of intersection

between 𝑟

"

, hence we must solve the system:

/

A

"

A

/

A

"

A

Obtaining:

/

A

"

A

EXERCISES from “Mock Exam 2”

:

𝑤

!

: 2 ( 1 ) + 2 ( 4 ) − ( 4 )( 4 ) + ( 4 )

"

=

𝑤

"

: 2

( 1

)

  • 2

( 0

) −

( 0

)( 4

)

( 4

)

"

=

𝑤

: 2 ( 1 ) + 2 ( 0 ) − ( 0 )( 0 ) + ( 0 )

"

=

>

10

18

2

@ = 𝑌( 1 )

𝑌( 0 ) =

1

1 + 𝑟

𝐸

$

5 𝑌( 1 ) 7

𝐵

( 0

)

!

!%&

( 1 𝑄

!

  • 1 𝑄

"

  • 1 𝑄

)

𝑆 !

( 0

)

!

!%&

( 4 𝑄

!

  • 0 𝑄

"

  • 0 𝑄

) à E

𝑄

!

  • 𝑄

"

  • 𝑄

= 1

4 𝑄

!

= 0 , 5

4 𝑄

!

  • 4 𝑄

"

= 1

à E

𝑄

!

= 0 , 125

𝑄

"

= 0 , 125

𝑄

= 0 , 75

𝑆

"

( 0 ) =

!

!%&

( 4 𝑄

!

  • 4 𝑄

"

  • 0 𝑄

)

Then:

𝑌( 0 ) =

1

1 + 𝑟

𝐸

$

5 𝑌( 1 ) 7 = ( 10 ∗ 0 , 125 + 18 ∗ 0 , 125 + 2 ∗ 0 , 75 ) = 5

The correct answer is D

Keeping in mind that:

A

6

H𝑉

6

I 𝑠. 𝑡. 𝑉

6

@

6

H−𝑉

6

I 𝑠. 𝑡. 𝑉

6

We can proceed with the condition that 𝑉 6

2

2

:

0

1

≥ 4 {𝑟

!

}

0

1

≥ 1 {𝑟

"

}

0

1

3

We may now proceed determining the minimum-cost strategy

among all those that super-replicate 𝑋( 1 ) by studying the initial

cost function:

/

"

6

"

/

The minimum cost strategy is represented by the intersection between 𝑟 "

and 𝑟

obtaining:

/

"

/

"

/

"

And the associated minimum cost: 𝑉 6

/

"

à The correct answer is B

If we wanted the maximum-cost strategy that super-replicates the payoff?

Under the condition that 𝑉 6

2

2

:

0

1

≥ − 4 {𝑟

!

}

0

1

≥ − 1 {𝑟

"

}

0

1

3

Lets now determine the maximum-cost strategy among

all those that super-replicates 𝑋( 1 ):

/

"

6

"

/

The maximum cost strategy is represented by the intersection between 𝑟 "

and 𝑟

obtaining:

/

"

/

"

/

"

And the associated maximum cost: −𝑉 6

/

"

6

/

/

"

"

Where 𝑊

/

is the parameter of the problem that represents the amount of wealth that can be invested

/

/

"

"

/

"

E

6

x ( 1

/

"

¯ = [𝑊

/

"

]( 1 ) + 𝜗

"

/

"

The expected price increase of the risky securities is ;

?

F

LET’S NOW MAXIMIZE THE RISK-ADJUSTED EXPECTED WEALTH

E

6

x ( 1

6

x ( 1

𝑊ℎ𝑒𝑟𝑒 𝑈 = 𝑢𝑡𝑖𝑙𝑖𝑡𝑦 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑎𝑛𝑑 𝜂 = 𝑟𝑖𝑠𝑘 𝑎𝑣𝑒𝑟𝑠𝑖𝑜𝑛 𝑝𝑎𝑟𝑎𝑚𝑒𝑡𝑒𝑟

→ max

6 $

; 6 %

E

6

x ( 1

6

x ( 1

The F.O.C.s are:

"

H𝐸

E

6

x ( 1

6

x ( 1

I = 0

H𝐸

E

6

x ( 1

6

x ( 1

I = 0

"

/

"

"

"

/

"

"

"

"

"

The solution is:

"

∗

∗

"

∗

and 𝜗

∗

are decreasing in the risk aversion (𝜂)

"

∗

and 𝜗

∗

are decreasing in the price variance ;

_?

"`

"

∗

and 𝜗

∗

are decreasing in the price covariance ;−

#?

"`

"

∗

and 𝜗

∗

are increasing in the expected price increase ;

?

F

The expected wealth of the optimal strategy 𝜗

∗

is:

E

6

∗

x ( 1

/

"

∗

∗

/

The wealth variance of the optimal strategy 𝜗

∗

is:

E

6

∗

x ( 1

"

∗#

∗#

"

∗

∗

The maximized objective is:

∗

E

6

∗

x

( 1

6

∗

x

( 1

/

/

04 October 2024

MAXIMIZING THE EXPECTED WEALTH GIVEN A WEALTH VARIANCE CONSTRAINT

Today we will try to solve a different problem: we are going to see how to maximize the expected wealth given a

wealth variance constraint.

max

6

6

( 1 )< 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝑉𝑎𝑟[𝑉

6

( 1 )] = 𝑣

We graph the strategies that achieve 𝐸

E

[𝑉

6

] = 𝑊

/

(initial wealth)

We knew that:

E

[𝑉

6

( 1 )] = 𝑊

/

"

6

x

( 1 ) = 𝜗

"

"

Then:

E

[

6

)]

/

"

/

"

If we wanted, 𝐸

E

[𝑉

6

( 1 )] = 𝑊

/

  • 1 then:

"

We want to maximize 𝐸

E

so we try to move

as much as possible into the right-hand

direction

Consider the strategy such that 𝑉𝑎𝑟

E

6

x

( 1

_?

"`

< and 𝜗

"

E

6

x

( 1

In the point (𝜗 "

3 ) thye slope of the graph is

b 6 %

b 6 $

à The optimal strategy is a tangency point!

The objective was to maximize the expected wealth!

  • The best expected wealth given the variance constraint is:

E

6

x

( 1 ) = 𝑊

/

"

/

À

/

√ 3 = max

6 $

; 6 %

E

6

x

( 1 ) 𝑠. 𝑡. 𝑉𝑎𝑟

E

6

x

( 1 ) = 6

  • The optimal strategy (𝜗

"

3 ) is:

𝑎𝑟𝑔 max

6

$

; 6

%

E

6

x

( 1 ) 𝑠. 𝑡. 𝑉𝑎𝑟

E

6

x

( 1 ) = 6

The optimal strategy consist in the tangency point between the level curve for the expected function and the level

curve for the variance constraint.

We can generalize the solution for the problem:

max

6

$

; 6

%

E

6

x

( 1 ) 𝑠. 𝑡. 𝑉𝑎𝑟

E

6

x

( 1 ) = 𝑣

We must impose the tangency between the two levels curve:

"

Á𝐿𝑒𝑣𝑒𝑙 𝑐𝑢𝑟𝑣𝑒 𝑜𝑏𝑗𝑒𝑐𝑡𝑖𝑣𝑒 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 =

"

Á 𝐿𝑒𝑣𝑒𝑙 𝑐𝑢𝑟𝑣𝑒 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛

E

[

6

)]

"

E

[𝑉

6

]

E

[

6

)]

"

E

[𝑉

6

]

E

[

6

)]

"

E

[

6

)]

"

E

[

6

)]

E

[

6

)]

Let’s solve the system:

"

"

"

"

"

¥ = Ã

Ä

"

By construction the 𝑉𝑎𝑟

E

6

c

x ( 1

E

6

c

x

( 1 ) = 𝜗

"

"

À

We want the risky investment

"

#?@

d

to be positive H𝑙

À

> 0 I so that we can achieve 𝐸

E

6

c

x

( 1

/

The maximize objective is:

E

6

c

x ( 1

/

"

/

We are interested in representing our objective deterministic expected wealth. Let’s write the slope of the function:

E

6

c

x ( 1

/

À

À

is the SHADOW PRICE of the constraint and measures the sensibility of the expected function respect to the

variance constraint.

∆𝑣 units of constraint relaxation (∆𝑣 > 0 ) imply an improvement of the maximized objective equal to ∆𝐸

E

6

c

x

( 1 )

We have just calculated that:

E

6

c

x

( 1 ) ≈ 𝑙

À

The shadow price of the constraint (𝑙

À

) is the gain (in terms of expected terminal wealth) that the investor perceives

when the constraint is relaxed by one unit (of terminal wealth variance)

It decrease in the variance constraint level 𝑣:

À