Learn R Programming

DTMCPack (version 0.1-3)

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. 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.

Copy Link

Version

Install

install.packages('DTMCPack')

Monthly Downloads

1,892

Version

0.1-3

License

GPL (>= 2)

Maintainer

William Nicholson

Last Published

April 11th, 2022

Functions in DTMCPack (0.1-3)

FPTime

First Passage Time
statdistr

Computing Stationary Distribution
id

Initial distribution
hh

Harry the SemiPro
gr

Example Data Set: Gambler's ruin on 4 states
DTMCPack-package

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

Simulation of Discrete-Time/State Markov Chain
MultDTMC

Multiple Discrete time Markov Chains