msteptpm: m-step Transition Probability Matrix Computation

Description Usage Arguments Author(s) Examples

Description

The m-step transition probability matrix computation is provided in this function. The equation is based on the well-known "Chapman-Kolmogorov equation".

Usage

1
msteptpm(TPM, m)

Arguments

TPM

a transition probability matrix

m

the m step required

Author(s)

Prabhanjan N. Tattar

Examples

1
2
EF2 <- Ehrenfest(2)
msteptpm(as.matrix(EF2),4)

Example output

        0       1    2       3       4
0 0.15625 0.00000 0.75 0.00000 0.09375
1 0.00000 0.53125 0.00 0.46875 0.00000
2 0.12500 0.00000 0.75 0.00000 0.12500
3 0.00000 0.46875 0.00 0.53125 0.00000
4 0.09375 0.00000 0.75 0.00000 0.15625

ACSWR documentation built on May 2, 2019, 6:53 a.m.