Docsity

Processi stocastici dispense, Appunti di Statistica

Toggle sidebar
bg1
STOCHASTIC PROCESS
Extension to multi-period models, either in the discrete or continuous-time framework.
When dealing with multi-period models, one of the key problems is to take into account the revelation of
information over time, especially the information transmitted by the observation of variables like for
conditional expectation.
Roughly speaking, models can be divided in two families.
Discrete-time models are defined on a finite or countable set of dates, denoted 0,1,…,𝑇 (e.g., in finance,
markets are open on these dates).
In continuous-time models the set of dates is an interval [0; T] (e.g. markets are always open).
Discrete-time models are easier to understand and sometimes allow to solve valuation problems that cannot be
easily managed in continuous-time.
Continuous-time models often provide simple analytical solutions (also called closed-form solutions) when
discrete-time models only provide untractable solutions.
Discrete stochastic processes
Some ideas:
We consider a discrete-time world with a relevant set of dates denoted as 𝑇={0,1,…,𝑇}. 𝑇<∞, i.e.
a finite-horizon model.
The phenomena is observed at dates in the set 𝑇1={0,1,…,𝑇−1}, with the last observation at date
T-1 and we are investigating what happens at date T.
As the phenomena are observed at different dates, we have random variables indexed by time, that is
the Stochastic process!
Uncertainty is described by a probability space (𝛺;𝐴; 𝑃), with 𝛺 the set of events, 𝐴 a sigma-algebra
on and 𝑃 a probability measure on A.
Definition: A discrtete-time stochastic process is a sequence of random variables 𝑋=(𝑋𝑜,…,𝑋𝑡) defined on
(𝛺;𝐴) and taking value in 𝑅.
Note: the variables Xt can be either discrete or continuous.
EXAMPLE: The binomial distribution of stock prices can be referred to a stochastic process of stock prices
𝑋𝑡=𝑋𝑡−1∗𝑌𝑡 with 𝑌𝑡 a variable taking values 𝑢 and 𝑑 with probability 𝑝 and 1−𝑝.
EXAMPLE: If the Xt are assumed normally distributed, the variables will be continuous because they could
take any value in R+.
It is important to distinguish what is discrete: There exist discrete(continuous)-time stochastic processes with
discrete(continuous) variables. The time dimension and the state dimension are clearly different!
Information revelation over time
To illustrate the point in a simple framework, consider 𝛺={𝜔𝑖,𝑖=1,…,4} and 𝐴=𝑃(𝛺) assume that 𝑋1
and 𝑋2 are defined by:
If we observe 𝑋1 at date 1 we get some information: i.e. if 𝑋1=100 we know that the event {𝜔1,𝜔2} occurs.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Anteprima parziale del testo

Scarica Processi stocastici dispense e più Appunti in PDF di Statistica solo su Docsity!

STOCHASTIC PROCESS

Extension to multi-period models, either in the discrete or continuous-time framework.

When dealing with multi-period models, one of the key problems is to take into account the revelation of

information over time, especially the information transmitted by the observation of variables like for

conditional expectation.

Roughly speaking, models can be divided in two families.

Discrete-time models are defined on a finite or countable set of dates, denoted 0 , 1 , … , 𝑇 (e.g., in finance,

markets are open on these dates).

In continuous-time models the set of dates is an interval [0; T] (e.g. markets are always open).

Discrete-time models are easier to understand and sometimes allow to solve valuation problems that cannot be

easily managed in continuous-time.

Continuous-time models often provide simple analytical solutions (also called closed-form solutions) when

discrete-time models only provide untractable solutions.

Discrete stochastic processes

Some ideas:

 We consider a discrete-time world with a relevant set of dates denoted as 𝑇 = { 0 , 1 , … , 𝑇}. 𝑇 < ∞, i.e.

a finite-horizon model.

 The phenomena is observed at dates in the set 𝑇

1

= { 0 , 1 , … , 𝑇 − 1 }, with the last observation at date

T-1 and we are investigating what happens at date T.

 As the phenomena are observed at different dates, we have random variables indexed by time, that is

the Stochastic process!

 Uncertainty is described by a probability space (𝛺; 𝐴; 𝑃), with 𝛺 the set of events, 𝐴 a sigma-algebra

on and 𝑃 a probability measure on A.

