diff --git a/lectures/markov_chains_I.md b/lectures/markov_chains_I.md index 225a072b..0633886e 100644 --- a/lectures/markov_chains_I.md +++ b/lectures/markov_chains_I.md @@ -486,7 +486,7 @@ The following code illustrates ```{code-cell} ipython3 mc = qe.MarkovChain(P, state_values=('unemployed', 'employed')) -mc.simulate(ts_length=4, init='employed'). # Start at employed initial state +mc.simulate(ts_length=4, init='employed') # Start at employed initial state ``` ```{code-cell} ipython3