01.06.2013 Views

Statistical Methods in Medical Research 4ed

Statistical Methods in Medical Research 4ed

Statistical Methods in Medical Research 4ed

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

close to the stationary distribution. The length, M, of this burn-<strong>in</strong> period is<br />

chosen <strong>in</strong> the belief that the distribution of the later draws from the cha<strong>in</strong> will be<br />

close to the stationary distribution and we can consider that, for all practical<br />

purposes, the cha<strong>in</strong> has converged by time M. The length of the cha<strong>in</strong> that is used<br />

to explore the posterior distribution, N M, should be controlled by choos<strong>in</strong>g N<br />

so that the precision of the estimate obta<strong>in</strong>ed from (16.15) is adequate.<br />

There are practical difficulties <strong>in</strong> assess<strong>in</strong>g the adequacy of (16.15), because of<br />

the dependence between the u …i† , and time series methods (see §12.7) are often<br />

used (see Geyer, 1992). Even once a Markov cha<strong>in</strong> has, for all practical purposes,<br />

converged, it may be slow to mix. This means that the cha<strong>in</strong> evolves slowly and<br />

takes many iterations to move round the state space. This can occur when the<br />

correlation between successive outputs from the cha<strong>in</strong> are highly correlated.<br />

Unless such cha<strong>in</strong>s are run for very long periods, they will give results that<br />

have poor precision. The parameterization chosen for the model can lead to<br />

problems with mix<strong>in</strong>g, and reparameterization can be a useful remedy. This and<br />

other ways to improve the practical performance of MCMC methods are discussed<br />

<strong>in</strong> Gilks and Roberts (1996).<br />

Metropolis±Hast<strong>in</strong>gs algorithms<br />

16.4 Markov cha<strong>in</strong> Monte Carlo methods 557<br />

Start<strong>in</strong>g from arbitrary <strong>in</strong>itial values, the Gibbs sampler <strong>in</strong>dicates how to simulate<br />

the next draw from the posterior, u …i‡1† , from the present draw u …i† . In the<br />

simple form described above, each element of u …i‡1† is updated by tak<strong>in</strong>g a<br />

sample from the appropriate full conditional distribution. The Gibbs sampler<br />

is, <strong>in</strong> fact, a special case of a more general algorithm for produc<strong>in</strong>g MCMC<br />

samples. This algorithm was orig<strong>in</strong>ally due to Metropolis et al. (1953) and<br />

extended by Hast<strong>in</strong>gs (1970)Ðit is now generally referred to as the MetropolisÐHast<strong>in</strong>gs<br />

algorithm.<br />

The algorithm has aspects which are rem<strong>in</strong>iscent of the method of rejection<br />

sampl<strong>in</strong>g discussed <strong>in</strong> §16.3, <strong>in</strong> that the generation of u …i‡1† requires the specification<br />

of a proposal distribution from which to draw a candidate value, uC. The<br />

algorithm ensures the correct distribution for u …i‡1† by accept<strong>in</strong>g uC (i.e. sett<strong>in</strong>g<br />

u …i‡1† ˆ uC) with an astutely chosen probability. However, unlike the rejection<br />

sampl<strong>in</strong>g method, multiple draws are not needed <strong>in</strong> order to determ<strong>in</strong>e u …i‡1† Ðif<br />

uC is not accepted, then u …i‡1† ˆ u …i† .<br />

The results will be valid for any proposal distribution, although the closer the<br />

proposal distribution approximates the posterior, the more efficient will be the<br />

method. The posterior is p…ujy† and the proposal distribution must have a<br />

density which is a function of a vector of the same dimension as u, q…uju …i† †,<br />

which can depend on both y and u …i† , although dependence on y has been<br />

suppressed <strong>in</strong> the notation. The candidate value, uC, is drawn from this distribution<br />

and is accepted as u …i‡1† with probability

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

Saved successfully!

Ooh no, something went wrong!