05.07.2014 Views

Joint modelling of transit and stellar temperature using an MCMC ...

Joint modelling of transit and stellar temperature using an MCMC ...

Joint modelling of transit and stellar temperature using an MCMC ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 6. JOINT MODELLING OF TRANSIT AND STELLAR TEMPERATURE USING AN <strong>MCMC</strong> APPROACH 166<br />

L = e − χ2<br />

2 <strong>of</strong> the <strong>stellar</strong> <strong>temperature</strong> associated to each <strong>tr<strong>an</strong>sit</strong> model compared to the<br />

spectroscopic <strong>temperature</strong> – where χ 2 measures the difference between the two <strong>temperature</strong>s<br />

–, <strong><strong>an</strong>d</strong> by multiplying the likelihood in step 2 <strong>of</strong> the <strong>MCMC</strong> by the likelihood<br />

on the <strong>temperature</strong>.<br />

6.1.4 Step size<br />

The size <strong>of</strong> the step in each parameter needs to be chosen so that in each parameter<br />

chain it takes the <strong>MCMC</strong> several steps to reach the extremes <strong>of</strong> the explored values.<br />

This gives confidence in the accuracy <strong><strong>an</strong>d</strong> coverage <strong>of</strong> the <strong>MCMC</strong> exploration,<br />

as small steps me<strong>an</strong> good sampling. However, if the steps are too small, it will take<br />

the <strong>MCMC</strong> a larger number <strong>of</strong> iterations to explore the same region <strong>of</strong> the parameter<br />

space. The method used to find the optimal scale size for each parameter is as follows:<br />

1. Run a short chain (e.g. 1000 iterations) with initial step sizes equal to the uncertainty<br />

on the initial parameters<br />

2. Calculate the st<strong><strong>an</strong>d</strong>ard deviation <strong>of</strong> the chain for each parameter <strong><strong>an</strong>d</strong> the number<br />

<strong>of</strong> accepted steps<br />

3. Adjust the step size <strong>of</strong> each parameter so that it is smaller or <strong>of</strong> the same order<br />

as the st<strong><strong>an</strong>d</strong>ard deviation <strong>of</strong> the short chain for this parameter, <strong><strong>an</strong>d</strong> so that the<br />

number <strong>of</strong> accepted steps is close to 50%.<br />

6.1.5 Chain length<br />

The number <strong>of</strong> steps in the <strong>MCMC</strong> chain needs to be several times the correlation<br />

length <strong>of</strong> each parameter chain. There are two methods to test if the chain is long<br />

enough: 1) calculate the correlation length as explained below <strong><strong>an</strong>d</strong> compare to the<br />

length <strong>of</strong> the chain, or 2) calculate the Gelm<strong>an</strong> & Rubin statistic <strong>of</strong> convergence as<br />

explained in Section 6.1.6.<br />

A chain length several times the parameter correlation length me<strong>an</strong>s that the chain<br />

has explored the structure <strong>of</strong> the parameter space several times. There is thus less<br />

ch<strong>an</strong>ce for the convergence to get stuck in a local minimum <strong><strong>an</strong>d</strong> the best model solution<br />

is thus more robust. The method used to check if the number <strong>of</strong> <strong>MCMC</strong> iterations<br />

used allows to derive statistically robust parameters is as follows:<br />

1. Calculate the autocorrelation <strong>of</strong> the chain: A j (θ) = i θ i × θ i+j for each parameter<br />

θ. The autocorrelation length is given by the number <strong>of</strong> iterations needed to<br />

bring the autocorrelation from maximum to zero<br />

2. The length <strong>of</strong> the chain should be several times (e.g. >10) the value <strong>of</strong> the autocorrelation<br />

length. The longer the chain the more robust the solution found for<br />

the best model.

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

Saved successfully!

Ooh no, something went wrong!