T. Liggett Mathematics 171 Final Exam June 8, 2011

Similar documents
Markov Chains. X(t) is a Markov Process if, for arbitrary times t 1 < t 2 <... < t k < t k+1. If X(t) is discrete-valued. If X(t) is continuous-valued

The Transition Probability Function P ij (t)

STA 624 Practice Exam 2 Applied Stochastic Processes Spring, 2008

Lecture 5. If we interpret the index n 0 as time, then a Markov chain simply requires that the future depends only on the present and not on the past.

Statistics 150: Spring 2007

TCOM 501: Networking Theory & Fundamentals. Lecture 6 February 19, 2003 Prof. Yannis A. Korilis

IEOR 6711, HMWK 5, Professor Sigman

Time Reversibility and Burke s Theorem

MATH 56A: STOCHASTIC PROCESSES CHAPTER 6

Continuous-Time Markov Chain

57:022 Principles of Design II Final Exam Solutions - Spring 1997

Chapter 5. Continuous-Time Markov Chains. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

Renewal theory and its applications

A review of Continuous Time MC STA 624, Spring 2015

Markov Processes Cont d. Kolmogorov Differential Equations

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran November 13, 2014.

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks

Quantitative Model Checking (QMC) - SS12

Lecture 20: Reversible Processes and Queues

Examination paper for TMA4265 Stochastic Processes

Markov Chain Model for ALOHA protocol

Exercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems

Statistics 433 Practice Final Exam: Cover Sheet and Marking Sheet

Markov processes and queueing networks

Continuous Time Markov Chains

IEOR 3106: Second Midterm Exam, Chapters 5-6, November 7, 2013

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

Solutions For Stochastic Process Final Exam

Quiz Queue II. III. ( ) ( ) =1.3333

Stochastic process. X, a series of random variables indexed by t

Markov chains. 1 Discrete time Markov chains. c A. J. Ganesh, University of Bristol, 2015

MATH 564/STAT 555 Applied Stochastic Processes Homework 2, September 18, 2015 Due September 30, 2015

Introduction to Queuing Networks Solutions to Problem Sheet 3

Interlude: Practice Final

Universal examples. Chapter The Bernoulli process

Introduction to Stochastic Processes

MAT SYS 5120 (Winter 2012) Assignment 5 (not to be submitted) There are 4 questions.

Stochastic Processes

Statistics 253/317 Introduction to Probability Models. Winter Midterm Exam Friday, Feb 8, 2013

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011

Other properties of M M 1

M.Sc. (MATHEMATICS WITH APPLICATIONS IN COMPUTER SCIENCE) M.Sc. (MACS)

Irreducibility. Irreducible. every state can be reached from every other state For any i,j, exist an m 0, such that. Absorbing state: p jj =1

Lecture Notes 7 Random Processes. Markov Processes Markov Chains. Random Processes

M.Sc.(Mathematics with Applications in Computer Science) Probability and Statistics

Part I Stochastic variables and Markov chains

EXAM IN COURSE TMA4265 STOCHASTIC PROCESSES Wednesday 7. August, 2013 Time: 9:00 13:00

Random Walk on a Graph

Name of the Student:

Modern Discrete Probability Branching processes

Applied Stochastic Processes

Performance Evaluation of Queuing Systems

Stochastic Modelling Unit 1: Markov chain models

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

(b) What is the variance of the time until the second customer arrives, starting empty, assuming that we measure time in minutes?

Data analysis and stochastic modeling

Probability and Statistics Concepts

Markovské řetězce se spojitým parametrem

Availability. M(t) = 1 - e -mt

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Stochastic Processes

Computer Systems Modelling

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

MAS275 Probability Modelling Exercises

RELATING TIME AND CUSTOMER AVERAGES FOR QUEUES USING FORWARD COUPLING FROM THE PAST

Math 6810 (Probability) Fall Lecture notes

stochnotes Page 1

Page 0 of 5 Final Examination Name. Closed book. 120 minutes. Cover page plus five pages of exam.

DO NOT OPEN THIS QUESTION BOOKLET UNTIL YOU ARE TOLD TO DO SO

Non-homogeneous random walks on a semi-infinite strip

Lecture 5: Random Walks and Markov Chain

Example: physical systems. If the state space. Example: speech recognition. Context can be. Example: epidemics. Suppose each infected

Stochastic Models in Computer Science A Tutorial

STAT 380 Continuous Time Markov Chains

ECE534, Spring 2018: Solutions for Problem Set #4 Due Friday April 6, 2018

