.. _book_fig_chapter5_fig_likelihood_cauchy: Log-likelihood for Cauchy Distribution -------------------------------------- Figure 5.10 An illustration of the logarithm of posterior probability distribution for :math:`\mu` and :math:`\gamma`, :math:`L(\mu,\gamma)` (see eq. 5.75) for N = 10 (the sample is generated using the Cauchy distribution with :math:`\mu = 0` and :math:`\gamma = 2`). The maximum of L is renormalized to 0, and color coded as shown in the legend. The contours enclose the regions that contain 0.683, 0.955 and 0.997 of the cumulative (integrated) posterior probability. .. image:: ../images/chapter5/fig_likelihood_cauchy_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_likelihood_cauchy.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_likelihood_cauchy.py :lines: 14- .. raw:: html
:download:`[download source: fig_likelihood_cauchy.py] ` .. raw:: html