transitionsmatris
A transitionsmatris, or transition matrix, is a square matrix used in the study of stochastic processes to describe the probabilities of moving between states in one step. For a finite state space with n states, the entry P_ij is the probability of transitioning from state i to state j in one discrete time step. Depending on convention, rows sum to 1 (row-stochastic) and the state distribution evolves as p_{t+1} = p_t P, or columns may sum to 1 with P^T acting on column distributions.
Properties of a transitionsmatris include nonnegative entries and row sums equal to 1 in the common row-stochastic
Construction and uses: A transitionsmatris can be built from data by counting observed transitions between states
Computational notes: The stationary distribution is the eigenvector corresponding to eigenvalue 1, obtainable by the power