00:01
To compute the probability p0 equal to s2 equal to minus 2 and s5 equal to minus 3 for a simple random walk with p equal to 0 .4 and q which is 1 minus p is 0 .6, we need to find out the random walk probability by taking specific steps to reach these values.
00:32
So as we have s2 equal to minus 2, this means that after two steps the random walk position is at minus 2.
00:48
So we need to follow the following steps and see where it leads us.
00:59
So the first step must be to the left that is minus 1 and this will occur with the probability of q which is 0 .6 and the second step is also, should also be minus 1 therefore we will have p0 of minus 2.
01:19
So this will also be 0 .6.
01:23
So the probability of s2 which is p0 of s2 equal to minus 2 will be equal to q squared or 0 .6 squared which is 0 .36.
01:42
Now for s5 being equal to minus 3, this means that after five steps we reach at the position of minus 3.
01:58
So this will mean that, let's take the first step to the left that will be minus 1, second step to the left minus 2, then we take the third step to the left minus 1 again, then we take a step to the right which will be plus 1 and a step to the left which will be minus 1 again.
02:26
So this is how we reach the position minus 3 in five steps.
02:34
So as we have minus 1 here, so this will be q equal to 0 .6.
02:46
Again q will be 0 .6, q will be 0 .6 but here we move to the right...