Observation sequence Q: CCLLLLLLCCCC Length of Q: 12 Before Observations : P(h1) = 0.1 P(h2) = 0.2 P(h3) = 0.4 P(h4) = 0.2 P(h5) = 0.1 Probability that the next candy we pick will be C, given Q: 0.5 Probability that the next candy we pick will be L, given Q: 0.5 After Observation 1 = C: P(h1 | Q) = 0.2 P(h2 | Q) = 0.3 P(h3 | Q) = 0.4 P(h4 | Q) = 0.1 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.65 Probability that the next candy we pick will be L, given Q: 0.35 After Observation 2 = C: P(h1 | Q) = 0.30769 P(h2 | Q) = 0.34615 P(h3 | Q) = 0.30769 P(h4 | Q) = 0.03846 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.73076 Probability that the next candy we pick will be L, given Q: 0.26924 After Observation 3 = L: P(h1 | Q) = 0.0 P(h2 | Q) = 0.32141 P(h3 | Q) = 0.5714 P(h4 | Q) = 0.10713 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.55354 Probability that the next candy we pick will be L, given Q: 0.44646 After Observation 4 = L: P(h1 | Q) = 0.0 P(h2 | Q) = 0.17998 P(h3 | Q) = 0.63992 P(h4 | Q) = 0.17997 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.49994 Probability that the next candy we pick will be L, given Q: 0.50006 After Observation 5 = L: P(h1 | Q) = 0.0 P(h2 | Q) = 0.08998 P(h3 | Q) = 0.63984 P(h4 | Q) = 0.26992 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.45488 Probability that the next candy we pick will be L, given Q: 0.54512 After Observation 6 = L: P(h1 | Q) = 0.0 P(h2 | Q) = 0.04127 P(h3 | Q) = 0.58688 P(h4 | Q) = 0.37137 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.41723 Probability that the next candy we pick will be L, given Q: 0.58277 After Observation 7 = L: P(h1 | Q) = 0.0 P(h2 | Q) = 0.0177 P(h3 | Q) = 0.50353 P(h4 | Q) = 0.47794 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.38453 Probability that the next candy we pick will be L, given Q: 0.61547 After Observation 8 = L: P(h1 | Q) = 0.0 P(h2 | Q) = 0.00719 P(h3 | Q) = 0.40906 P(h4 | Q) = 0.58241 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.35552 Probability that the next candy we pick will be L, given Q: 0.64448 After Observation 9 = C: P(h1 | Q) = 0.0 P(h2 | Q) = 0.01517 P(h3 | Q) = 0.5753 P(h4 | Q) = 0.40955 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.40142 Probability that the next candy we pick will be L, given Q: 0.59858 After Observation 10 = C: P(h1 | Q) = 0.0 P(h2 | Q) = 0.02834 P(h3 | Q) = 0.71658 P(h4 | Q) = 0.25506 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.44331 Probability that the next candy we pick will be L, given Q: 0.55669 After Observation 11 = C: P(h1 | Q) = 0.0 P(h2 | Q) = 0.04795 P(h3 | Q) = 0.80822 P(h4 | Q) = 0.14384 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.47603 Probability that the next candy we pick will be L, given Q: 0.52397 After Observation 12 = C: P(h1 | Q) = 0.0 P(h2 | Q) = 0.07555 P(h3 | Q) = 0.84892 P(h4 | Q) = 0.07554 P(h5 | Q) = 0.0 Probability that the next candy we pick will be C, given Q: 0.50001 Probability that the next candy we pick will be L, given Q: 0.49999