0

I understand the basic concept of random walk and how to solve them but when it comes to more complex ones like the one below I don't understand how they're calculated. The books and online resources I've looked into have not really clarified any of my confusion or simplified the method of solving such problems as the one outlined below.

Problem: Consider a simple model of the price of a stock measured in pence. Each trading day t = 0, 1, 2, … the price increases by 1 pence or decreases by 1 pence with probabilities P and 1-P respectively. The changes each day are independent. Let the price at time t be denoted by Xt and assume X0=100, so that the initial price (time 0 in our model) is £1.

This stochastic process is a simple random walk with a barrier at 0. The time set (measured in days) is J = {0, 1, 2, …}. The state space (measured in pence) is the set of non-negative integers {0, 1, 2, …}.

What is then: 1) P(X3 = 101, X5 = 103 | X0 = 100 ) for the random walk problem?

The answer is: 3(1-P)*P^4

2) What is P(X2= 102, X5= 103| X0=100)

The answer is: 3(1-P)*P^4 again.

Can someone explain to me how they were worked out?

Kurapika
  • 175

1 Answers1

1

Consider a collection of i.i.d random variables $\{X_i\}_{i=1}^\infty$ such that $\mathbb{P}(X_1=1)=p$ and $\mathbb{P}(X_1=-1)=1-p$.

For $1)$ you want that $\sum_{i=1}^3 X_i=1$ and $\sum_{i=1}^5 X_i=3$. From which you can conclude that $\sum_{i=1}^3 X_i=1$ and $\sum_{i=4}^5 X_i=2$. Hence $X_4$ and $X_5$ should both be equal to $1$ in this event. By independence:

$$ \mathbb{P}\Big(\sum_{i=1}^3 X_i=1, \sum_{i=4}^5 X_i=2 \Big)= \mathbb{P}\Big( \sum_{i=1}^3 X_i=1\Big) \cdot \mathbb{P}\Big( \sum_{i=4}^5 X_i=2 \Big)= $$

$$ \mathbb{P} \Big( \sum_{i=1}^3 X_i=1 \Big) \cdot \mathbb{P}(X_4=1) \cdot \mathbb{P}(X_5=1) .$$

By the possible values $X_i$ can take, you can conclude that $ \Big\{ \sum_{i=1}^3 X_i=1 \Big\} $ happens when two of the random variables $\{X_1 ,X_2,X_3 \}$ obtains $1$ and the remaining one obtains $-1$. Since they are i.i.d, all such possiblities have equal probability, and so:

$$ \mathbb{P} \Big( \sum_{i=1}^3 X_i=1 \Big)=3 \cdot \mathbb{P} \Big( X_1=1,X_2=1,X_3=-1 \Big). $$

And again by independence

$$ 3 \cdot \mathbb{P} \Big( X_1=1,X_2=1,X_3=-1 \Big)=3\cdot \mathbb{P}(X_1=1) \cdot \mathbb{P}(X_2=1) \cdot \mathbb{P}(X_3=-1). $$

All in all:

$$ \mathbb{P}\Big(\sum_{i=1}^3 X_i=1, \sum_{i=4}^5 X_i=2 \Big)=$$

$$= 3\cdot \mathbb{P}(X_1=1) \cdot \mathbb{P}(X_2=1) \cdot \mathbb{P}(X_3=-1) \cdot \mathbb{P}(X_4=1) \cdot \mathbb{P}(X_5=1) = $$

$$ =3p^4\cdot (1-p). $$

For $2)$, do a similar analysis of the event $\Big\{ \sum_{i=1}^2 X_i=1, \sum_{i=1}^5 X_i=3 \Big\}$.

Keen-ameteur
  • 7,663
  • I am still not entirely confident with problems like these yet but having gone through your explanation I've gained some clarity on what this is about - how the process works in such cases. I need a little more time with this stuff but thanks a lot. – Kurapika Sep 27 '20 at 10:35