Answer to Question #128533 in Statistics and Probability for Tahreem

Question #128533
A car rental agency has three rental locations, denoted by 1, 2, and 3. A customer may rent a car from any of the three locations and return the car to any of the three locations. The manager finds that customers return the cars to the various locations according to the following probabilities [{0.8, 0.3, 0.2}, {0.1, 0.2, 0.6}, {0.1, 0.5, 0.2}] If a car is rented initially from location 2, then the initial state vector is x = {0, 1, 0}. Calculate x (1) , x (2) , and x (3) to three decimal places
1
Expert's answer
2020-08-06T16:38:23-0400

The solution to the problem is to calculate the state vector of the transition matrix of the Markov chain.

Simulate this problem using the following matrix:

T = "\\begin{bmatrix}\n 0.8 & 0.3&0.2 \\\\\n 0.1&0.2&0.6\\\\\n 0.1&0.5&0.2\\\\\n\n\\end{bmatrix}"


where initial state vector is X0 = [0, 1, 0]

If Xn+1 and Xn are two consecutive state vectors of a Markov chain with transition matrix T, then Xn+1=T Xn

calculate X1:

X1 = X0*T =[0.8*0+0.3*1+0.2*0, 0.1*0+0.2*1+0.6*0, 0.1*0+0.5*1+0.2*0] =[0.3,0.2,0.5]

X1 = [0.3,0.2,0.5]

calculate X2 to three decimal places:

X2 =X1*T = [0.8*0.3+0.3*0.2+0.2*0.2, 0.1*0.3+0.2*0.2+0.6*0.5, 0.1*0.3+0.5*0.2+0.2*0.5] =

[0.4 , 0.37, 0.23]

X2 = [0.4 , 0.37, 0.23]

calculate X3 to three decimal places:

X3 =X2*T = [0.8*0.4+0.3*0.37+0.2*0.23, 0.1*0.4+0.2*0.37+0.6*0.23 0.1*0.4+0.5*0.37+0.2*0.23] =

[0.477, 0.252, 0.271]

X3 = [0.477, 0.252, 0.271]




Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS