selftransitions
Self-transitions refer to transitions in a stochastic process where the next state is the same as the current state. In discrete-state Markov chains, the probability of a self-transition from state i to itself is denoted p_ii and appears on the diagonal of the transition matrix P, with P_ij = Pr(X_{t+1} = j | X_t = i).
Self-transitions determine how long the process tends to remain in a given state. The number of consecutive
Estimating self-transition probabilities from data is standard in Markov modeling: p_ii is estimated as N_{ii} / N_i,