.. _sphx_glr_api_gallery_probability_mcmc:
Markov chain Monte Carlo
--------------------------
The Metropolis-Hastings algorithm and the Gibbs sampler.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/probability/mcmc/images/thumb/sphx_glr_plot_01_metropolis_hastings_gibbs_thumb.png
:alt:
:doc:`/api/gallery/probability/mcmc/plot_01_metropolis_hastings_gibbs`
.. raw:: html
Markov chain Monte Carlo: Metropolis-Hastings and the Gibbs sampler
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/probability/mcmc/plot_01_metropolis_hastings_gibbs