Definition : A discrtete-time stochastic process is a sequence of random variables 𝑋 = (𝑋𝑜, … , 𝑋𝑡) defined on

(𝛺; 𝐴) and taking value in 𝑅.

Note: the variables Xt can be either discrete or continuous.

EXAMPLE : The binomial distribution of stock prices can be referred to a stochastic process of stock prices

𝑡

𝑡− 1

𝑡

with 𝑌

𝑡

a variable taking values 𝑢 and 𝑑 with probability 𝑝 and 1 − 𝑝.

EXAMPLE : If the Xt are assumed normally distributed, the variables will be continuous because they could

take any value in R+.

It is important to distinguish what is discrete: There exist discrete(continuous)-time stochastic processes with

discrete(continuous) variables. The time dimension and the state dimension are clearly different!

Information revelation over time

To illustrate the point in a simple framework, consider 𝛺 = {𝜔

𝑖

, 𝑖 = 1 , … , 4 } and 𝐴 = 𝑃(𝛺) assume that 𝑋

1

and 𝑋 2

are defined by:

If we observe 𝑋 1

at date 1 we get some information: i.e. if 𝑋

1

= 100 we know that the event

1

2

occurs.

Then the conditional probabilities related to the possible values of 𝑋 2

are changed after the observation of 𝑋

1

Indeed, only value 95 and 106 are possible at date 2. Moreover, uncertainty remains because the terminal date

T=2 has not been reached.

In real world, we accumulate information over time but uncertainty remains about future.

To build a consistent model, it is then necessary to choose a relevant definition of information revelation over

time.

In particular, at a given date t, we observe date-t variables which are no more random at future dates.

Moreover, it seems reasonable to assume that the quantity of information held increases over time: we don't

forget anything!

In other words, the list of events you know to be true or false at a given date s is included in the corresponding

list at a future date t. It also means that if an event is true at a given date it will also be true at any future date.

Definition : A filtration on a probability space (𝛺; 𝐴; 𝑃) is an increasing sequence 𝐹 = {𝐹

𝑜

1

𝑇

} of sub-

tribes of 𝐴. The quadruple (𝛺; 𝐴; 𝑃; 𝐹) is called a filtered probability space.

In a model ending at date T, it is reasonable to assume that no uncertainty remains at the terminal date T,

therefore 𝐹 𝑇

In the same way, we assume that nothing is known at date 0: 𝐹

𝑜

= {∅, 𝛺} indeed we surely know that despite

you know nothing, you can say that the impossible event does not occur and that the sure event occurs.

In the example above, the filtration is:

0

1

1

2

3

4

2

such that at the intermediate date 𝑡 = 1 you can say if

1

2

or

3

4

occurs because you observe 𝑋

1

, as

at date 0, you can describe the events you will know to be true or false at future dates.

Strong assumption, since in real life (such as financial markets) many events occur which were even not

imagined by subjects (e.g. investors) before they occurred.

If 𝐹 =

𝑜

1

𝑇

describes the information over time, 𝐹

𝑇

is the date-t list of events you know as true or

false: we say that 𝑋 𝑇

is measurable w.r.t. 𝐹

𝑇

(the same for any t).

Definition : 1) A stochastic process 𝑋 = {𝑋

𝑜

𝑇

} is adapted to the filtration F if, for any t, 𝑋

𝑇

is 𝐹-

measurable.

  1. The natural filtration of a stochastic process X is the sequence 𝐹

𝑥

of sub-tribes of A such that 𝐹

𝑥

is the tribe

generated by the variables 𝑋 𝑠

Consider the Cox-Ross-Rubinstein model with 𝑋

𝑇

𝑡− 1

𝑡

𝑡

being independent and taking values 𝑢 and 𝑑

with probabilities 𝑝 and 1 − 𝑝. If 𝑇 = 2 , there are four possible paths for X between t = 0 and T = 2. Then, 4

states are necessary to describe the evolution of prices; 𝛺 = {𝑢𝑢, 𝑢𝑑, 𝑑𝑢, 𝑑𝑑}; at date 1, observed 𝑋 1

, we know

if

or

are true or false, and the relevant σ-algebra to describe the information known at date

1 is 𝐹 1

1

is 𝐹

1

  • measurable and is defined by:

1

1

0

1

1

0

Definition : A stochastic process 𝑋 = (𝑋 1

𝑇

) is predictable if, for any 𝑡 ≥ 1 , 𝑋

