Lecture 1. Tutorial on Stochastic Processes

Basics of Stochastic Processes

Ingredients:

  • configurations (position in space, abundance of a population, money invested)
  • rates: probability per unit time to go from a configuration to another
    configuration
    transition rate from to is

Question:
what is ?

master equation

and then

Random Walk

configuration: position in a line ()

transitions
with rate
with rate

we can write

solution with moment generating function
Introduce

to obtain

Assuming , we have , from which

The average reads

and the variance

The long term behavior can be obtained by expanding for small , we obtain

which corresponds to

solution as sum of steps
In a time step , there are 3 outcomes
with probability
with rate
with rate
which can be rewritten as

where
with probability
with rate
with rate

After time steps

where is the value of at the -th step
Since all the s are i.i.d. RV the central limit theorem applies and

where is a gaussian random variable with mean 0 and unit variance

and

For small we neglect the second term and obtain

and defining we get

By changing variable we then get

Birth-Death Process: exctintion Probability

configuration: non-negative integers ()

transitions
with rate
with rate

average

from which

and then

which is solved by

The probability dynamics is defined by

for and

It is convenient to introduce the moment generating function

from which we get

we have

and

In order to solve, we must introduce the \textbf{MOMENT GENERATING FUNCTIONS} (for the pleasure of MM):

This is useful because now we can write an equation for g instead of P:

We separated the summation in two parts: the first, from one up to infinity behaves as previously derived, and the second accounts for . Let's first analyze the red terms:

where:

Exploiting this trick we get:

Now let's analyze the blue term:

Now for the orange term:

In conclusion:

Putting everything together we obtain the partial differential equation:

We end up with the following equation:

In order to solve we need boundary conditions. In order to ensure that at time 0 the population is we can say that:

which, in terms of g becomes:

Thus we have the system:

Given this LPDE we are interested into finding a solution, to do so we'll use the method of characteristics. This method consists into finding a surface into the variable space ((z,t)) such that our partial differential equation reduces into ordinary differential equations.

Now to do so we will introduce another variable (s) to parametrize this curve: .

Lastly we must impose that the (s)-derivative is null this condition translates into:

Now there are infinite ways we can choose (s) to satisfy the previous equation. In this case we choose that:

Imposing these two conditions, I know I'm in a constant value of g. Now I want to solve the latter equation:

Using separation of variables:

By choosing :

We have found a relation between (s) and (z). Now, exploiting the fact that , we can see that and that (g(z,t)) is constant on the curve ((z(t),t)) described by the previous relation:

Rewriting the previous equation

Raising it to the we find the explicit form of :

Let's now look at what we have in our hands. Starting from the least interesting, which is calculating the first moment:

The average at time t is equal to the behavior we expected for the population in the deterministic solution at the beginning!

By calculating the second moment we obtain that the variance is:

Recap: we are interested in the probability of having a population of n at time t, and we solved by introducing the moment generating function. Looking at the solutions, we obtained that the mean is equal to the deterministic result we had already obtained 2 months ago and that the variance is time-dependent. The main difference is given by the rate birth/death:

  • if the birth rate is greater than the death rate (), in the large time limit we have:
  • The COEFFICIENT OF VARIATION is constant in the large time limit:
  • If the death rate is greater than the birth rate () both variance and average go to zero:
  • in the extreme case of we have that:

and the average is simply (doesn't change in time). In this case the variance keeps growing in time.

Another quantity that is interesting to study is the probability that, at a given time, the population goes extinct, meaning . We see that this probability is given by the zero-th coefficients of g:

From the solution obtained above we get

As always, we want to take the limit for large times, and again separating the cases:

  1. if :

The largest is the initial population size, the faster the probability will decrease.
2. if :

No matter how big is the population size, given a larger death rate than the birth rate the population will go extinct.

Exponential growth in variable environment

Let's consider a (large!) population growing with a stochastic growth rate

Population growth will be determined by

In order to simplify the notation here let's fix

which can be written as

from which we get

For large we get

where is a standard gaussian random variable, and

and

Interesting observation:

So we have that for large ,
On the other hand

The average is dominated by unlikely events, and the average grows as

with

From the equations above it is easy to see that

follows a biased random walk

The continuous limit reads therefore

One can obtain the equivalent equation under Ito prescription

with .