Skip to content

Commit a58133b

Browse files
committed
[markov_chains_II] add another example admonition
add example admonition for irreducibility
1 parent 4ba467e commit a58133b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lectures/markov_chains_II.md

+3
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ that
7171
The stochastic matrix $P$ is called **irreducible** if all states communicate;
7272
that is, if $x$ and $y$ communicate for all $(x, y)$ in $S \times S$.
7373

74+
```{prf:example}
75+
:label: mc2_ex_ir
7476
For example, consider the following transition probabilities for wealth of a
7577
fictitious set of households
7678
@@ -95,6 +97,7 @@ $$
9597

9698
It's clear from the graph that this stochastic matrix is irreducible: we can eventually
9799
reach any state from any other state.
100+
```
98101
99102
We can also test this using [QuantEcon.py](http://quantecon.org/quantecon-py)'s MarkovChain class
100103

0 commit comments

Comments
 (0)