ROCFTP.MMS: Perfect Sampling

The algorithm provided in this package generates perfect sample for unimodal or multimodal posteriors. Read Once Coupling From The Past, with Metropolis-Multishift is used to generate a perfect sample for a given posterior density based on the two extreme starting paths, minimum and maximum of the most interest range of the posterior. It uses the monotone random operation of multishift coupler which allows to sandwich all of the state space in one point. It means both Markov Chains starting from the maximum and minimum will be coalesced. The generated sample is independent from the starting points. It is useful for mixture distributions too. The output of this function is a real value as an exact draw from the posterior distribution.

Version: 1.0.0
Depends: R (≥ 4.0.0)
Imports: stats (≥ 4.0.0), vctrs (≥ 0.3.8)
Suggests: rmarkdown, knitr, testthat (≥ 3.0.0)
Published: 2022-02-18
DOI: 10.32614/CRAN.package.ROCFTP.MMS
Author: Majid Nabipoor [aut, cre, cph], Duncan Murdoch [aut]
Maintainer: Majid Nabipoor <nabipoor at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-us
Materials: README NEWS
CRAN checks: ROCFTP.MMS results


Reference manual: ROCFTP.MMS.pdf


Package source: ROCFTP.MMS_1.0.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ROCFTP.MMS_1.0.0.tgz, r-oldrel (arm64): ROCFTP.MMS_1.0.0.tgz, r-release (x86_64): ROCFTP.MMS_1.0.0.tgz, r-oldrel (x86_64): ROCFTP.MMS_1.0.0.tgz


Please use the canonical form to link to this page.