Docsity

Stat 650: Sample Final Problems for M/M/1 Queue Theory - Prof. Eric Victor Slud, Exams of Statistics

Toggle sidebar
bg1
Eric Slud 5/4/07
Stat 650 Sample Final Problems
Instructions. These problems are intended to be roughly of the difficulty
and topic coverage as the problems you will be given on the Final Exam on
Wednesday, May 16, 2006. The main topic and idea for each problem is indicated
in italics. The Final Exam will consist of about 5 or 6 problems like the single-
topic problems, and I may again include a short-answer (true/false style) section.
The first five problems relate to the M/M/1 queue with arrival rate λ= 1
and service rate µ= 3.
(1). (Recursive equation based on conditioning and unconditiing.) Find E0(V2)
(the expected time for an empty queue until the first time there are 2 customers
in the system).
(2). (Martingale calculation of hitting probabilities) Find P2(hit 5 before 0)
and E2(time to hit {0,5}) . Hint: before hitting 0, the Markov Chain Xtis
just a random walk in continuous time. You will need two different martingales
in terms of Xtto solve this problem.
(3). (Cycles in continuous-time Markov Chains) Find the long-term proportion
of time spent in state 3 immediately following a transition from state 2.
(4). (Cycles in discrete-time Markov Chains) Find the long-term proportion
of transition steps spent in an even-numbered state.
(5). (Conditioning) Suppose that the owner of the M/M/1 service facility
experiences a cost equal to the person-hours which customers have waited before
their service begins. If the initial state of the queue is X(0) = 2 (one customer
on line and one being served), then find the mean and variance of the owner’s
accumulated cost up to the time of the first service completion.
(6). (Stationary distributions of chains with transient states) The continuous-
time Markov chain Xtwith time-ttransition matrix P(t) has state-space
S={A, B, 1,2,3}and intensity-matrix
Q=
−1.5 1 .5 0 0
1−1 0 0 0
0 0 −3 2 1
0 0 2 −5 3
0 0 1 3 −4
(a). Find the transition matrix P∗of the embedded discrete-time Markov-
chain associated with Q.
pf3

Partial preview of the text

Download Stat 650: Sample Final Problems for M/M/1 Queue Theory - Prof. Eric Victor Slud and more Exams Statistics in PDF only on Docsity!

Eric Slud 5/4/

Stat 650 Sample Final Problems

Instructions. These problems are intended to be roughly of the difficulty and topic coverage as the problems you will be given on the Final Exam on Wednesday, May 16, 2006. The main topic and idea for each problem is indicated in italics. The Final Exam will consist of about 5 or 6 problems like the single- topic problems, and I may again include a short-answer (true/false style) section.

The first five problems relate to the M/M/1 queue with arrival rate λ = 1 and service rate μ = 3.

(1). (Recursive equation based on conditioning and unconditiing.) Find E 0 (V 2 ) (the expected time for an empty queue until the first time there are 2 customers in the system).

(2). (Martingale calculation of hitting probabilities) Find P 2 (hit 5 before 0) and E 2 (time to hit { 0 , 5 }). Hint: before hitting 0, the Markov Chain Xt is just a random walk in continuous time. You will need two different martingales in terms of Xt to solve this problem.

(3). (Cycles in continuous-time Markov Chains) Find the long-term proportion of time spent in state 3 immediately following a transition from state 2.

(4). (Cycles in discrete-time Markov Chains) Find the long-term proportion of transition steps spent in an even-numbered state.

(5). (Conditioning) Suppose that the owner of the M/M/1 service facility experiences a cost equal to the person-hours which customers have waited before their service begins. If the initial state of the queue is X(0) = 2 (one customer on line and one being served), then find the mean and variance of the owner’s accumulated cost up to the time of the first service completion.

(6). (Stationary distributions of chains with transient states) The continuous- time Markov chain Xt with time-t transition matrix P (t) has state-space S = {A, B, 1 , 2 , 3 } and intensity-matrix

Q =

(a). Find the transition matrix P ∗^ of the embedded discrete-time Markov- chain associated with Q.

(b). Find limn→∞ (P ∗)n^ and limt→∞ PB 1 (t).

(7). (Exponential r.v.’s and Poisson process) If N 1 (t) and N 2 (t) are independent Poisson processes with respective rates 3 and 1, then find P (N 1 (t) hits 6 before N 2 (t) hits 3) numerically.

(8). (Exponential r.v.’s) Let T 1 ,... , T 5 be independent random variables, Tk ∼ Expon(k). Find P (max(T 4 , T 5 ) < min(T 1 , T 2 , T 3 )). (Hint: consider superposed process.)

(9). (Martingales and hitting probabilities – discrete & continuous-time pro- cesses; compound Poisson or branching processes) Suppose that ξj for j ≥ 1 are iid random variables such that ξj falls with equal probabilities 1 / 3 on each of the values − 1 , 0 , 1, and suppose N (t) is an independent Poisson process with rate 2. Define Yn =

∑n j=1 ξj^ ,^ X(t) =^ YN^ (t). (a) Show that Yn is a martingale with respect to {ξ 1 ,... , ξn}. (b) Show that X(t) is a martingale in the sense that for each s < t,

E

X(t) − X(s) | (N (u), u ≤ s), (ξj , j ≤ N (s))

and also that X^2 (t) − 4 t/ 3 is a martingale in the same sense.

(c) Find P (X(t) hits -10 before 15) and

E

inf{t > 0 : X(t) ∈ { − 10 , 15 } }

(10). (Poisson process & Markov Chain) Suppose that Xk(t) for k = 1, 2 ,... is an independent sequence of Markov chains on a finite state-space S , all starting with the same initial distribution μ (a probability vector indexed by S), and let N (t) be a Poisson unit-rate process independent of all of the Xk(·) processes. Show that for each t, the variables

Rj (t) =

N ∑ (t)

k=

I[Xk (t)=j] , j ∈ S

are independent Poisson random variables, and find limt→∞ Rj (t)/t.

(11). (Reversibility & detailed balance) Show that every two-state irreducible continuous-time Markov chain satisfies the detailed balance condition.

(12). (Formulation of intensity matrix and MC stationary distributions) Sup- pose that a continuous-time system is defined with states { 0 , 1 , 2 , 3 } in terms of two independent Poisson processes Nj (t) with respective rates 1 , 2 by X(t) = 3N 1 (t) − N 2 (t) mod 4. Show that the system is Markovian, and find its intensity matrix and its stationary probability of being in state 3.