dtmcfpt
Compute mean first passage times and mean recurrence times for an irreducible discrete-time Markov chain over the state space .
INPUTS
P(i,j)
transition probability from state to state . P must be an irreducible stochastic matrix, which means that the sum of each row must be 1 (), and the rank of P must be .
OUTPUTS
M(i,j)
For all , , M(i,j)
is
the average number of transitions before state j is entered
for the first time, starting from state i.
M(i,i)
is the of state
, and represents the average time needed to return to state
i.
REFERENCES
See also: ctmcfpt