Originally Posted by

**AM1406** Hi,

I need some help with Markov chain where I have to simulate (predict) the weather given the following information:

a) The states are Rain, Nice, Snow

b) The transition matrix P is -->

Rain Nice Snow

Rain 0.5 0.25 0.25

Nice 0.5 0 0.5

Snow 0.25 0.25 0.5

c) At P6 steady state is reached which is (0.4 0.2 0.4)

d) Let the initial probability vector be (1/3 1/3 1/3) or if it is easier lets say the its a rainy day today so the initial probability vector becomes (1 0 0)

e) Now given this information, how do I predict the weather for the next 100 days? Can someone explain how to go about doing this step by step.

Thanks in advance