Introduction to Probability · free preview
Chapter 11 Problem Set. Markov Chains
Problem set for this chapter. Markov Chains.
1. How this assessment works
This lesson is a curated assessment adapted from MIT OpenCourseWare 6.041SC Probabilistic Systems Analysis and Applied Probability (Fall 2013), supplemented by a university mathematics question bank (https://ocw.mit.edu/courses/6-041sc-probabilistic-systems-analysis-and-applied-probability-fall-2013/), used under CC BY-NC-SA 4.0 for the MIT items. 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, Oscar's running shoes Markov chain
Oscar goes for a run each morning. When he leaves his house for his run, he is equally likely to go out either the front or back door; and similarly, when he returns, he is equally likely to go to either the front or back door. Oscar owns only five pairs of running shoes which he takes off immediately after the run at whichever door he happens to be. If there are no shoes at the door from which he leaves to go running, he runs barefooted. We are interested in determining the long-term proportion of time that he runs barefooted. (a) Set the scenario up as a Markov chain, specifying the states and transition probabilities. (b) Determine the long-run proportion of time Oscar runs barefooted.
3. Problem 2, Absolute value of random walk Markov property
Consider a Markov chain modeling a symmetric simple random walk with barriers, as shown below (reflecting boundaries at and , with transition probabilities to neighboring states and at the absorbing boundary condition). Explain why also satisfies the Markov property and draw the associated chain.
4. Problem 3, Largest deviation Markov chain Markov property
Suppose that we also wish to keep track of the largest deviation from the origin, i.e., define the largest deviation at time as . Draw a Markov chain that keeps track of the largest deviation and explain why it satisfies the Markov property.
5. Problem 4, SIS and SIR flu epidemic Markov models
As flu season is upon us, we wish to have a Markov chain that models the spread of a flu virus. Assume a population of individuals. At the beginning of each day, each individual is either infected or susceptible (capable of contracting the flu). Suppose that each pair , , independently comes into contact with one another during the daytime with probability . Whenever an infected individual comes into contact with a susceptible individual, he/she infects him/her. In addition, assume that overnight, any individual who has been infected for at least 24 hours will recover with probability and return to being susceptible, independently of everything else (i.e., assume that a newly infected individual will spend at least one restless night battling the flu).
(a) Suppose that there are infected individuals at daybreak. What is the distribution of the number of new infections by day end?
(b) Draw a Markov chain with as few states as possible to model the spread of the flu for . In epidemiology, this is called an SIS (Susceptible-Infected-Susceptible) model.
(c) Identify all recurrent states.
Due to the nature of the flu virus, individuals almost always develop immunity after contracting the virus. Consequently, we improve our model and assume that individuals become infected at most one time. Thus, we consider individuals as either infected, susceptible, or recovered.
(d) Draw a Markov chain to model the spread of the flu for . In epidemiology, this is called an SIR (Susceptible-Infected-Recovered) model.
(e) Identify all recurrent states.
6. Problem 5, Markov chain variance expectation steady-state probabilities
Consider the Markov chain below. For all parts of this problem, the process is in state 3 immediately before the first transition. Be sure to comment on any unusual results.
(partial transition probabilities , , , ; details in figure.)
(a) Find the variance for , the number of transitions up to and including the transition on which the process leaves state 3 for the last time.
(b) Find the expectation for , the number of transitions up to and including the transition on which the process enters state 4 for the first time.
(c) Find for , the probability that the process is in state after transitions.
(d) Given that the process never enters state 4, find the 's as defined in part (c).
7. Problem 6, 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.
8. Problem 7, Expected tosses for patterns HT and TT
Assume that a fair coin is tossed repeatedly, with the tosses being independent. We want to determine the expected number of tosses necessary to first observe a head directly followed by a tail. To do so, we define a Markov chain with states , , , , where is a starting state, indicates a head on the current toss, indicates a tail on the current toss (without heads on the previous toss), and indicates heads followed by tails over the last two tosses.
(a) What is the expected number of tosses necessary to first observe a head directly followed by tails?
(b) Assuming we have just observed a head followed by a tail, what is the expected number of additional tosses until we again observe a head followed directly by a tail?
Next, we want to answer the same questions for the event tails directly followed by tails. Set up a different Markov chain from which we could calculate the expected number of tosses necessary to first observe tails directly followed by tails.
(c) What is the expected number of tosses necessary to first observe a tail directly followed by a tail?
(d) Assuming we have just observed a tail followed by a tail, what is the expected number of additional tosses until we again observe a tail followed directly by a tail? Note that the number of additional tosses could be as little as one, if tails were to come up again.
9. Problem 8, Markov chain two-step transition probability
Part 1. (4 points) Given that the chain starts with , find the probability that . In case you did not do part (b) correctly, in all subsequent parts of this problem you can just use the symbols , you do not need to plug in actual numbers.
10. Problem 9, Independent binomial and Poisson variables
Let random variables and be independent, where follows the binomial distribution , and follows the Poisson distribution . Then the probability .
11. Problem 10, Type of E[E[X|Y,N]|N]
Let and be continuous random variables and a discrete random variable. The quantity is always, (i) A number. (ii) A discrete random variable. (iii) A continuous random variable. (iv) Not enough information to choose between (i)-(iii).
Practice this interactively
Free account · instant grading · spaced review that schedules itself.
Start this course for free