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

stationdistTPM

A function which will return the stationary distribution of an ergodic Markov chain


Description

This function returns the stationary distribution of an ergodic Markov chain. For details, refer Chapter 11 of the book.

Usage

stationdistTPM(M)

Arguments

M

a transition probability matrix (TPM)

Author(s)

Prabhanjan N. Tattar

See Also

eigen

Examples

P <- matrix(nrow=3,ncol=3) # An example
P[1,] <- c(1/3,1/3,1/3)
P[2,] <- c(1/4,1/2,1/4)
P[3,] <- c(1/6,1/3,1/2)
stationdistTPM(P)

ACSWR

A Companion Package for the Book "A Course in Statistics with R"

v1.0
GPL-2
Authors
Prabhanjan Tattar
Initial release
2015-09-05

We don't support your browser anymore

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