The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Provides a function that implements the acceptance-rejection method in an optimized manner to generate pseudo-random observations for discrete or continuous random variables. Proposed by von Neumann J. (1951), <https://mcnp.lanl.gov/pdf_files/>, the function is optimized to work in parallel on Unix-based operating systems and performs well on Windows systems. The acceptance-rejection method implemented optimizes the probability of generating observations from the desired random variable, by simply providing the probability function or probability density function, in the discrete and continuous cases, respectively. Implementation is based on references CASELLA, George at al. (2004) <https://www.jstor.org/stable/4356322>, NEAL, Radford M. (2003) <https://www.jstor.org/stable/3448413> and Bishop, Christopher M. (2006, ISBN: 978-0387310732).
Version: | 0.1.2 |
Imports: | assertthat, cli, ggplot2, glue, numDeriv, purrr, Rcpp, rlang, scales, scattermore |
LinkingTo: | Rcpp, RcppArmadillo |
Suggests: | knitr, rmarkdown, cowplot, tictoc, testthat (≥ 3.0.0) |
Published: | 2024-05-07 |
DOI: | 10.32614/CRAN.package.AcceptReject |
Author: | Pedro Rafael D. Marinho [aut, cre], Vera Lucia Damasceno Tomazella [ctb] |
Maintainer: | Pedro Rafael D. Marinho <pedro.rafael.marinho at gmail.com> |
BugReports: | https://github.com/prdm0/AcceptReject/issues/ |
License: | GPL (≥ 3) |
URL: | https://prdm0.github.io/AcceptReject/ |
NeedsCompilation: | yes |
Materials: | README NEWS |
CRAN checks: | AcceptReject results |
Reference manual: | AcceptReject.pdf |
Vignettes: |
Acceptance and rejection method Specifying a base probability density function QQ-Plot |
Package source: | AcceptReject_0.1.2.tar.gz |
Windows binaries: | r-devel: AcceptReject_0.1.2.zip, r-release: AcceptReject_0.1.2.zip, r-oldrel: AcceptReject_0.1.2.zip |
macOS binaries: | r-release (arm64): AcceptReject_0.1.2.tgz, r-oldrel (arm64): AcceptReject_0.1.2.tgz, r-release (x86_64): AcceptReject_0.1.2.tgz, r-oldrel (x86_64): AcceptReject_0.1.2.tgz |
Old sources: | AcceptReject archive |
Please use the canonical form https://CRAN.R-project.org/package=AcceptReject to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.