Skip to content

[markov_chains_II] to [money_inflation]spelling and example admontion #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[markov_chains_II] example admonitions
add example admonitions that includes a figure.
  • Loading branch information
longye-tian committed Aug 8, 2024
commit d9c0bb6211ce97b5c25d38828d356f7fe4ecc250
9 changes: 8 additions & 1 deletion lectures/markov_chains_II.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ mc = qe.MarkovChain(P, ('poor', 'middle', 'rich'))
mc.is_irreducible
```

```{prf:example}
:label: mc2_ex_pf

Here's a more pessimistic scenario in which poor people remain poor forever

```{image} /_static/lecture_specific/markov_chains_II/Irre_2.png
Expand All @@ -116,6 +119,7 @@ Here's a more pessimistic scenario in which poor people remain poor forever

This stochastic matrix is not irreducible since, for example, rich is not
accessible from poor.
```

Let's confirm this

Expand Down Expand Up @@ -272,6 +276,9 @@ In any of these cases, ergodicity will hold.

### Example: a periodic chain

```{prf:example}
:label: mc2_ex_pc

Let's look at the following example with states 0 and 1:

$$
Expand All @@ -291,7 +298,7 @@ The transition graph shows that this model is irreducible.
```

Notice that there is a periodic cycle --- the state cycles between the two states in a regular way.

```
Not surprisingly, this property
is called [periodicity](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_(Siegrist)/16%3A_Markov_Processes/16.05%3A_Periodicity_of_Discrete-Time_Chains).

Expand Down