𝑇

is 𝐹

𝑡− 1

  • measurable.

Lines: Grades (AAA is the best grade; CCC is the worst grade before default) given by the rating agency on a

given year 𝑝 to given financial instruments like corporate bonds.

Columns: the possible states of the rating process on year 𝑝 + 1. D means default and NR not rated.

Numbers provide the proportion of firms moving from a rating to another one. For example, 88.46% on the

top left means that 88.46% of bonds rated AAA on year 𝑝 are still rated AAA on year 𝑝 + 1. 8.05% of the

bonds rated AAA on year 𝑝 have been downgraded to AA on year 𝑝 + 1.

This is a transition matrix.

Definition : A process X defined on (𝛺; 𝐴; 𝑃; 𝐹) is a Markov process if for any (𝐵 1

𝑛

𝑅

𝑚

and any

1

𝑛

𝑛

such that 𝑡

1

𝑛

𝑡

𝑛

𝑡𝑗

𝑗

𝑡𝑛

𝑛

𝑡(𝑛− 1 )

𝑛− 1

The Markov property says that the history of the process up to date 𝑡 𝑛− 1

does not matter to determine what

happens between 𝑡 𝑛− 1

and 𝑡

𝑛

. The only important information is to know where is located the process at date

𝑛− 1

If the state space is finite, the set of values taken by the variables (𝑋 𝑝

, 𝑝 ∈ 𝑁) is denoted (𝑥

1

𝑛

) and

Markov processes are called finite Markov chains.

Definition : Let (𝑋

𝑝

, 𝑝 ∈ 𝑁) a finite Markov chain taking values in (𝑥

1

𝑛

  1. Transition probabilities of order 1 are quantities

𝑖

𝑗

𝑝

𝑗

𝑝− 1

𝑖

  1. The matrix П

𝑝− 1

𝑖

𝑗

), 𝑖, 𝑗 = 1 , … , 𝑛) is the transition matrix of the Markov chain at

