Overview
Slice Sampling is a randomness and sampling method that generates samples, estimates, or pseudorandom values while controlling distribution and variance. It is most useful when repeatable sample behavior matters as much as raw randomness.
Slice Sampling samples from a probability distribution for estimation.
Compact metadata for implementation and discovery.
Slice Sampling is a randomness and sampling method that generates samples, estimates, or pseudorandom values while controlling distribution and variance. It is most useful when repeatable sample behavior matters as much as raw randomness.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n)
Worst
O(n^2)
Space
O(n)
y ~ uniform(0, f(x_current))Samples an auxiliary height under the target density before drawing a new state.
Show samples accumulating over the target distribution or sample space.
Slice Sampling operates in O(n) time and O(n) space within the Randomness and Sampling family. Key governing relation: y ~ uniform(0, f(x_current)). Often compared with Rejection Sampling and Importance Sampling.
What each reference supports for this entry.
Reference for slice sampling, auxiliary-height variables, stepping-out, and shrinkage procedures.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Slice sampling samples from an auxiliary slice instead of using an explicit Metropolis proposal ratio.
Slice sampling can be interpreted as Gibbs sampling over an augmented distribution.