.. _book_fig_chapter5_fig_cauchy_mcmc: MCMC for the Cauchy distribution -------------------------------- Figure 5.22 Markov chain monte carlo (MCMC) estimates of the posterior pdf for parameters describing the Cauchy distribution. The data are the same as those used in figure 5.10: the dashed curves in the top-right panel show the results of direct computation on a regular grid from that diagram. The solid curves are the corresponding MCMC estimates using 10,000 sample points. The left and the bottom panels show marginalized distributions. .. image:: ../images/chapter5/fig_cauchy_mcmc_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_cauchy_mcmc.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_cauchy_mcmc.py :lines: 13- .. raw:: html
:download:`[download source: fig_cauchy_mcmc.py] ` .. raw:: html