date p-1.

  1. When the transition probabilities do not depend on p, the Markov chain is said homogeneous (or

stationary) and notations are simplified by writing 𝜋(𝑥

𝑖

𝑗

𝑖𝑗

𝑖𝑗

is the probability for the process X to be in state 𝑥

𝑗

at date p knowing it is in state xi at date p- 1.

If two lines (corresponding to D and NR) are added to the transition matrix above (with ones as diagonal terms

and Zero otherwise), the resulting square matrix is the transition matrix of a Markov chain with 9 states.

EXAMPLE : The President of the United States tells person A his or her intention to run or not to run in the

next election. Then A relays the news to B, who in turn relays the message to C, and so forth, always to some

new person. We assume that there is a probability a that a person will change the answer from yes to no when

transmitting it to the next person and a probability b that he or she will change it from no to yes. We choose as

states the message, either yes or no. The transition matrix is then

П =

The initial state represents the President's choice.

EXAMPLE : Each time a certain horse runs in a three horse race, he has probability 1/2 of winning, 1/4 of

coming in second, and 1/4 of coming in third, independent of the outcome of any previous race. We have an

independent trials process, but it can also be conside red from the point of view of Markov chain theory. The

transition matrix is:

EXAMPLE : (Ehrenfest Model) The following is a special case of a model, called the Ehrenfest model that

has been used to explain di_usion of gases. We have two turns that, between them, contain four balls. At each

step, one of the four balls is chosen at random and moved from the urn that it is in into the other urn. We

choose, as states, the number of balls in the first urn. The transition matrix is then:

Example1 : (Random walk) Consider a particle which moves on the real line starting from the origin, i.e. 𝑆 0

0

= 0. At each instant n the particle jumps to the right or to the left according to the following distribution:

𝑛

𝑛

with 𝑝 + 𝑞 = 1. The position of the particle at time n is 𝑆

𝑛

𝑖

𝑛

𝑖= 1

. Assume that the 𝑋

𝑖

are all independent.

The state space of the process is 𝑆 = ± 1 , ± 2 , … and the transition from one state to another is given by 𝑆

𝑛

𝑛− 1

𝑛

. Clearly 𝑆

𝑛

1 is a homogenous Markov chain. Indeed,

𝑛+ 1

𝑛

𝑛− 1 ,

0

𝑛

𝑛+ 1

𝑛

𝑛− 1 ,

0

𝑛+ 1

𝑛

because the 𝑋 𝑖

are independent.

The transition matrix for 𝑆 𝑛

has an infinite number of rows and columns which can be represented as follows

where the matrix is filled with zeros outside the two diagonals of p's and q's.

Example2 : (Random walk with reecting barriers) Assume that the particle of Example 1 can move only on the

finite state space 𝑆 =

such that if the particle is in state 𝑎 at time n, it is pushed at 𝑎 + 1 at

instant n + 1 with probability 1; if it is in state 𝑏 at time n it is pushed back at state 𝑏 − 1 at time n + 1; otherwise

it behaves as in Example 1. The transition matrix is then represented:

and 𝑎 and 𝑏 are called rejecting barriers. The first row of П represents the distribution

𝑛

𝑛− 1

and similarly for the subsequent rows.

This equation should remind the reader of a dot product of two vectors; we are dotting the first row of П with

the third column of П. This is just what is done in obtaining the 1,3-entry of the product of П with itself.

In general, if a Markov chain has r states, then

𝑖𝑗

(𝑛)

𝑖𝑘

𝑘𝑗

𝑟

𝑘= 1

Theorem 4. The following relation holds

𝑖𝑗

(𝑛)

𝑖ℎ

(𝑛− 1 )

ℎ𝑗

ℎ∈𝑆

Proof. Indeed,

𝑖𝑗

(𝑛)

𝑛

0

0

𝑛

𝑛− 1

0

0

ℎ∈𝑆

𝑛

𝑛− 1

0

ℎ∈𝑆

𝑛− 1

0

𝑛

𝑛− 1

ℎ∈𝑆

𝑖ℎ

(𝑛− 1 )

1

0

ℎ∈𝑆

𝑖ℎ

(𝑛− 1 )

from which we obtain the result.

Not only one-year transition probabilities are important (as table above) but also to estimate the transition

probabilities for 2, 3 and m years.

Let think to a bank lending money to a firm for 5 years: it is interested in the 5-year default probability.

For this reason, we introduce the Chapman-Kolmogorov equations, that allow to deduce the m-year transition

probabilities from the corresponding one-year transition probs.

Proposition : Let 𝑋 = (𝑋 𝑝

, 𝑝 ∈ 𝑁) denote a N-state homogeneous Markov chain with one-period transition

probability matrix П = (𝜋 𝑖𝑗

Let 𝜋

𝑖𝑗

(𝑚+𝑛)

𝑚+𝑛

𝑗

0

𝑖

) denote the m+n-period transition probability from state i to state j.

𝑖𝑗

(𝑚+𝑛)

𝑖𝑘

(𝑚)

𝑘𝑗

(𝑛)

𝑁

𝑘= 1

Assume 𝑚 = 𝑛 = 1 and 𝑁 = 3.

12

( 2 )

is the probability for the process to be in state 𝑥

2

at date 2, knowing the date-0 state was 𝑥

1

From 𝑥

1

to 𝑥

2

there are 3 possible paths

Then:

12

( 2 )

11

12

12

22

13

32

Indeed, the Chapman-Kolmogorov equations count the possible paths from 𝑥 𝑖

to 𝑥

𝑗

in 𝑚 + 𝑛 steps and then

cumulate the probs. of all these paths.

Example Consider again the weather in the Land of Oz. We know that the powers of the transition matrix give

us interesting information about the process as it evolves. We shall be particularly interested in the state of the

chain after a large number of steps (from 1 to 6). The results are shown in Table below. We note that after six

days our weather predictions are, to three-decimal-place accuracy, independent of today's weather. The

probabilities for the three types of weather, R, N, and

S, are 0 .4, 0 .2, and 0 .4 no matter where the chain started. This is an example of a type of Markov chain called

a regular Markov chain.

We now consider the long-term behavior of a Markov chain when it starts in a state chosen by a probability

distribution on the set of states, which we will call a probability vector. A probability vector with r components

is a row vector whose entries are non-negative and sum to 1. If 𝜋

0

is a probability vector which represents the

initial state of a Markov chain, then we think of the ith component of 𝜋

0

as representing the probability that

the chain starts in state i. With this interpretation of random starting states, it is easy to prove the following

theorem.

Theorem 5. Given a homogenous Markov chain with transition matrix П and initial distribution 𝜋

0

, the

distribution of 𝑋

𝑛

is given by

𝑘

(𝑛)

ℎ

0

ℎ𝑘

(𝑛)

ℎ∈𝑆

for each 𝑘 ∈ 𝑆, or in matrix form: 𝜋

𝑛

0

П

𝑛

Proof. Indeed, we can write

𝑛

𝑛

0

ℎ∈𝑆

𝑛

0

ℎ∈𝑆

0

Example In the Land of Oz example let the initial probability vector 𝜋

0

= (1/3; 1/3; 1/3). Then we can calculate

the distribution of the states after three days using previous Theorem and our previous calculation of П

3

. We

obtain

3

0

П

3

Problem : Find the state transition matrix P for the Markov chain

Solution 3:

2

2

3

1

01

2

Which can be obtained directly from the two step transition matrix

3

1

01

2

3

0

01

3

Using the Chapman-Kolmogorov equation, we obtain

01

3

0 𝑘

2

𝑘 1

2

𝑘= 0

00

2

01

01

2

11

02

2

21

Examples

Example In the Dark Ages, Harvard, Dartmouth, and Yale admitted only male students. Assume that, at that

time, 80 percent of the sons of Harvard men went to Harvard and the rest went to Yale, 40 percent of the sons

of Yale men went to Yale, and the rest split evenly between Harvard and Dartmouth; and of the sons of

Dartmouth men, 70 percent went to Dartmouth, 20 percent to Harvard, and 10 percent to Yale. (i) Find the

probability that the grandson of a man from Harvard went to Harvard. (ii) Modify the above by assuming that

the son of a Harvard man always went to Harvard.

Again, and the probability that the grandson of a man from Harvard went to Harvard.

Solution. We first form a Markov chain with state space 𝑆 = {𝐻, 𝐷, 𝑌} and the following transition probability

matrix:

Note that the columns and rows are ordered: first H, then D, then Y. Recall: the ijth entry of the matrix Pn

gives the probability that the Markov chain starting in state i will be in state j after n steps. Thus, the probability

that the grandson of a man from Harvard went to Harvard is the upper-left element of the matrix

It is equal to 0. 7 = 0. 8

2

    1. 2 ∗ 0. 3 and, of course, one does not need to calculate all elements of 𝑃

2

to

answer this question.

If all sons of men from Harvard went to Harvard, this would give the following matrix for the new Markov

chain with the same set of states:

The upper-left element of 𝑃

2

is 1, which is not surprising, because the offspring of Harvard men enter this very

institution only.

Example A certain calculating machine uses only the digits 0 and 1. It is supposed to transmit one of these

digits through several stages. However, at every stage, there is a probability 𝑝 that the digit that enters this

stage will be changed when it leaves and a probability 𝑞 = 1 − 𝑝 that it won't. Form a Markov chain to

represent the process of transmission by taking as states the digits 0 and 1. What is the matrix of transition

probabilities? What is the probability that the machine, after two stages, produces the digit 0 if it starts with 0?

Solution. Taking as states the digits 0 and 1 we identify the following Markov chain (by specifying states and

transition probabilities):

where 𝑝 + 𝑞 = 1. Thus, the transition matrix is as follows:

It is clear that the probability that that the machine will produce 0 if it starts with 0 is 𝑝

2

2

States of a Markov chain

Definition 4. A state 𝑥 𝑗

of a Markov chain X is accessible from a state 𝑥

𝑖

if there exists an integer 𝑘 > 0

such that:

𝑖𝑗

(𝑘)

Definition 5. Two states 𝑥 𝑖

and 𝑥

𝑗

of a Markov chian X communicate if there exist integers 𝑘 and 𝑘

′

such

that:

𝑖𝑗

(𝑘)

0 and 𝜋

𝑖𝑗

(𝑘′)

Example : Let 𝜋 the following matrix:

It can be observed that when the process starts in state 𝑥 1

or 𝑥

1

, states 𝑥

3

and 𝑥

4

are never reached; they are

not accessible. We can also see that 𝑥 1

and 𝑥

2

communicate. The same is true for 𝑥

3

and 𝑥

4

. When starting from

Example : Determine which of the following matrices is regular:

a) (

b) (

c) (

a) yes, all entries are positive

