Stochastic Processes · free preview
Chapter 5 Problem Set. Continuous-Time Markov Chains
Problem set for this chapter. Continuous-Time Markov Chains.
1. How this assessment works
This lesson is a curated assessment adapted from MIT OpenCourseWare 6.262 Discrete Stochastic Processes (Spring 2011) (https://ocw.mit.edu/courses/6-262-discrete-stochastic-processes-spring-2011/), used under CC BY-NC-SA 4.0. Work through the 10 problems in order, for each problem, type your reasoning in the answer box or write it on the handwriting pad, then submit it for AI grading.
How the grading works Every problem is graded by an AI mathematics teacher that reads the official solution shipped with the course. It checks your work criterion by criterion, awards partial credit for correct steps, and returns written feedback. Equivalent mathematics and valid alternative methods are accepted, a different route to the same result can still earn full marks.
If your answer is incomplete, the feedback names exactly which steps are missing, so you can correct them and try again.
2. Problem 1, Mean and variance of passed dogs
If he starts out with exactly cans, determine the expected value and variance of , the number of homes with dogs which he passes up (because of no answer) before he needs a new supply.
3. Problem 2, Recursions for reward mean and variance
Consider a Markov chain on the state space , and suppose that whenever the state is , a reward is obtained. Let be the total reward obtained over the time interval , that is, . For every state , let
and
respectively be the conditional mean and conditional variance of , conditioned on the initial state being .
(a) Find a recursion that, given the values of , allows the computation of .
(b) Find a recursion that, given the values of and , allows the computation of . Hint. Use the law of total variance.
4. Problem 3, MAP and conditional expectation estimation of Poisson parameter
Caleb builds a particle detector and uses it to measure radiation from far stars. On any given day, the number of particles that hit the detector is conditionally distributed according to a Poisson distribution conditioned on parameter . The parameter is unknown and is modeled as the value of a random variable , exponentially distributed with parameter as follows.
Then, the conditional PDF of the number of particles hitting the detector is,
(a) Find the MAP estimate of from the observed particle count .
(b) Our goal is to find the conditional expectation estimator for from the observed particle count .
i. Show that the posterior probability distribution for given is of the form
and find the parameter . You may find the following equality useful (it is obviously true if the equation above describes a true PDF).
ii. Find the conditional expectation estimate of from the observed particle count . Hint, you might want to express in terms of .
(c) Compare the two estimators you constructed in part (a) and part (b).
5. Problem 4, Probability Stephen's commute no longer than Jon's
What is the probability that Stephen's commute takes at most as long as Jon's commute?
6. Problem 5, Expected matches in hat problem
Consider the following variant of the hat problem people put their hats in a closet at the start of a party, where each hat is uniquely identified. At the end of the party each person randomly selects a hat from the closet. Suppose is a Poisson random variable with parameter . If is the number of people who pick their own hats, then is equal to \\ (i) \\ (ii) \\ (iii) \\ (iv)
7. Problem 6, Ergodic Markov Chain Reward and Renewal Limits
a) Suppose that an ergodic Markov chain with states is started at time 0 in steady state, with probabilities . Consider a reward process in which unit reward occurs on each entry (at positive integer times) to state 1 and 0 reward occurs otherwise. Find for positive integers where is the accumulated reward up to and including time . Hint. Reason directly from first principles, no need for Section 3.5.
Let be the renewal process where a renewal occurs at each entry to state 1 and where . Argue why
(no need for rigor here).
b) Find the expected inter-renewal time between successive entries to state 1. Hint. Use the strong law for renewals.
8. Problem 7, Markov chains for M/M queues
You need not show your work here.
a) Draw the Markov chain diagrams for M/M/1, M/M/m, and M/M/\infty queues and determine their steady-state probabilities.
b) Determine the conditions for transience, null recurrence, and positive recurrence for each queue.
c) Assume positive recurrence and find the expected number of customers , the expected queue length , the expected waiting time , and the expected queueing delay for each queue.
9. Problem 8, Markov process discouraged arrivals steady state
Consider the Markov process illustrated below. The transitions are labelled by the rate at which those transitions occur. The process can be viewed as a single server queue where arrivals become increasingly discouraged as the queue lengthens. The word time-average below refers to the limiting time-average over each sample-path of the process, except for a set of sample paths of probability 0.
Part a) Find the time-average fraction of time spent in each state in terms of and then solve for . Hint. First find an equation relating to for each . It also may help to recall the power series expansion of .
Part b) Find a closed form solution to where is the departure rate from state . Show that the process is positive recurrent for all choices of and and explain intuitively why this must be so.
Part c) For the embedded Markov chain corresponding to this process, find the steady state probabilities for each and the transition probabilities for each .
Part d) For each , find both the time-average interval and the time-average number of overall state transitions between successive visits to .
10. Problem 9, Bookie shop steady state turn away rate
A small bookie shop has room for at most two customers. Potential customers arrive at a Poisson rate of 10 customers per hour; They enter if there is room and are turned away, never to return, otherwise. The bookie serves the admitted customers in order, requiring an exponentially distributed time of mean 4 minutes per customer.
Part a) Find the steady state distribution of the number of customers in the shop.
Part b) Find the rate at which potential customers are turned away.
Part c) Suppose the bookie hires an assistant; the bookie and assistant, working together, now serve each customer in an exponentially distributed time of mean 2 minutes, but there is only room for one customer (i.e., the customer being served) in the shop. Find the new rate at which customers are turned away.
11. Problem 10, Job sharing computer system steady state PMF
Consider the job sharing computer system illustrated below. Incoming jobs arrive from the left in a Poisson stream. Each job, independently of other jobs, requires pre-processing in system 1 with probability . Jobs in system 1 are served FCFS and the service times for successive jobs entering system 1 are IID with an exponential distribution of mean . The jobs entering system 2 are also served FCFS and successive service times are IID with an exponential distribution of mean . The service times in the two systems are independent of each other and of the arrival times. Assume that and that . Assume that the combined system is in steady state.
Part a) Is the input to system 1 Poisson? Explain.
Part b) Are each of the two input processes coming into system 2 Poisson?
Part d) Give the joint steady-state PMF of the number of jobs in the two systems. Explain briefly.
Part e) What is the probability that the first job to leave system 1 after time is the same as the first job that entered the entire system after time ?
Part f) What is the probability that the first job to leave system 2 after time both passed through system 1 and arrived at system 1 after time ?
Practice this interactively
Free account · instant grading · spaced review that schedules itself.
Start this course for free