Based on observation, I've gathered some data:
Day 1 2 3 4 5 6 7 8 9 10
S R S F S R F F R S
(S) = Sunny
(R) = Rainy
(F) = Foggy
How do I construct this into a transition matrix, for markov chain ?
S R F
S[? ? ?]
R[? ? ?]
F[? ? ?]
Thanks
There are $9$ transitions. To fill in the appropriate entries, count the number of relevant transitions.
So for the entry in row S, column S, count the number of two consecutive days where you have S,S.
For row S, column R, coin the number of two consecutive days where you have S then R.
For row S, column F, coin the number of two consecutive days where you have S then F.
Once you have evaluated the number of transitions for all $9$ entries, divide each row by the total number of entries in that row.
I have filled in part of the matrix below:-
Can you complete the transition matrix?