1 Continuous-time chains, finite state space

Readings: Finish Section 5.2

1 IEOR 4701: Continuous-Time Markov Chains

Stochastic Simulation

MS&E 321 Spring Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10

Contents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory

MS&E 321 Spring Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10. x n+1 = f(x n ),

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

Intro Refresher Reversibility Open networks Closed networks Multiclass networks Other networks. Queuing Networks. Florence Perronnin

Adventures in Stochastic Processes

From Stochastic Processes to Stochastic Petri Nets

Stochastic Processes. Theory for Applications. Robert G. Gallager CAMBRIDGE UNIVERSITY PRESS

The story of the film so far... Mathematics for Informatics 4a. Continuous-time Markov processes. Counting processes

Lecture 9 Classification of States

Math 597/697: Solution 5

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

DISCRETE STOCHASTIC PROCESSES Draft of 2nd Edition

Stochastic Processes (Week 6)

4.7 Finite Population Source Model

Homework 4 due on Thursday, December 15 at 5 PM (hard deadline).

Markov chain Monte Carlo

Exact Simulation of the Stationary Distribution of M/G/c Queues

TMA4265 Stochastic processes ST2101 Stochastic simulation and modelling

1. Aufgabenblatt zur Vorlesung Probability Theory

Transcription:

T. Liggett Mathematics 171 Final Exam June 8, 2011 1. The continuous time renewal chain X t has state space S = {0, 1, 2,...} and transition rates (i.e., Q matrix) given by q(n, n 1) = δ n and q(0, n) = q n, n 1. All other q(n, m) = 0 for n m. Assume that all the δ n s and q n s are strictly positive, and the δ n s are uniformly bounded. Determine when the chain is positive recurrent, and when it is, compute its stationary distribution. Solution: The equations for π are Iterating this gives π(n + 1)δ n+1 + π(0)q n = π(n)δ n, n 1. π(n)δ n = π(0) q k. k=n Therefore, the chain is positive recurrent if and only if 1 δ n=1 n k=n q k <. 2. Suppose orders to a factory arrive according to a rate 1 Poisson process N(t). Each order is independently of type a, b or c with probability 1 2, 1 3 and 1 6 respectively. (a) Given that there are exactly three arrivals in the interval [0, 1], what is the probability that there is one of each type? Solution: 6(1/36)=1/6. (b) What is the expected number of arrivals of orders of type a in the interval [0, 1]? Solution: The type a orders arrive according to a rate 1 2 so the answer is 1. 2 Poisson process, (c) Let X be the number of arrivals of type a or b during the interval [0, 2] and Y be the number of arrivals of type b or c during the interval [1, 3]. Find EXY. Solution: Write X = X 1 + X 2 + Z and Y = Y 1 + Y 2 + Z, where, for example, Z is the number of arrivals of type b in the interval [1, 2]. These are independent Poisson random variables with parameters 1 for X 1, and 1 3 for the others. Therefore, since EZ 2 = 4/9, EXY = E(X 1 + X 2 + Z)(Y 1 + Y 2 + Z) = 3(1/3) + 5(1/9) + 4/9 = 2.

3. Consider two machines that are maintained by a single repairman. Machine i functions for an exponentially distributed amount of time with rate λ i. The repair times for each machine are exponential with rate µ i. They are repaired in the order in which they fail. At any given time, there are five possible states for the system: a: both are working; b i : machine i is working and the other is being repaired; c i : neither machine is working and machine i is being repaired. Fill in the values of the Q matrix below. 4. Suppose Q = (q i,j ) is the Q matrix for a continuous time Markov chain, λ i are the rates of the exponential holding times, and p i,j are the transition probabilities for the embedded discrete time chain. What are the equations that relate these quantities? Solution: λ i = q i,i and p i,j = q i,j /λ i for i j. 5. Consider a continuous time Markov chain with Q matrix Q = (q i,j ) and transition probabilities p t (i, j). (a) State the Chapman-Kolmogorov equations. Solution: p t+s (i, j) = k p t (i, k)p s (k, j). (b) State either the Kolmogorov backward or forward equations. Be sure to say which you are stating. Solution: See pages 165-166 of the text. 6. For each statement below, say whether it is true or false. No explanation is necessary. (Scoring: +3 if correct, 1 if incorrect, 0 if no answer.) (a) A continuous time Markov chain is positive recurrent if and only if its embedded discrete time chain is positive recurrent. (b) A continuous time Markov chain is recurrent if and only if its embedded discrete time chain is recurrent.

