15.01.2013 Views

Bayesian Methods for Astrophysics and Particle Physics

Bayesian Methods for Astrophysics and Particle Physics

Bayesian Methods for Astrophysics and Particle Physics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(a) (b)<br />

2.3 Nested Sampling<br />

Figure 2.1: Cartoon illustrating (a) the posterior of a two dimensional problem;<br />

<strong>and</strong> (b) the trans<strong>for</strong>med L(X) function where the prior volumes Xi are associated<br />

with each likelihood Li.<br />

(2.2), is a monotonically decreasing function of X (which is trivially satisfied <strong>for</strong><br />

most posteriors), the evidence integral (2.1) can then be written as<br />

Z =<br />

1<br />

0<br />

L(X)dX. (2.3)<br />

Thus, if one can evaluate the likelihoods Lj = L(Xj), where Xj is a sequence of<br />

decreasing values,<br />

0 < XM < · · · < X2 < X1 < X0 = 1, (2.4)<br />

as shown schematically in Figure 2.1, the evidence can be approximated numer-<br />

ically using st<strong>and</strong>ard quadrature methods as a weighted sum<br />

Z =<br />

M<br />

Liwi. (2.5)<br />

i=1<br />

In the following we will use the simple trapezium rule, <strong>for</strong> which the weights are<br />

given by wi = 1<br />

2 (Xi−1 − Xi+1). An example of a posterior in two dimensions <strong>and</strong><br />

its associated function L(X) is shown in Figure 2.1.<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!