Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

an example of HMM

Given a model (from Ankur Jain's slides) and question with the answer is presented below:

enter image description here

Initial probabilities: say P(‘Low’)=0.4 , P(‘High’)=0.6 .

However i'm confused why in the solution we have an extra 0.4, i guess it should be as follows, can you clarify me?

P(‘Dry’|’Low’)P(‘Rain’|’Low’) P(‘Low’)P(‘Low’|’Low)
= 0.4*0.6*0.4*0.3
share|improve this question
It looks like your calculation is correct, unless I'm also missing something. – VitalStatistix Jan 8 '13 at 12:58
@VitalStatistix, thanks i guess so if not whole of my code will give wrong result – berkay Jan 8 '13 at 13:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.