qreject
qreject is a term used in statistics and computer science to denote a family of rejection-sampling techniques and the accompanying open-source software framework designed to improve efficiency when drawing samples from complex probability distributions. The core idea of qreject is to construct quantile-based envelopes around a target distribution, enabling proposals to be accepted with higher probability and reducing the number of discarded samples compared with classical rejection sampling. The approach is applicable to both continuous and discrete distributions and is intended to integrate with existing probabilistic programming workflows.
The qreject project typically provides a reference implementation and documentation across multiple programming languages, along with
In practice, qreject is used in Bayesian inference and other simulation-heavy contexts where efficient sampling from