Sample Solution

mmt-008-solved-assignment-2024-ss-8e24e610-06c9-4b43-84f6-a5bf6ef5ab5c

mmt-008-solved-assignment-2024-ss-8e24e610-06c9-4b43-84f6-a5bf6ef5ab5c

MMT-008 Solved Assignment 2024
  1. a) Consider the Markov chain having the following transition probability matrix.
p = [ 1 2 3 4 5 6 1 3 2 3 0 0 0 0 2 3 1 3 0 0 0 0 1 4 0 1 4 0 1 4 1 4 1 6 1 6 1 6 1 6 1 6 1 6 0 0 1 4 3 4 0 0 0 0 1 5 4 5 0 0 ] p = 1 2 3 4 5 6 1 3 2 3 0 0 0 0 2 3 1 3 0 0 0 0 1 4 0 1 4 0 1 4 1 4 1 6 1 6 1 6 1 6 1 6 1 6 0 0 1 4 3 4 0 0 0 0 1 5 4 5 0 0 p=[[1,2,3,4,5,6],[(1)/(3),(2)/(3),0,0,0,0],[(2)/(3),(1)/(3),0,0,0,0],[(1)/(4),0,(1)/(4),0,(1)/(4),(1)/(4)],[(1)/(6),(1)/(6),(1)/(6),(1)/(6),(1)/(6),(1)/(6)],[0,0,(1)/(4),(3)/(4),0,0],[0,0,(1)/(5),(4)/(5),0,0]]\mathrm{p}=\left[\begin{array}{cccccc} 1 & 2 & 3 & 4 & 5 & 6 \\ \frac{1}{3} & \frac{2}{3} & 0 & 0 & 0 & 0 \\ \frac{2}{3} & \frac{1}{3} & 0 & 0 & 0 & 0 \\ \frac{1}{4} & 0 & \frac{1}{4} & 0 & \frac{1}{4} & \frac{1}{4} \\ \frac{1}{6} & \frac{1}{6} & \frac{1}{6} & \frac{1}{6} & \frac{1}{6} & \frac{1}{6} \\ 0 & 0 & \frac{1}{4} & \frac{3}{4} & 0 & 0 \\ 0 & 0 & \frac{1}{5} & \frac{4}{5} & 0 & 0 \end{array}\right]p=[123456132300002313000014014014141616161616160014340000154500]
i) Draw the diagram of a Markov chain.
ii) Classify the states of a Markov chain, i.e., persistent, transient, non-null and a periodic state. Also check the irreducibility of Markov chain.
iii) Find the closed sets.
iv) Find the probability of absorption to the closed classes. Also find the mean time up to absorption from transient state 3 to 4 .
Answer:
i) Diagram of the Markov Chain:
To draw the diagram of the Markov chain, we represent each state as a node and draw directed edges between nodes with the corresponding transition probabilities as labels. Here’s the diagram:
Here’s the diagram of the Markov chain with states labeled as 1 to 6:
        +--------+     +--------+     +--------+     +--------+     +--------+     +--------+
        |  1     | ----> |  2     | ----> |  3     | ----> |  4     | ----> |  5     | ----> |  6     |
        +--+-----+     +--+-----+     +--+-----+     +--+-----+     +--+-----+     +--+-----+
           |       \     |       \     |       \     |       \     |       \     |       \
           | 1/3     | ----> | 2/3     | ----> (0)     | ----> (0)     | ----> (0)     | ----> (0)
           |       /     |       /     |       /     |       /     |       /     |       /
        +--------+     +--+-----+     +--+-----+     +--+-----+     +--+-----+     +--+-----+
           |               |       \     |       \     |       \     |       \     |       \
           |       \        | 1/4     | ----> | 1/4     | ----> | 1/4     | ----> | 1/4     |
           |        -----> |       /     |       /     |       /     |       /     |       /
        +--------+     +--+-----+     +--+-----+     +--+-----+     +--+-----+     +--+-----+
                                                |                |               |
                 (1/6)                          | (1/6)          | (1/6)          | (1/6)

           +--------+     +--------+
           |  6     | ---- |  4     |
           +--+-----+     +--+-----+
              |               |
              | (3/4)         |
              |               |
           +--------+     +--------+
