For distributions whose probability density functions are log-concave, the adaptive rejection sampling algorithm can be used to build envelope functions for sampling. For others, we can use the modified adaptive rejection sampling algorithm, the concave-convex adaptive rejection sampling algorithm and the adaptive slice sampling algorithm. So we designed an R package mainly including 4 functions: rARS(), rMARS(), rCCARS() and rASS(). These functions can realize sampling based on the algorithms above.
| Version: | 1.1.1 |
| Imports: | pracma, stats |
| Published: | 2018-03-21 |
| Author: | Dong Zhang |
| Maintainer: | Dong Zhang <dzhang0716 at 126.com> |
| License: | GPL-2 |
| NeedsCompilation: | no |
| CRAN checks: | AdapSamp results |
| Reference manual: | AdapSamp.pdf |
| Package source: | AdapSamp_1.1.1.tar.gz |
| Windows binaries: | r-devel: AdapSamp_1.1.1.zip, r-release: AdapSamp_1.1.1.zip, r-oldrel: AdapSamp_1.1.1.zip |
| macOS binaries: | r-release: AdapSamp_1.1.1.tgz, r-oldrel: AdapSamp_1.1.1.tgz |
| Old sources: | AdapSamp archive |
Please use the canonical form https://CRAN.R-project.org/package=AdapSamp to link to this page.