siirtymätodennäköisyysmatriisia
siirtymätodennäköisyysmatriisia, often translated as transition probability matrix or simply transition matrix, is a fundamental concept in the study of Markov chains. It is a square matrix where each element P(i, j) represents the probability of transitioning from state i to state j in a single step. The rows of the matrix sum to 1, reflecting that from any given state, there must be a transition to some state (including possibly staying in the same state). The columns also sum to 1, but this property is not as immediately intuitive as the row sum property.
The dimensions of the matrix correspond to the number of possible states in the system. If a