HMM: Get probability staying in state...

For the selected HMM get the probability that it stays exactly the given number of times in that state.

This probability is αiinumberOfTimes-1(1 - αii), where αii is the probability of staying in state i.


© djmw 20101010