Gibbs
Robert and Casella (2013) gives the following algorithm,
while Liu, Jun S. (2008) introduces two types of Gibbs sampling strategy.
Bivariate Gibbs sampler
It is easy to implement this sampler:
Completion Gibbs Sampler
Example:
We can use the following Julia program to implement this algorithm.
Slice Sampler
Robert and Casella (2013) introduces the following slice sampler algorithm,
and Liu, Jun S. (2008) also presents the slice sampler with slightly different expression:
In my opinion, we can illustrate this algorithm with one dimensioanl case. Suppose we want to sample from normal distribution (or uniform distribution), we can sample uniformly from the region encolsed by the coordinate axis and the density function, that is a bell shape (or a square).
Consider the normal distribution as an instance.
It is also easy to write the following Julia program.
Data Augmentation
A special case of Completion Gibbs Sampler.
Let's illustrate the scheme with grouped counting data.
And we can obtain the following algorithm,
But it seems to be not obvious to derive the above algorithm, so I wrote some more details
Liu, Jun S. (2008) also presents the DA algorithm which based on Bayesian missing data problem.
Then he argues that copies of in each iteration is not really necessary. And briefly summary the DA algorithm:
It seems to agree with the algorithm presented by Robert and Casella (2013).
Another example:
It seems that we do not need to derive the explicit form of , if we can directly obtain the conditional distribution. We can use the following Julia program to sample.
Reversible Data Augmentation
Reversible Gibbs Sampler
Random Sweep Gibbs Sampler
Random Gibbs Sampler
Hybrid Gibbs Samplers
Metropolization of the Gibbs Sampler
Let us illuatrate this algorithm with the following example.
Last updated