Solution: True. (c) Suppose a continuous time Markov chain with Q matrix Q = (q(i, j)) satifies 1 λ i = q(i, i) 2. Then it is positive recurrent if and only if its embedded discrete time chain is positive recurrent. Solution: True. (d) If M n is a martingale and τ is a stopping time, then EM τ = EM 0. (e) If P x (τ x < ) = 1, then Eτ x <. (f) In an inhomogeneous Poisson process, the time of the first arrival is exponentially distributed. 7. Consider the continuous time Markov chain with state space S = {1, 2, 3, 4, 5} and the following Q matrix: (a) What is the expected time spent at state 1 each time the chain visits state 1? Solution: Since the holding time at state 1 has rate 6, the expected time spent at each visit is 1 6. (b) Find the stationary distribution of the chain. Solution: The detailed balance condition is π(1)2 = π(2)1, π(3)2 = π(2)3, π(4)1 = π(1)4, π(5)2 = π(2)5, π(4)3 = π(3)4, π(5)4 = π(4)5. This is satisfied by π(i) = i. Normalizing gives π(i) = i 15. (c) Does the stationary distribution satisfy the detailed balance condition? Explain. Solution: Yes; see above.

(d) What is the long time proportion of time the chain spends in {1, 2}? Solution: π(1) + π(2) = 1 5. 8. Consider the discrete time random walk on the following graph at each time, the chain moves to a neighbor chosen at random. (a) Find E 5 τ 1. Solution: Let f(k) = E k τ 1. By symmetry, f(2) = f(4) and f(3) = f(6). Let x = f(2) = f(4), y = f(3) = f(6) and z = f(5). Then z = 1 + 1 2 (x + y), y = 1 + 1 2 (x + z), x = 1 + 1 (y + z). 4 Solving gives x = 8 and y = z = 10. (b) Find P 5 (τ 1 < τ 3 ). Solution: Let g(k) = P k (τ 1 < τ 3 ). Then g(1) = 1, g(3) = 0, and by symmetry, g(2) = g(6) = 1 and g(4) + g(5) = 1. Using this information, 2 g(5) = 1 + 1g(4) and g(4) = 1 + 1g(5). Solving gives g(4) = 3 and g(5) = 2. 4 4 2 4 5 5 9. Suppose N(A), A R 2 is a two-dimensional spatial Poisson process of rate 1. Let f(x) be a positive continuous function on R 1, and define M(t) = N({(x, y) R 2 : 0 x t and y f(x)}). (a) What is the distribution of M(1)? Solution: Poisson with parameter 2 1 0 f(x)dx.

(b) What is the distribution of τ = min{t 0 : M(t) 1}? Solution: P(τ > u) = P(M(u) = 0) = e 2 R u 0 f(x)dx, so τ has density 2f(u)e 2 R u 0 f(x)dx. 10. Jobs arrive at a single server queue according to a Poisson process of rate λ. The time it takes the server to handle each is exponentially distributed with parameter µ. Let X t be the number of jobs in the system (either being handled or waiting for service) at time t. (a) Find the Q matrix for this chain. Solution: q(n, n + 1) = λ, q(n, n 1) = µ, q(n, n) = (λ + µ) for n 1 and q(0, 1) = λ, q(0, 0) = λ. (b) Find conditions on λ and µ for the chain to be positive recurrent, and compute the stationary distribution in that case. Solution: The detailed balance equations are π(n)λ = π(n + 1)µ for n 0. Solving gives π(n) = π(0)(λ/µ) n. So, the chain is positive recurrent iff λ < µ, and then π(n) = µ λ µ ( ) n λ. µ (c) What proportion of the time is the system empty? Solution: π(0) = µ λ µ. 11. Let X n be an asymmetric random walk on the integers, with p(k, k + 1) = p, p(k, k 1) = q = 1 p, (p > q). (a) Find a positive number θ 1 for which θ Xn is a martingale. Solution: E(θ X n+1 F n ) = θ Xn (θp+θ 1 q). So, the value of θ that makes this a martingale is θ = q/p.

(b) Use the martingale in part (a) to compute P k (τ N < τ 0 ) for 0 < k < N. Solution: Let τ = min(τ 0, τ N ). Then θ k = E k θ Xτ = θ N P k (τ N < τ 0 ) + 1 P k (τ N < τ 0 ). Solving gives P k (τ N < τ 0 ) = 1 θk 1 θ N = pn k pk q k p N q N.