Write , so . The finite envelope condition means that almost everywhere; in particular, the proposal must cover the support of the target.
For each independent proposal , generate an independent and accept precisely when
Discard a rejected proposal and continue. The ratio is in and is needed only where . Neither evaluation of nor prior knowledge of the normalized target is required.
To prove the output law, for any measurable set the joint probability of acceptance and a proposal in is
Dividing by the total acceptance probability gives , the target probability. Independent proposal-uniform pairs give independent accepted observations. With a finite proposal list there can be no accepted value; with continued independent trials, acceptance eventually occurs almost surely because .
The acceptance mass for an unnormalized rejection envelope follows by integrating the proposal-specific acceptance probability:
The inequality also gives , so this is a valid probability. It is the same at every independent trial.
If indicates acceptance of the th proposal, then are independent Bernoulli distribution variables with parameter . Hence the accepted count satisfies
Its variance is . Conditional on any acceptance pattern, the accepted values have independent target probability density function ; mixing over patterns retains this product law conditional on their count.
For normal rejection sampling with an exponential envelope, complete the square in the probability density function ratio:
The maximum occurs at , which lies in the support because . Thus
The PDF exponent is inside the square root; this distinction is lost in the converted TeX.
The acceptance rule simplifies to
An exponential proposal can be generated as from an independent uniform distribution value . Since the target is normalized, the overall acceptance probability is . To maximize it,
Therefore the optimal rate is , with acceptance probability .
Finally, give each accepted half-normal distribution value an independent fair sign and output . On each half-line its probability density function is half the reflected half-normal distribution probability density function:
Consequently . The sign must be drawn independently; rejection itself does not supply it.

Articles by others on the same topic (0)

There are currently no matching articles.