b) yes, because П

2

has only positive entries. You can also look at it as irreducible matrix with at least one

element in the main diagonal not equal to zero.

П

2

c) No, because it is not irreducible (not connectable). Also, if you multiply it by itself over and over it will still

contain zeros

Theorem 7. Fundamental Limit Theorem for Regular Chains: stationary distribution

If П is the transition matrix for a regular Markov chain, then

𝑚→∞

П

𝑛

where W is matrix with all rows equal. Furthermore, all entries in W are strictly positive.

For a finite Markov chain, looking for the stationary distribution of the chain consists in calculating the powers

П

𝑚

of the one-period transition prob. matrix. When m tends to infinity, the lines of П

𝑚

become identical.

Example : consider the very simple case of a two-state chain characterized by the following transition matrix:

П = (

The successive powers of 𝜋 are:

П

2

П

3

𝑚→∞

П

𝑚

The stationary distribution of the chain means that the probability of being in one state on the long run does

not depend on the initial state.

Definition 10. We define the fixed row vector (steady-state distribution) for П the 𝑤 vector representing the

common row of 𝑊. It can be obtained from 𝑤

′

П = 𝑤

We can find the limit vector for the Land of Oz ex. Start from: 𝑤 1

2

3

= 1 and

1

2

3

1

2

3

This leads to the following four equations in three unknowns:

1

2

3

1

2

3

1

1

3

2

1

2

3

3

The unique solution is

In agreement with the predicted П

6

in some examples above.

Definition 11. Given an ergodic DTMC we define the average recurrence time 𝑚 𝑖

as

𝑖

𝑖

(𝑛)

∞

𝑛= 1

Theorem 8. The average recurrence time can be obtained as the inverse of the steady-state state probability of

state i

𝑖

𝑖

Proof. Let's consider an interval of N time slots. The mean number of time slots spent in state i is simply 𝑤 𝑖

(Binomial). The average recurrence time is then the ratio between the number N of time slots divided by the

slots spent in state i.

𝑖

𝑁→∞

𝑖

𝑖

Suppose that income from occupation of a child, as an adult, depends upon the income from the occupation of

his or her parents given by the following transition matrix, where L= low income, M= middle income, U=High

income

a) What is the probability that the grandchild of a family of low income to be in high income level? In long

