apaRegimes.TransitionMatrix.FromStates(States, IsStateProbsOtherwiseTransitionProbs)
Excel
=apaRegimes.TransitionMatrix.FromStates(States, IsStateProbsOtherwiseTransitionProbs)Result
Calculates the transition matrix from a state trajectory vector. Read the matrix as from row to column.
Syntax
States: r x 1 vector of states
IsStateProbsOtherwiseTransitionProbs: TRUE to return the state probabilities, FALSE to return the transition probabilities
