Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

calc.trans

Calculation of transition probabilities


Description

Function to estimate the probabilities of a time series to stay or change the state.

Usage

calc.trans(x)

Arguments

x

(factor) vector of states

Details

To estimate the transition probabilities the empirical frequencies are counted.

Value

The transition probabilities matrix. x[i,j] is the probability to change from state i to state j.

Author(s)

Karsten Luebke, karsten.luebke@fom.de

Examples

data(B3)
calc.trans(B3$PHASEN)

klaR

Classification and Visualization

v0.6-15
GPL-2 | GPL-3
Authors
Christian Roever, Nils Raabe, Karsten Luebke, Uwe Ligges, Gero Szepannek, Marc Zentgraf, David Meyer
Initial release
2020-02-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.