:orphan: Bayesian Model Selection ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The problem of model selection consists in determining which model(s) best explain the available data :math:`D`, given a set of candidate models :math:`m_{1:M}`. Each model :math:`m_{j}` is parameterized by a set of parameters :math:`\theta_{m_{j}} \in \Theta_{m_{j}}`, to be estimated based on data. In the Bayesian framework, model selection is performed by computing the posterior probability of each model :math:`m_{j}` using Bayes' theorem: .. math:: P(m_{j} \vert D) = \frac{p(D \vert m_{j})P(m_{j})}{\sum_{j=1}^{M} P(D \vert m_{j})P(m_{j})} where :math:`P(m_{j})` is the prior assigned to model :math:`m_{j}` and :math:`P(D \vert m_{j})` is the model evidence, also called marginal likelihood. .. math:: p(D \vert m_{j}) = \int_{\Theta_{m_{j}}} p(D \vert m_{j}, \theta_{m_{j}}) p(\theta_{m_{j}} \vert m_{j}) d\theta_{m_{j}} where :math:`p(\theta_{m_{j}} \vert m_{j})` is the prior assigned to the parameter vector of model :math:`m_{j}`. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/inference/bayes_model_selection/images/thumb/sphx_glr_bayes_model_selection_thumb.png :alt: :ref:`sphx_glr_auto_examples_inference_bayes_model_selection_bayes_model_selection.py` .. raw:: html
Bayes Model Selection - Regression Models
.. raw:: html
.. toctree:: :hidden: /auto_examples/inference/bayes_model_selection/bayes_model_selection .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: bayes_model_selection_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: bayes_model_selection_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_