Explanation:
  • Each circle represents a state (1 to 6).
  • Arrows show the possible transitions between states.
  • The number on each arrow represents the probability of that transition.
  • States 3, 5, and 6 are absorbing states as they have no outgoing arrows.
  • States 1, 2, and 4 are transient states as they can leave and enter again.
ii) Classification of the States of the Markov Chain:
  • Persistent States: These are states that, once entered, the process has a nonzero probability of staying in forever. In this chain, there are no persistent states.
  • Transient States: These are states that, once left, the process has a zero probability of returning to. In this chain, states 1, 2, 3, and 4 are transient states.
  • Null States: These are states that do not lead to any other state. In this chain, there are no null states.
  • Periodic States: A state is periodic if the process can return to it only at multiples of some integer greater than 1. In this chain, there are no periodic states, as all states can potentially be returned to at any time.
  • Irreducibility: A Markov chain is irreducible if it is possible to get from any state to any other state. This chain is not irreducible because there are states that cannot be reached from other states (e.g., there is no path from state 1 to state 6).
iii) Closed Sets:
A closed set in a Markov chain is a set of states such that once the process enters any state in the set, it cannot leave the set. In this chain, the closed sets are:
  • {5, 6}
iv) Probability of Absorption to the Closed Classes:
The probability of absorption to a closed class is the probability that the process will eventually end up in that class starting from a transient state. To find these probabilities, we usually set up and solve a system of linear equations based on the transition probabilities. However, in this case, it’s straightforward to see:
  • From state 3, the probability of absorption to the closed class {5, 6} is 1, as there is a direct transition to state 5 with probability 1/6.
  • From state 4, the probability of absorption to the closed class {5, 6} is also 1, as there is a direct transition to state 5 with probability 1/4.
Mean Time Up to Absorption from Transient State 3 to 4:
The mean time up to absorption is the expected number of steps it takes to reach an absorbing state from a given transient state. To find this, we can use the fundamental matrix method, which involves inverting a matrix derived from the transition probabilities. However, in this simple case, we can observe:
  • From state 3, the process moves to state 5 with probability 1/6 in one step, so the mean time to absorption is 1.
  • From state 4, the process moves to state 5 with probability 1/4 in one step, so the mean time to absorption is also 1.
