]>
Suppose that is a sequence of independent random variables, each taking values 1 and with probabilities and respectively. In this section, we will study the partial sum process associated with . Thus,
The sequence is the simple random walk with parameter . At each step, our random walker moves either one unit to the right (with probability ) or one unit to the left (with probability ). The walker could accomplish this by tossing a coin with probability of heads at each step, to determine whether to move right or move left. Other types of random walks are studied in the chapter on Markov Chains.
Let and denote the mean and standard deviation, respectively of a step . Show that
Let for . Show that if and if .
Hence, is a sequence of Bernoulli trials. In terms of the random walker, is the indicator variable for the event that the step is to the right.
Let for .
In terms of the walker, is the number of steps to the right in the first steps.
Use the results of the previous exercise to show that has probability density function
Show that
Suppose now that . In this case, is called the symmetric, simple random walk. The symmetric random walk can be analyzed using some special and clever combinatorial arguments.
Show that the random vector is uniformly distributed on , and therefore
Show that has probability density function
Show that has mean and variance given by
In the random walk simulation, select the final position. Vary the number of steps and note the shape and location of the probability density function and the mean/standard deviation bar. For selected values of the parameter, run the simulation 1000 times, updating every 10 runs. Note the apparent convergence of the empirical density and moments to the true density and moments.
In the random walk simulation, select the final position and set the number of steps to 50. Run the simulation 1000 times, updating every 10 runs. Compute and compare the following:
Consider again the simple, symmetric random walk. Let , the maximum position during the first steps. Note that takes values in the set . The distribution of can be derived from a simple and wonderful idea known as the reflection principle.
Show that if and only if for some .
Suppose that . Show that for each path that satisfies and there is another path that satisfies . Hint: The second path is obtained from the first path by reflecting in the line , after the first path hits .
Use the results of the previous two exercises and the fact that the paths are equally likely to show that
Use the result of the previous exercise to show that
Use the result of the previous exercise to show that for and
In the random walk simulation, select the maximum value variable. Vary the number of steps and note the shape and location of the density function and the mean/standard deviation bar. Now set the number of steps to 30 and run the simulation 1000 times with an update frequency of 10. Note the apparent convergence of the relative frequency function and empirical moments to the true density function and moments.
Show that for any , the probability density function of is decreasing.
The result in Exercise 17 is a bit surprising; in particular, the single most likely value for the maximum is 0!
A fair coin is tossed 10 times. Find the probability that the difference between the number of heads and the number of tails is never greater than 4.
Consider again the simple, symmetric random walk. Our next topic is the last visit to 0 during the first steps:
Note that since visits to 0 can only occur at even times, takes the values in the set . This random variable has a strange and interesting distribution known as the discrete arcsine distribution. Along the way to our derivation, we will discover some other interesting results as well.
Show that
Use independence, symmetry and the result of the previous exercise to show that
We know the first factor on the right from the distribution of . Thus, we need to compute the second factor, the probability that our random walk never returns to 0 during a time interval.
Use results for the maximum position to show that
Use symmetry (which is just the reflection principle at ), to show that
Show that
Use independence, symmetry, and the result of the previous exercise to show that
Show that implies .
Use the result of the previous exercises to show that
Use symmetry and the result of the pervious exercise to show that
Use the result of Exercise 22 and Exercise 28 to show that the probability density function of is
In the random walk simulation, choose the last visit to 0 and then vary the number of steps with the scroll bar. Note the shape and location of the density function and the mean/standard deviation bar. For various values of the parameter, run the simulation 1000 times with an update frequency of 10 and watch the apparent convergence of the empirical density function and moments to the true probability density function and moments.
Show that
In particular, 0 and are the most likely values. The arcsine distribution is quite surprising. Since we are tossing a fair coin to determine the steps of the walker, you might easily think that the random walk should be positive half of the time and negative half of the time, and that it should return to 0 frequently. But in fact, the arcsine law implies that with probability , there will be no return to 0 during the second half of the walk, from time to , regardless of , and it is not uncommon for the walk to stay positive (or negative) during the entire time from 1 to .
Suppose that in an election, candidate receives votes and candidate receives votes where . Assuming a random ordering of the votes, what is the probability that is always ahead of in the vote count? This is an historically famous problem known as the Ballot Problem, that was solved by Joseph Louis Bertrand in 1887. The ballot problem is intimately related to simple random walks.
Comment on the validity of the assumption that the voters are randomly ordered for a real election.
The ballot problem can be solved by using a simple conditional probability argument to obtain a recurrence relation. Let denote the probability that is always ahead of in the vote count.
Condition on the candidate that receives the last vote to show that
Use the initial condition and induction on the number of votes to show that
In the ballot experiment, vary the parameters and and note the change the ballot probability. For selected values of the parameters, run the experiment 1000 times with and update frequency of 10 and note the apparent convergence of the relative frequency to the true probability.
In an election for mayor of a small town, Mr. Smith received 4352 votes while Ms. Jones received 7543 votes. Compute the probability that Jones was always ahead of Smith in the vote count.
Consider again the simple random walk with parameter .
Given , show that
Use the previous exercise and the ballot probability to show that for ,
In the ballot experiment, vary the parameters and and note the change the ballot probability. For selected values of the parameters, run the experiment 1000 times with an update frequency of 10 and note the apparent convergence of the relative frequency to the true probability.
An American roulette wheel has 38 slots; 18 are red, 18 are black, and 2 are green. Fred bet $1 on red, at even stakes, 50 times, winning 22 times and losing 28 times. Find the probability that Fred's net fortune was always negative.
Roulette is studied in more detail in the chapter on Games of Chance.
Consider again the simple random walk with parameter , as in the last subsection. Let denote the time of the first return to 0:
Note that returns to 0 can only occur at even times; it may also be possible that the random walk never returns to 0. Thus, takes values in the set .
Show that
Use the ballot problem to show that
Use the results of the previous two exercises to show that