Home   >   User Resources   >   Online Help   >   apaMarkov.IsErgodic
 

 

Function index Version 3.0.0

apaMarkov.IsErgodic(TransProbs, maxPower)

Excel=apaMarkov.IsErgodic(TransProbs, maxPower)

Result

Checks whether a Markov chain is ergodic.

Syntax

TransProbs: matrix of transition probabilities, each row summing to one

maxPower: optional; computational cutoff, i.e. the maximum matrix power. Default: 0 (5*n^2 if the value is 0 or negative). Can be set as low as (n-1)^2+1

Algorithm

A finite Markov chain is ergodic if it is both irreducible and aperiodic. The function tests these properties and returns TRUE if both hold, otherwise FALSE.