In conclusion, the Markov chain has transient states 1, 2, 3, and 4, with closed set {5, 6}. The probability of absorption to the closed class {5, 6} is 1 for states 3 and 4, and the mean time to absorption from states 3 and 4 is 1 step.
b) Determine the parameters of the bivariate normal distribution:
f ( x , y ) = k exp [ 8 27 { ( x 7 ) 2 2 ( x 7 ) ( y + 5 ) + 4 ( y + 5 ) 2 } ] f ( x , y ) = k exp 8 27 ( x 7 ) 2 2 ( x 7 ) ( y + 5 ) + 4 ( y + 5 ) 2 f(x,y)=k exp[-(8)/(27){(x-7)^(2)-2(x-7)(y+5)+4(y+5)^(2)}]f(x, y)=k \exp \left[-\frac{8}{27}\left\{(x-7)^2-2(x-7)(y+5)+4(y+5)^2\right\}\right]f(x,y)=kexp[827{(x7)22(x7)(y+5)+4(y+5)2}]
Also find the value of k k k\mathrm{k}k.
Answer:
The given bivariate normal distribution function is:
f ( x , y ) = k exp [ 8 27 { ( x 7 ) 2 2 ( x 7 ) ( y + 5 ) + 4 ( y + 5 ) 2 } ] f ( x , y ) = k exp 8 27 ( x 7 ) 2 2 ( x 7 ) ( y + 5 ) + 4 ( y + 5 ) 2 f(x,y)=k exp[-(8)/(27){(x-7)^(2)-2(x-7)(y+5)+4(y+5)^(2)}]f(x, y) = k \exp \left[-\frac{8}{27}\left\{(x-7)^2 – 2(x-7)(y+5) + 4(y+5)^2\right\}\right]f(x,y)=kexp[827{(x7)22(x7)(y+5)+4(y+5)2}]
This can be written in the standard form of a bivariate normal distribution as:
f ( x , y ) = 1 2 π σ x σ y 1 ρ 2 exp [ 1 2 ( 1 ρ 2 ) ( ( x μ x ) 2 σ x 2 2 ρ ( x μ x ) ( y μ y ) σ x σ y + ( y μ y ) 2 σ y 2 ) ] f ( x , y ) = 1 2 π σ x σ y 1 ρ 2 exp 1 2 ( 1 ρ 2 ) ( x μ x ) 2 σ x 2 2 ρ ( x μ x ) ( y μ y ) σ x σ y + ( y μ y ) 2 σ y 2 f(x,y)=(1)/(2pisigma _(x)sigma _(y)sqrt(1-rho^(2)))exp[-(1)/(2(1-rho^(2)))(((x-mu _(x))^(2))/(sigma_(x)^(2))-2rho((x-mu _(x))(y-mu _(y)))/(sigma _(x)sigma _(y))+((y-mu _(y))^(2))/(sigma_(y)^(2)))]f(x, y) = \frac{1}{2\pi\sigma_x\sigma_y\sqrt{1-\rho^2}} \exp \left[ -\frac{1}{2(1-\rho^2)}\left( \frac{(x-\mu_x)^2}{\sigma_x^2} – 2\rho\frac{(x-\mu_x)(y-\mu_y)}{\sigma_x\sigma_y} + \frac{(y-\mu_y)^2}{\sigma_y^2} \right) \right]f(x,y)=12πσxσy1ρ2exp[12(1ρ2)((xμx)2σx22ρ(xμx)(yμy)σxσy+(yμy)2σy2)]
By comparing the given function with the standard form, we can identify the parameters of the bivariate normal distribution:
  1. Mean of x x xxx ( μ x μ x mu _(x)\mu_xμx): 7
  2. Mean of y y yyy ( μ y μ y mu _(y)\mu_yμy): -5
  3. Variance of x x xxx ( σ x 2 σ x 2 sigma_(x)^(2)\sigma_x^2σx2): The coefficient of ( x 7 ) 2 ( x 7 ) 2 (x-7)^(2)(x-7)^2(x7)2 is 8 27 8 27 (8)/(27)\frac{8}{27}827, so σ x 2 = 27 2 × 8 27 = 27 16 σ x 2 = 27 2 × 8 27 = 27 16 sigma_(x)^(2)=(27)/(2xx(8)/(27))=(27)/(16)\sigma_x^2 = \frac{27}{2 \times \frac{8}{27}} = \frac{27}{16}σx2=272×827=2716, and σ x = 27 16 = 3 3 4 σ x = 27 16 = 3 3 4 sigma _(x)=sqrt((27)/(16))=(3sqrt3)/(4)\sigma_x = \sqrt{\frac{27}{16}} = \frac{3\sqrt{3}}{4}σx=2716=334.
  4. Variance of y y yyy ( σ y 2 σ y 2 sigma_(y)^(2)\sigma_y^2σy2): The coefficient of ( y + 5 ) 2 ( y + 5 ) 2 (y+5)^(2)(y+5)^2(y+5)2 is 32 27 32 27 (32)/(27)\frac{32}{27}3227, so σ y 2 = 27 2 × 32 27 = 27 64 σ y 2 = 27 2 × 32 27 = 27 64 sigma_(y)^(2)=(27)/(2xx(32)/(27))=(27)/(64)\sigma_y^2 = \frac{27}{2 \times \frac{32}{27}} = \frac{27}{64}σy2=272×3227=2764, and σ y = 27 64 = 3 3 8 σ y = 27 64 = 3 3 8 sigma _(y)=sqrt((27)/(64))=(3sqrt3)/(8)\sigma_y = \sqrt{\frac{27}{64}} = \frac{3\sqrt{3}}{8}σy=2764=338.
  5. Correlation coefficient ( ρ ρ rho\rhoρ): The coefficient of ( x 7 ) ( y + 5 ) ( x 7 ) ( y + 5 ) (x-7)(y+5)(x-7)(y+5)(x7)(y+5) is 16 27 16 27 -(16)/(27)-\frac{16}{27}1627, so ρ = 16 27 2 × 3 3 4 × 3 3 8 = 1 2 ρ = 16 27 2 × 3 3 4 × 3 3 8 = 1 2 rho=(-(16)/(27))/(2xx(3sqrt3)/(4)xx(3sqrt3)/(8))=-(1)/(2)\rho = \frac{-\frac{16}{27}}{2 \times \frac{3\sqrt{3}}{4} \times \frac{3\sqrt{3}}{8}} = -\frac{1}{2}ρ=16272×334×338=12.
