Slide 12
Slide 12 text
Markov Models
Markov Chains
Hidden Markov Models
Sample Markov Chain
Definitions
Example
Weather Markov Chain Example
Given that the model is in a known state, what is the probability it
stays in that state for exactly d days?
p({Si
1
, Si
2
, Si
3
, ..., Si
d
, Sj
d+1
= Si }|Model, q1 = Si ) = (aii )d−1(1 − aii )
Based on the previous probability, we can calculate the expected
number of observations (duration) in a state, conditioned on
starting in that state as:
∞
d=1
d(aii )d−1(1 − aii ) =
1
1 − aii
Therefore, the expected number of consecutive days of sunny
weather, according to the model, is 1/0.2 = 5, for cloudy it is 2.5;
for rain it is 1.67.
Joao Azevedo An Introduction to HMMs