For distributions whose probability density functions are log- concave, Adaptive Rejection Sampling (ARS) algorithm can be used to build for sampling. For others, we can use Modifed Adaptive Rejection Sampling (MARS) algorithm, Concave-Convex Adaptive Rejection (CCARS) Sampling algorithm and Adaptive Slice Sampling (ASS) algorithm So we designed an R package including mainly 4 functions: rARS, rMARS, rCCARS, and rASS. These functions can realize sampling based on the algorithms above.
Package details |
|
---|---|
Author | Dong Zhang [cre] |
Maintainer | Dong Zhang <dzhang0716@126.com> |
License | GPL-2 |
Version | 1.0 |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.