To find the value of k k kkk, we use the fact that the integral of the bivariate normal distribution function over the entire plane is 1:
f ( x , y ) d x d y = 1 f ( x , y ) d x d y = 1 ∬_(-oo)^(oo)f(x,y)dxdy=1\iint_{-\infty}^{\infty} f(x, y) \,dx\,dy = 1f(x,y)dxdy=1
k exp [ 8 27 { ( x 7 ) 2 2 ( x 7 ) ( y + 5 ) + 4 ( y + 5 ) 2 } ] d x d y = 1 k exp 8 27 ( x 7 ) 2 2 ( x 7 ) ( y + 5 ) + 4 ( y + 5 ) 2 d x d y = 1 k∬_(-oo)^(oo)exp[-(8)/(27){(x-7)^(2)-2(x-7)(y+5)+4(y+5)^(2)}]dxdy=1k \iint_{-\infty}^{\infty} \exp \left[-\frac{8}{27}\left\{(x-7)^2 – 2(x-7)(y+5) + 4(y+5)^2\right\}\right] \,dx\,dy = 1kexp[827{(x7)22(x7)(y+5)+4(y+5)2}]dxdy=1
Since the integral of the exponential part is the same as the integral of the standard bivariate normal distribution, which is 2 π σ x σ y 1 ρ 2 2 π σ x σ y 1 ρ 2 2pisigma _(x)sigma _(y)sqrt(1-rho^(2))2\pi\sigma_x\sigma_y\sqrt{1-\rho^2}2πσxσy1ρ2, we have:
k × 2 π × 3 3 4 × 3 3 8 × 1 ( 1 2 ) 2 = 1 k × 2 π × 3 3 4 × 3 3 8 × 1 1 2 2 = 1 k xx2pi xx(3sqrt3)/(4)xx(3sqrt3)/(8)xxsqrt(1-(-(1)/(2))^(2))=1k \times 2\pi \times \frac{3\sqrt{3}}{4} \times \frac{3\sqrt{3}}{8} \times \sqrt{1-\left(-\frac{1}{2}\right)^2} = 1k×2π×334×338×1(12)2=1
k × 2 π × 27 32 × 3 4 = 1 k × 2 π × 27 32 × 3 4 = 1 k xx2pi xx(27)/(32)xxsqrt((3)/(4))=1k \times 2\pi \times \frac{27}{32} \times \sqrt{\frac{3}{4}} = 1k×2π×2732×34=1
k = 32 27 π 3 k = 32 27 π 3 k=(32)/(27 pisqrt3)k = \frac{32}{27\pi\sqrt{3}}k=3227π3
So, the parameters of the bivariate normal distribution are:
  • μ x = 7 μ x = 7 mu _(x)=7\mu_x = 7μx=7
  • μ y = 5 μ y = 5 mu _(y)=-5\mu_y = -5μy=5
  • σ x = 3 3 4 σ x = 3 3 4 sigma _(x)=(3sqrt3)/(4)\sigma_x = \frac{3\sqrt{3}}{4}σx=334
  • σ y = 3 3 8 σ y = 3 3 8 sigma _(y)=(3sqrt3)/(8)\sigma_y = \frac{3\sqrt{3}}{8}σy=338
  • ρ = 1 2 ρ = 1 2 rho=-(1)/(2)\rho = -\frac{1}{2}ρ=12
  • k = 32 27 π 3 k = 32 27 π 3 k=(32)/(27 pisqrt3)k = \frac{32}{27\pi\sqrt{3}}k=3227π3
Verified Answer
5/5
Scroll to Top
Scroll to Top