Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-5lx2p Total loading time: 0 Render date: 2024-07-27T14:02:40.755Z Has data issue: false hasContentIssue false

11 - Bayesian Model Comparison Using Bayes Factors

from Part III - Model Comparison

Published online by Cambridge University Press:  05 February 2018

Simon Farrell
Affiliation:
University of Western Australia, Perth
Stephan Lewandowsky
Affiliation:
University of Bristol
Get access

Summary

The previous chapter explored the issue of model complexity, and focused on the fact that a model may give a good fit to a set of data simply by virtue of being more flexible. We also discussed several methods by which we can correct for complexity to obtain an unbiased measure of the fit of a model, in particular the AIC as a corrected estimator of the distance between the data and the “true” model. We pick up on both of these themes in this chapter, in which we discuss the Bayesian approach to model comparison, and how the Bayesian approach naturally accounts for model complexity.

We begin by presenting the core component of Bayesian model comparison – the marginal likelihood – and discuss how the relative fit of two models can be expressed in terms of Bayes factors. We then survey several methods for calculating the marginal likelihood, before discussing the particular role of the prior distributions when performing Bayesian model comparison.

Marginal Likelihoods and Bayes Factors

To understand Bayes factors, it is useful to first remind ourselves of Bayes theorem, as it applies to Bayesian parameter estimation (Equation 6.6). For convenience, we restate the theorem here:

For much of our discussion thus far, we focussed on the proportional relationship P(θ|y)P(y| θ)P(θ), and dropped P(y) as it can be treated as a normalising constant (Equation 7.1). It turns out that P(y) – the marginal likelihood – plays a critical role in Bayesian model comparison. Indeed, it is also called the evidence because it quantifies the evidence the data y provide for the model.

To understand why, we need to remind ourselves that all of the components in Equation 11.1 are conditional on a particular model M; that is, the equation should really be presented as:

Accordingly, the evidence P(y|M) tells us about the probability of obtaining data y under model M, and thus how consistent the data are with the model.

It might not seem obvious how we can calculate P(y|M), but all the information we need is already used in Equation 11.2. The evidence is obtained by calculating the marginal likelihood of the data given the model:

Effectively, what we are doing is considering how likely the data are for each point in the parameter space, and then averaging the resulting values.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2018

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×