run, what portion of the population will be in low income level?

Solution: a) The transition matrix is

all these questions depend, in general, on the state from which the process starts as well as the transition

probabilities.

Canonical Form

Consider an arbitrary absorbing Markov chain. Renumber the states so that the transient states come

first. If there are r absorbing states and t transient states, the transition matrix will have the following canonical

form

Here I is an r-by-r identity matrix, 0 is an r-by-t zero matrix, R is a nonzero t-by-r matrix, and Q is an t-by-t

matrix. The first t states are transient and the last r states are absorbing.

We know that the entry 𝑃

𝑖𝑗

(𝑛)

of the matrix 𝑃

𝑛

is the probability of being in the state 𝑥

𝑗

after n steps, when the

chain is started in state 𝑥

𝑖

. A standard matrix algebra argument shows that 𝑃

𝑛

is of the form.

where the asterisk should be replaced by a matrix function of Q and R.

We now prove that the probability of being in the transient states after n steps approaches zero. Thus every

entry of 𝑄

𝑛

. must approach zero as n approaches infinity (i.e. 𝑄

𝑛

Theorem 9. In an absorbing Markov chain, the probability that the process will be absorbed is 1 (i.e., 𝑄

𝑛

as 𝑁 → ∞).

Proof: From each nonabsorbing state 𝑥 𝑗

it is possible to reach an absorbing state. Let 𝑚

𝑗

be the minimum

number of steps required to reach an absorbing state, starting from 𝑥 𝑗

. Let 𝑝

𝑗

be the probability that, starting

from 𝑥

𝑗

, the process will not reach an absorbing state in 𝑚

𝑗

steps. Then 𝑝

𝑗

< 1. Let m be the largest of the

𝑗

and let p be the largest of 𝑝

𝑗

. The probability of not being absorbed in m steps is less than or equal to p, in

2m steps less than or equal to 𝑝

2

, etc. Since 𝑝 < 1 these probabilities tend to 0. Since the probability of not

being absorbed in n steps is monotone decreasing,

these probabilities also tend to 0, hence 𝑙𝑖𝑚 𝑛→∞

𝑛

Fundamental Matrix

Definition 13. For an absorbing Markov chain P, the matrix 𝑁 = (𝐼 − 𝑄)

− 1

is called the fundamental matrix

for P. The entry 𝑛 𝑖𝑗

of N gives the expected number of times that the process is in the transient state 𝑠

𝑗

if it

started in the transient state 𝑠 𝑖

, before being absorbed.

Example In the Drunkard's Walk example, the transition matrix in canonical form is

From this we have:

And

Computing (𝐼 − 𝑄)

− 1

From the middle row of N, we see that if we start in state 2, then the expected number of times in states 1,2,

and 3 before being absorbed are 1, 2, and 1.

Time to Absorption

Theorem 10. Let ti be the expected number of steps before the chain is absorbed, given that the chain starts in

state 𝑠 𝑖

, and let t be the column vector whose ith entry is 𝑡

𝑖

. Then

where c is a column vector all of whose entries are 1.

Definition 14. Absorption Probabilities Let 𝑏

𝑗𝑗

be the probability that an absorbing chain will be absorbed in

the absorbing state 𝑠 𝑗

if it starts in the transient state 𝑠

𝑖

. Let B be the matrix with entries bij. Then B is a t-by-

r matrix, and

where N is the fundamental matrix and R is as in the canonical form.

In the Drunkard's Walk example

Thus, starting in states 1, 2, and 3, the expected time to absorption are 3, 4, and 3, respectively.

Note that in a stochastic sequence (𝑋 𝑛

𝑛

𝑛≥ 0

, the r.v. 𝑋

𝑛

is not only 𝐹

𝑛

  • measurable, but also 𝐹

𝑛+𝑘

  • measurable

with k ≥ 0, being the filtration increasing.

Example 1. Let (𝜉

𝑛

𝑛≥ 0

a sequence of indep. r.v. and let 𝐹

𝑛

0

𝑛

} the filtration such that its elements

are 𝜎-algebra generated by the first n+1 r.v. of the sequence (natural Filtration). If E(𝜉 𝑛

) = 0 for each n ≥ 0,

and if:

𝑛

𝑛

𝑛

𝐾=𝑂

the sequence (𝑋 𝑛

𝑛

𝑛≥ 0

is a martingale.

Indeed, given the independency of the 𝜉 𝑛

it follows:

𝑛+ 1

𝑛

𝑛+ 1

𝑛

𝑛

𝑛+ 1

𝑛

𝑛

𝑛+ 1

𝑛

𝑛

Definition 3. Let (𝐹 𝑛

𝑛≥ 1

the natural filtration of the sequence of r..v. (𝜉

𝑛

𝑛∈𝑁

. The sequence (𝜉

𝑛

𝑛

𝑛≥ 1

is

absolutely fair if:

1

𝑛+ 1

𝑛

Under these conditions it is unrealistic to assume that the observation of game until the hand n can afford to

devise a strategy of betting that on average would advantage one of the two players.

Theorem 1. let 𝜉 1

2

,… an absolutely fair sequence and C a constant. The sequence (𝑋

𝑛

𝑛≥ 1

is a martingale

if and only if

𝑛

𝑛

𝑛

𝑖= 1

C could be the starting amount of one of the two players and 𝑋 𝑛

the amount of that player after the n-th hand

of the game.

Proof: If (𝑋 𝑛

) is a martingale, given 𝜉

1

1

- E(𝑋

1

) and for any n > 1, 𝜉

𝑛+ 1

𝑛+ 1

𝑛

, we get a sequence

𝑛

) absolutely fair, since;

𝑛+ 1

1

𝑛

𝑛+ 1

1

𝑛

𝑛

1

𝑛

𝑛

𝑛

and 𝑋 𝑛

𝑛

𝑛

𝑖= 1

  • 𝐶 with C = E(𝑋

1

On the other hand, if (𝜉 𝑛

) is absolutely fair, given 𝑋

𝑛

𝑛

𝑛

𝑖= 1

  • 𝐶 we get:

𝑛+ 1

1

𝑛

𝑛+ 1

1

𝑛

𝑛

1

𝑛

𝑛

Since 𝐸(𝜉 𝑛+ 1

1

𝑛

𝑛+ 1

1

𝑛

) and for the biunique correspondence between (𝑋

1

𝑛

) and

1

𝑛

), since 𝑋

𝑖

ℎ

𝑖

1

for 𝑖 = 1 , … , 𝑛 given C, make coincident the two σ-algebras generated by

the vectors.

Example 2. Sum of martingales. Let 𝑋 1

2

𝑛

a sequence of independent r.v. with zero expected value.

Let a be a real constant, and let:

𝑛

1

2

𝑛

0

Then

𝑛+ 1

1

2

𝑛

𝑛

𝑛+ 1

1

2

𝑛

𝑛

1

2

𝑛

𝑛+ 1

1

2

𝑛

𝑛

𝑛+ 1

𝑛

since 𝑀

𝑛

is known when it is known also the sequence 𝑋

1

2

𝑛

𝑛+ 1

is independent of (𝑋

1

2

𝑛

and 𝐸(𝑋 𝑛+ 1

So 𝑀 𝑛

is a martingale w.r.t. X.

Martingales in 𝑳

2

Let (𝑋 𝑛

𝑛∈𝑁

a sequence of i.i.d r.v. in 𝑳

2

, with (𝐹

𝑛

𝑛≥ 1

the natural filtration, with 𝐸(𝑋

𝑘

) = 0 and 𝑉 𝑎𝑟(𝑋

𝑘

2

Let 𝑀 𝑛

1

2

𝑛

If 𝑉 𝑛

𝑛

2

2

then V is a martingale w.r.t. X.

Indeed:

𝑛

2

2

𝑛− 1

𝑛

2

𝑛− 1

2

2

𝑛− 1

2

2

𝑛− 1

2

2

knowing that ∀𝑘:

2

𝑘

2

𝑘− 1

𝑘

𝑘− 1

2

𝑘− 1

𝑘

2

𝑘− 1

𝑘− 1

2

A very important result in the martingale theory is the following theorem.

Theorem 2. Doob decomposition Let (Ω, 𝐹, 𝑃) a probability space, and (𝐹

𝑛

𝑛∈𝑁

a filtration with 𝐹

𝑛

⊂ 𝐹. A

sub-martingale with discrete time 𝑋 𝑛

, can be always obtained as the sum of two components:

𝑛

0

𝑛

𝑛

0

0

where 𝑀 𝑛

is a martingale and A is a process such that 𝐴 = (𝐴

𝑛

𝑛≥ 0

with 𝐴

𝑛+ 1

𝑛

and 𝐴

𝑛+ 1

is Fn-

measurable.

The Doob decomposition has a simple economic interpretation. Let 𝑋 𝑡

be the cumulative return on a

financial asset between 0 and t. The decomposition means that in each period [𝑠; 𝑠 + 1 ] the return has two

components: a predictable one and a zero-mean surprise (the martingale part). In fact:

𝑡

𝑡− 1

𝑡

𝑡− 1

𝑡

𝑡− 1

It leads to:

𝑡

𝑡− 1

𝑡− 1

𝑡

𝑡− 1

𝑡− 1

𝑡

𝑡− 1

In economy populated by risk neutral agents, 𝐴 𝑡

𝑡− 1

would be the variation linked to the locally risk-free

rate.

Stopping time

Talking about martingales, recall the concept of stopping time. Indeed when you have a game strategy, you

also assume that you will stop the game at a given random time T based on the past results. Therefore for any

n the event {𝑇 = 𝑛} has to be measurable w.r.t. the σ-algebra generated by (𝑋 1

𝑛

The stopping time will depend on a random choice that has to be independent of the r.v.'s 𝑋 𝑛+ 1

𝑛+ 2

Definition 4. Let 𝑇 ∶ Ω → 𝑅

. T is said stopping time w.r.t.

𝑡

if for any t:

𝑡

In other words, let 𝑋 0

1

2

, …be a sequence of random variables. A random variable T taking values in

is a stopping time with respect to the aforementioned sequence if for each 𝑛 ∈ 𝑁

0

, the event that

𝑇 = 𝑛 can be deterministically expressed in terms of 𝑋

0

1

2

𝑛

This is equivalent to the condition that

for each n, the event that 𝑇 ≤ 𝑛 can be deterministically expressed in terms of 𝑋

0

1

2

𝑛

The stopping time is said limited if there exist a constant 𝑐 < +∞ such that 𝑃{𝑇 ≤ 𝑐} = 1.

T is said finite if 𝑃{𝑇 ≤ +∞} = 1.

It is like the time such that a random event will occur, assuming that it could be +1 if the event will never

occur.