Alex is taking a bioinformatics class and in each week he can be either up-to-date or he may have fallen behind. If he is up-to-date in a given week, the probability that he will be up-to-date in the next week is 0.75. If he is behind in the given week, the probability that he will be up-to-date in the next week is 0.5.
If we assume that these probabilities do not depend on whether he was up-to-date or behind in previous weeks, we can model the problem using a Markov chain.
Draw a Markov chain that models the states of being Up-to-date or behind
Assume Alex is up-to-date in the first class; what is the probability that he is up-to-date two classes later?
\[\begin{align} \pi(0) &: initial\ probabilities\\ P&: transition\ matrix\\ \pi(t) &= \pi(0) * P^{t} \end{align}\]
The Probability is 0.6875
\[\begin{align} \pi(0) &= \begin{pmatrix} 1 & 0 \end{pmatrix}\\ \\ P &= \begin{pmatrix} 0.75 & 0.25\\ 0.5 & 0.5 \end{pmatrix}\\ \\ \pi(2) &= \pi(0) \times P^{2}\\ &= \begin{pmatrix} 0.6875 & 0.3125 \end{pmatrix} \end{align}\]
What is the expected probability that he is behind after an infinitely long semester?
\[\begin{align} \pi(0) &: initial\ probabilities\\ P&: transition\ matrix\\ \lim \limits_{t \to \infty} \pi(t) &= \pi(0) * P^{t} \end{align}\]
The Probability is 1/3
\[ \lim \limits_{t \to \infty} \pi(t) = \pi(0) * P^{t} = \begin{pmatrix} 2/3 & 1/3 \end{pmatrix} \]
What is the transition probability matrix product for limit of \(P^{t}\) as \(t\) approaches infinity?
\[\begin{align} \lim \limits_{t \to \infty} P^t &= \begin{pmatrix} 2/3 & 1/3 \\ 2/3 & 1/3 \end{pmatrix} \end{align}\]
Consider a three-state Markov chain having the following transition probability matrix:
\[ \begin{pmatrix} 0.5 & 0.4 & 0.1\\ 0.3 & 0.4 & 0.3\\ 0.2 & 0.3 & 0.5 \end{pmatrix} \]
In the long run, what proportion of time is the process in each of the three states?
See Question 1B
\[\begin{align} \lim \limits_{t \to \infty} P^t &= \begin{pmatrix} 0.339 & 0.371 & 0.290\\ 0.339 & 0.371 & 0.290\\ 0.339 & 0.371 & 0.290 \end{pmatrix}\\ \\ \lim \limits_{t \to \infty} \pi(t) &= \ \begin{pmatrix} 0.339 & 0.371 & 0.290 \end{pmatrix} \end{align}\]rix} \end{align}
Consider a three-state Markov chain having the following transition probability matrix
\[ \begin{pmatrix} 0 & 1 & 0 \\ \dfrac{1}{3} & 0 & \dfrac{2}{3}\\ 0 & 1 & 0 \end{pmatrix} \]
Draw the Markov chain for this problem
Given the stationary distribution \(\begin{pmatrix} \dfrac{1}{6} & \dfrac{1}{2} & \dfrac{1}{3} \end{pmatrix}\), is this Markov chain reversible and what does this property tell you?
A markov chain is reversible if:
\[ \pi_i^{*}P_{i,j} = \pi_j^{*}P_{j,i} \]
Easiest way is to calculate it for all pairs of \(i\) and \(j\)
Because \(\pi_i^{*}P_{i,j} = \pi_j^{*}P_{j,i}\ \forall\ i,j\) the Markov chain is reversible
\[\begin{align} \pi^{ * }_1 P_{1,2} &=& \dfrac{1}{6} \times 1 &=& \dfrac{1}{6} &=& \dfrac{1}{2} \times \dfrac{1}{3} &=& \pi^{ * }_2 P_{2,1}\\ \pi^{ * }_1 P_{1,3} &=& \dfrac{1}{6} \times 0 &=& 0 &=& \dfrac{1}{3} \times 0 &=& \pi^{ * }_3 P_{3,1}\\ \pi^{ * }_2 P_{2,3} &=& \dfrac{1}{2} \times \dfrac{2}{3} &=& \dfrac{1}{3} &=& \dfrac{1}{3} \times 1 &=& \pi^{ * }_3 P_{3,2} \end{align}\]
Decide which of the following figures represents a valid Markov Chain
Which of these statements about Markov Chains are valid?