Description Usage Arguments Value Author(s) References Examples
Adaptive-Rejection Sampler
1 | Implementing an Adaptive-Rejection Sampler
|
density |
A probability density function |
n |
Number of samples to generate |
lb |
The lower bound of the domain |
ub |
The upper bound of the domain |
n samples from the probability density function
Rachel Hu, Lin Yang, Jonathan Chen
Adaptive Rejection Sampling for Gibbs Sampling W. R. Gilks and P. Wild (1992)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.