Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

To me, the two are similar in the sense that slice sampling is just Gibbs sampling for the uniform distribution over the area under the plot of the density function. Is that right?

I was wondering if someone can compare between slice sampling and Gibbs sampling.

For example, in terms of rate of convergence, which one is better?

If you can think about other aspects, please feel free to reply.

Thanks and regards!

share|improve this question

1 Answer

up vote 1 down vote accepted

I am not sure if the question is well posed.

If you can use both the gibbs sampler and slice sampling to sample from a posterior I would use the gibbs sampler as the slice sampler seems unnecessary to me. Use of a slice sampler introduces additional variables which at the very least increases run time for the sampler. So, I am not sure why one would use the slice sampler if we can use the gibbs sampler. If you cannot use the gibbs but you can use the slice then your question seems irrelevant.

Thus, I am not sure why one would consider handicapping the sampler by using the slice when a gibbs sampler can be used.

share|improve this answer
Thanks! What kinds of problem can be solved by Gibbs but not or not easily by slice sampling? What by slice but not (easily) by Gibbs sampling? – Tim Nov 22 '10 at 16:05
If you can use gibbs you can use the slice as well. See the wikipedia link for an example of a slice sampler for the normal(0,1) density. An example where the gibbs is not possible is when you cannot identify the distribution of interest but the density function can be inverted. – user28 Nov 22 '10 at 16:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.