Home   >   User Resources   >   Online Help   >   apaMarkov.SecondOrder.Test
 

 

Function index Version 3.0.0

apaMarkov.SecondOrder.Test(StatePath)

Excel=apaMarkov.SecondOrder.Test(StatePath)

Result

Tests a first-order state path for the presence of second-order Markov dependence.

Syntax

StatePath: n x 1 vector containing the state path

Algorithm

The first-order Markov representation is compared with a second-order alternative based on the observed path, i.e. the test evaluates whether the transition behavior depends only on the current state or also on the previous state. The function returns a message summarizing the result of the test.