



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




PART II (Third or Fourth Year)
Math 354 Stochastic Processes 2 hours
You should answer all Section A questions and TWO section B questions.
In section A there are questions worth a total of 50 marks, but the maximum mark that you can
gain there is capped at 40.
A1. (a) Define the probability generating function (pgf) of a random variable T which takes
values in the non-negative integers. State how E(T ) and Var(T ) can be calculated from
the pgf of T. [4]
(b) You repeatedly toss a coin. Assume that p is the probability that you toss a head. Let
T be the time until you first toss two consecutive heads.
(i) Show that the pgf for T , GT (z), is
GT (z) =
p
2 z
2
1 − pqz^2 − qz
where q = 1 − p. [5]
(ii) Calculate the mean of T. [4]
(iii) Calculate the probabilities that T = 1, T = 2 and T > 4. [6]
(c) Now consider S, the time until you first toss two consecutive tails. Write down the pgf
for S. Explain your reasoning. [3]
please turn over
SECTION A continued
A2. Consider four discrete-time Markov chains, each with state space { 1 , 2 , 3 , 4 }, and with prob-
ability transition matrices:
(a) For each of P 1 , P 2 , P 3 and P 4 :
(i) Identify the transient and persistent states. [4]
(ii) State whether the Markov chain is reducible or irreducible. [4]
(iii) Calculate the period of the Markov chain. [4]
Briefly justify your answers in each case.
(b) Calculate the stationary distribution of P 3. [4]
(c) Which of P 1 , P 2 , P 3 and P 4 have an asymptotic distribution? Briefly explain why. [2]
A3. (a) State two conditions that the rate matrix of a continuous time Markov process must
satisfy. [4]
(b) A three state continuous time Markov process has rate matrix
Calculate the stationary distribution of the Markov process. Does this Markov process
have an asymptotic distribution? Give a reason for your answer. [6]
please turn over
SECTION B continued
B2. Consider a continuous-time Markov chain, X(t), on { 1 ,... , N }, with rate matrix Q.
(a) Write down P(X(t + δt) = i|X(t) = j) and P(X(t + δt) = i|X(t) = i), for small δt, in
terms of the entries of Q. [4]
(b) Suppose N = 3 and Q 1 , 1 = −4, Q 1 , 2 = 1.
(i) Calculate Q 1 , 3. [1]
(ii) State the distribution of the length of a stay in state 1. [2]
(iii) Calculate the probability that if the chain is currently in state 1 it will next move
to state 2. [2]
(c) Suppose that there exists a probability distribution (π 0 , π 1 ,... , πN ) such that
πiQij = πj Qji
for all i and j. Show that π is the invariant distribution of the Markov chain. [6]
(d) Consider N = 2, and
−γ γ
λ −λ
where λ, γ ≥ 0.
Let π(t) = (π(t) 1 , π(t) 2 ) be the distribution of the Markov process at time t. That is
π(t) 1 = P(X(t) = 1), and π(t) 2 = P(X(t) = 2).
(i) Calculate π(t) in terms of π(0). [8]
(ii) For what values of λ and γ does this Markov process have an asymptotic distribu-
tion? [2]
(iii) The stationary distribution of the Markov process is
π =
λ
λ + γ
γ
λ + γ
Assume λ and γ are such that the Markov process has an asymptotic distribution.
Calculate
lim n→∞
n
∑^ n
t=
X(t)
please turn over
SECTION B continued
B3. (a) What are meant by the invariant distribution and the asymptotic distribution of a
Markov chain?
Prove that the asymptotic distribution of a discrete time Markov chain (if it exists) is
the unique invariant distribution. [7]
(b) Consider the Markov chain, Xt, which takes values in { 0 , 1 ,... , n}, and has transition
probabilities
P(Xt = j|Xt− 1 = i) =
1 if j = 0 and i = 1,... , n
μj if i = 0 and j = 1,... , n
0 otherwise,
where μ 1 ,... , μn are positive constants.
(i) Write down the transition matrix of this Markov chain. What conditions must the
constants μ 1 ,... , μn satisfy? [3]
(ii) Calculate the invariant distribution of the Markov chain. [3]
(iii) Is this the asymptotic distribution of the Markov chain? Justify your answer. [2]
(c) Consider a discrete-time Markov chain with state-space { 1 , 2 , 3 } and probability transi-
tion matrix
(1 − a)/ 2 (1 − a)/ 2 a
(1 − a)/ 2 (1 − a)/ 2 a
b/ 2 b/ 2 1 − b
for constants 0 ≤ a, b ≤ 1. Let πt = (P(Xt = 1), P(Xt = 2), P(Xt = 3)). Calculate πt in
terms of π 0. [15]
end of exam