Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

MarkovProcessProperties bugs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132132] MarkovProcessProperties bugs
  • From: Lee Altenberg <pzone3141 at dynamics.org>
  • Date: Fri, 20 Dec 2013 05:35:02 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

Mathematica 9 appears to have this bug:

MarkovProcessProperties[
 DiscreteMarkovProcess[
  initVec, {{0, 1/2, 1/2, 0}, {1, 0, 0, 0}, {0, 0, 0, 1}, {1, 0, 0, 
    0}} ], "Aperiodic"]

returns "False".  

However, the stochastic matrix {{0, 1/2, 1/2, 0}, {1, 0, 0, 0}, {0, 0, 0, 1}, {1, 0, 0, 
    0}} is primitive, i.e. irreducible and aperiodic.  The positive diagonal entry 1/2 at [[2,2]] guarantees aperiodicity.

Similarly, "False" is returned on {{0, 1/2, 1/2, 0}, {1, 0, 0, 0}, {0, 0, 1/2, 1/2}, {1, 0, 0, 0}}

while "True" is returned on
{{0, 1/2, 1/2, 0}, {1/2, 1/2, 0, 0}, {0, 0, 1/2, 1/2}, {1, 0, 0, 0}} .

All of these examples, however, are aperiodic.



  • Prev by Date: inconsistent ordering behavior
  • Next by Date: Re: triangular phase diagram
  • Previous by thread: inconsistent ordering behavior
  • Next by thread: Re: triangular phase diagram