Review Set on Conditioning and Markov Chains

Interact

David Aldous’ former student Takis Konstantopoulos created a great resource of exercises on Markov Chains. Selected problems are listed below along with some others. Resist the impulse to read the answers to the Konstantopoulos exercises before you try the exercises yourself.

1. Bridge Hands

My bridge partner and I are playing a game of bridge against two other people. In the game, four hands of 13 cards each are dealt to the four players, at random without replacement from a standard deck. Let X be the number of hearts in my hand and let Y be the number of hearts in my partner’s hand. For k=0,1,2,,13, find E(YX=k).

2. Random Urn

I draw a simple random sample of n0 balls from an urn that contains b0 blue balls and r0 red balls. I put the balls in my sample in another urn that already contains b1 blue balls and r1 red balls. I then draw a simple random sample of n1 balls from the second urn. Find the expected number of blue balls in this sample.

3. Polya’s Urn

You have seen this model before; it is used in many contexts, for example to model contagion. Start with one white and one black ball. Draw one ball at random, then replace it in the urn along with another ball of its color. Keep doing this.

Let Bn be the number of black balls in the urn just before the nth ball is drawn. So B1=1 with probability 1.

(a) Just before the nth ball is drawn, how many balls are there in the urn?

(b) For each n, find E(Bn+1Bn).

(c) Use induction and Part b to find E(Bn) for each n.

(d) Let Xn be the proportion of black balls in the urn just before the nth ball is drawn. Find E(Xn) for each n.

4. Craps Principle

This gambling observation can be formalized as follows. Consider a sequence of i.i.d. trials, each of which results in one of three categories of outcomes. On each trial, let the chance of Category i be pi>0 with p1+p2+p3=1.

Show that the chance that Category 1 appears before Category 2 is p1/(p1+p2).

[The goal is for you to practice conditioning, so don’t use geometric sums. Just condition on the first couple of trials. Either the event happens right away, or what?]

5. Waiting for 00

A random number generator draws repeatedly at random with replacement from the 10 digits 0,1,2,,9. Run the generator till the pattern 00 appears. Let X be the number of times the generator has to be run. Thus for example if the first three runs produce 7 followed by 0 followed by 0, then X=3. Find E(X) by conditioning on the first run.

6. Markov Chain Fundamentals

Let X0,X1, be an irreducible, aperiodic Markov Chain on a finite state space S. Let P be the transition matrix of the chain. Let λ be the initial distribution of the chain. That is, let λ be a vector containing the distribution of X0.

(a) Find the distribution of Xn in terms of λ, P, and n.

(b) What happens to the distribution of Xn as n? Prove your answer.

7. Reflecting Random Walk on a Finite Set

Fix p(0,1) and a positive integer N, and let q=1p. Consider the Markov Chain with transition probabilities given by:

  • P(0,1) = p and P(0,0)=q.
  • P(N,N)=p and P(N,N1)=q.
  • For 1iN1, P(i,i+1) = p and P(i,i1)=q

(a) Find the stationary distribution of the chain.

(b) Is the chain reversible?

Selections from Konstantopoulos

The exercises are numerous. Here are some to try.

  • 7 (‘topological properties’ means whether it is irreducible and what its period is; for the irreducible aperiodic ones, find the long run proportion of time spent at each state)
  • 16

  • 21

  • 25

  • 27 (you can do this one without calculation)

  • 36