.. _book_fig_chapter5_fig_model_comparison_mcmc: MCMC Model Comparison --------------------- Figure 5.24 The top-right panel shows the posterior pdf for mu and sigma for a single Gaussian fit to the data shown in figure 5.23. The remaining panels show the projections of the five-dimensional pdf for a Gaussian mixture model with two components. Contours are based on a 10,000 point MCMC chain. .. image:: ../images/chapter5/fig_model_comparison_mcmc_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_model_comparison_mcmc.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_model_comparison_mcmc.py :lines: 11- .. raw:: html
:download:`[download source: fig_model_comparison_mcmc.py] ` .. raw:: html