powered by
Function to estimate the probabilities of a time series to stay or change the state.
calc.trans(x)
The transition probabilities matrix. x[i,j] is the probability to change from state i to state j.
x[i,j]
i
j
(factor) vector of states
Karsten Luebke, karsten.luebke@fom.de
To estimate the transition probabilities the empirical frequencies are counted.
data(B3) calc.trans(B3$PHASEN)
Run the code above in your browser using DataLab