calc.trans | R Documentation |
Function to estimate the probabilities of a time series to stay or change the state.
calc.trans(x)
x |
(factor) vector of states |
To estimate the transition probabilities the empirical frequencies are counted.
The transition probabilities matrix.
x[i,j]
is the probability to change from state i
to state j
.
Karsten Luebke, karsten.luebke@fom.de
data(B3)
calc.trans(B3$PHASEN)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.