You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve put together some code to animate the convergence to a stationary distribution in our Markov Chain lecture (markov_chain_I). I hope this will be helpful if we decide to include animations in the future. Here are some details.
Dear John @jstac,
I’ve put together some code to animate the convergence to a stationary distribution in our Markov Chain lecture (markov_chain_I). I hope this will be helpful if we decide to include animations in the future. Here are some details.
It requires the following imports,
And putting the rest of the code in the Jupyter notebook after we define
iterate_ψ()It will render an interactive plot with a sliding bar and a play button and options as shown below:
animation.mov
Best ❤️
Longye