1
$\begingroup$

I am a bit confused about the definition of limiting distribution in Markov chains.

My understanding is that it represents the behavior of the chain in-the-limit. That is, I start from the initial distribution $\mu_0(s)$ and repeat $\mu_1(s) = \mu_0(s) P$, $\mu_2(s) = \mu_1(s)P, \ldots$ and at some point the distribution will not change anymore. This seems also what this question/answer says.

However, all definitions I find say that the limiting distribution does not depend on the initial distribution. But I can easily make a non-irreducible chain with two communicating classes like the one below, where the limit will converge but depends on the initial distribution.

enter image description here

So, can the limiting distribution depend on the initial distribution? If not, how can I find it?

This answer shows a few methods and one is what I am already doing below, i.e., a simple loop to simulate the chain. But, if I run it I converge to different distributions depending on the initial one.

import numpy as np
np.set_printoptions(precision=3, suppress=True)

P = np.array([
    [0.0, 0.5, 0.0, 0.5, 0.0],
    [0.0, 0.0, 1.0, 0.0, 0.0],
    [0.0, 0.5, 0.5, 0.0, 0.0],
    [0.0, 0.0, 0.0, 0.5, 0.5],
    [0.0, 0.0, 0.0, 1.0, 0.0],
])

MU = [
    np.array([0.3, 0.1, 0.2, 0.4, 0.0]),
    np.array([1.0, 0., 0., 0., 0.0]),
    np.random.rand(5),
]

for mu_t in MU:
    mu_t /= mu_t.sum()
    for _ in range(1000):
        mu_t = np.dot(mu_t, P)
    print(mu_t)
    print(np.dot(mu_t, P))
    print()

I know that an ergodic chain has only one unique limiting distribution and that my example is not ergodic, so I am considering the general case.

$\endgroup$

2 Answers 2

1
$\begingroup$

all definitions I find say that the limiting distribution does not depend on the initial distribution

The proof of this trait of the limit relies on the asumption of ergodicity.

You can define an MDP where there are non-interacting splits in trajectory (i.e. a branch in trajectory with no way of reaching outside of a subset of states), with two or more recurrent loops, plus an initial distribution where it is possible to reach at least two split points. This is essentially multiple ergodic MDPs in a branching structure. In that case, within each split, the limiting distribution is independent of the starting distribution.

In your example case, everything ends up in B & C or D & E. The ratio of times spent between BC and DE depend on the starting distribution. Within those groups, the ratios of time B:C and D:E are fixed and converge independently of any starting distribution.

$\endgroup$
4
  • $\begingroup$ Can a limiting distribution independent of the initial state exist in a non-ergodic chain? Because I usually read "a limting distribution is the limit of the distribution, independent of the initial state". And then "if the chain is ergodic, the limiting distribution exists and it's unique". The definition of limiting distribution seems unrelated to the one of ergodicity, and one that could exist in non-ergodic chains. But you said it depends on ergodicity, which confuses me (makes sense in terms of independency of the initial state, just doesn't seem to fit the literature? Any ref?). $\endgroup$
    – Simon
    Commented Nov 24 at 13:47
  • $\begingroup$ @Simon as you said, ergodicity gives you guarantees that it exists and that is unique… in your example, it exists but it’s not unique, and furthermore depends on the initial state $\endgroup$
    – Alberto
    Commented Nov 24 at 19:00
  • $\begingroup$ @Alberto Right, so the limiting distribution, by definition, can be not unique, right? Because I often read "if it exists, it is unique" in its definition. That's why I was confused. $\endgroup$
    – Simon
    Commented Nov 24 at 21:02
  • $\begingroup$ @Simon the fact that the limiting distribution depends on the initial state implies that the couple MC+initial state has a limiting distribution, though you probably cannot prove that it is always the case... generally speaking however, a limiting distribution exists if and only if it does not depend on the initial state (by definition) $\endgroup$
    – Alberto
    Commented Nov 25 at 2:07
2
$\begingroup$

Indeed the limiting behavior of a non-ergodic Markov chain which is not irreducible with multiple mean positive recurrent communicating classes depends on its initial distribution, since apparently the state space can be decomposed into multiple communicating classes thus the limiting distribution if exists depends on which class is activated by the initial distribution and typically there's one limiting distribution per recurrent communicating class if all states within the said communicating class are aperiodic.

In summary without irreducibility the limiting distribution if exists is not unique, and without aperiodicity a mere stationary distribution may not be converged as a limiting distribution as illustrated in the answer to your recent post here. There's conceptual difference between a limiting and stationary distribution of a MC.

$\endgroup$
1
  • $\begingroup$ Thanks! Your reply helped understanding Neil's better. I think both answers are useful, I accepted Neil's just because he replied first. $\endgroup$
    – Simon
    Commented Nov 25 at 8:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .