Ratio-of-uniforms method

ID: ratio-of-uniforms-method

For a nonnegative integrable function with integral , its ratio-of-uniforms region has area . A uniform point in the region transforms under with Jacobian determinant ; integrating over gives density . A rectangle containing the region gives a practical rejection sampling algorithm using only uniform random variables, with acceptance .

New to topics? Read the docs here!