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.

1.6 Numerical <strong>Methods</strong><br />

posterior are sufficiently suppressed to allow improved mobility of the chain over<br />

the entire prior range.<br />

The evidence can now be defined as a function of the “cooling” parameter λ:<br />

<br />

Z(λ) = L λ πd N Θ. (1.29)<br />

For correctly normalized prior, Z(0) = 1. We can use MCMC samples to get an<br />

estimate of the expected value of log L over λ:<br />

<br />

λ N log L.L πd Θ<br />

〈log L〉 λ = . (1.30)<br />

LλπdNΘ Comparing Eqs. 1.29 <strong>and</strong> 1.30, we see that,<br />

〈log L〉 λ = 1 dZ<br />

Z dλ<br />

so that the logarithm of the evidence, log Z(1) is given by:<br />

log Z(1) = log Z(0) +<br />

1<br />

0<br />

d log Z<br />

= , (1.31)<br />

dλ<br />

d logZ<br />

dλ =<br />

dλ<br />

1<br />

0<br />

〈log L〉 λ dλ. (1.32)<br />

For nλ samples taken at the cooling parameter λ, the evidence can be estimated<br />

as:<br />

log Z(1) ≈ 1<br />

nλ<br />

nλ <br />

k=1<br />

log Lk. (1.33)<br />

Thus, the evidence value is obtained at the end of annealing schedule <strong>and</strong> then<br />

sampling from the posterior can start so the evidence as well as the posterior<br />

samples can be obtained through thermodynamic integration technique.<br />

1.6.2.1 Problems with Thermodynamic Integration<br />

Typically, it is possible to obtain accuracies of within 0.5 units in logZ with<br />

thermodynamic integration, but in cosmological applications it typically requires<br />

of order 10 6 samples per chain (with around 10 chains required to determine a<br />

sampling error). This makes evidence evaluation at least an order of magnitude<br />

more costly than parameter estimation.<br />

Another problem faced by thermodynamic integration is in navigating through<br />

phase changes as pointed out by Skilling (2004). As λ increases from 0 to 1, one<br />

15

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

Saved successfully!

Ooh no, something went wrong!