Description Arguments See Also Examples
A class type of discrete-time finite state space Markov chain in stat2003 package.
p |
A numeric symmetric matrix. The transition matrix of the Markov chain. The rows must sum to 1. |
p_start |
A numeric vector. The initial distribution of the Markov chain. The rows must sum to 1 and has same dimension as p. |
statespace |
A character vector. The state space of the Markov chain. statespace must has same dimension as p. |
dmc_equi
returns the equilibrium
distribution for a discrete-time Markov chain.
dmc_inv
returns the invariant
distribution for a discrete-time Markov chain.
dmc_simu
simulates a discrete-time Markov chain
by returning one possible sequence and a states against steps plot.
dmc_tp
can calculate transient probabilities at a
specific step, and also can give a graph about transient probabilities
from step zero to that specific step.
dmc_irreclass
focuses on irreducible classes for
a given discrete-time Markov chain
dmc_period
returns the period of each state for
a given discrete-time Markov chain
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.