DTMCPack-package {DTMCPack} R Documentation

## Suite of functions related to discrete-time discrete-state Markov Chains

### Description

A series of functions which aid in both simulating and determining the properties of finite, discrete-time, discrete state markov chains. This package may be of use to practioners who need to simulate Markov Chains, but its primary intended audience is students of an introductory stochastic processes studying class properties and long run behavior patterns of Markov Chains. Two functions (DTMC, MultDTMC) produce n iterations of a Markov Chain(s) based on transition probabilities and an initial distribution. The function FPTime determines the first passage time into each state. The function statdistr determines the stationary distribution of a Markov Chain. Updated 4/10/22 to maintain compatibility with R.

### Details

 Package: DTMCPack Type: Package Version: 0.1-2 Date: 2013-05-22 License: GPL(>=2) LazyLoad: yes

### Author(s)

Will Nicholson

Maintainer: <wbn8@cornell.edu>

### References

Sidney Resnick, "Adventures in Stochastic Processes"

### Examples

data(gr)
data(id)
DTMC(gr,id,10,trace=FALSE)


[Package DTMCPack version 0.1-3 Index]