Other packages > Find by keyword >

rmcmc  

Robust Markov Chain Monte Carlo Methods
View on CRAN: Click here


Download and install rmcmc package within the R console
Install from CRAN:
install.packages("rmcmc")

Install from Github:
library("remotes")
install_github("cran/rmcmc")

Install by package version:
library("remotes")
install_version("rmcmc", "0.1.1")



Attach the package and use:
library("rmcmc")
Maintained by
Matthew M. Graham
[Scholar Profile | Author Map]
First Published: 2025-02-04
Latest Update: 2025-02-04
Description:
Functions for simulating Markov chains using the Barker proposal to compute Markov chain Monte Carlo (MCMC) estimates of expectations with respect to a target distribution on a real-valued vector space. The Barker proposal, described in Livingstone and Zanella (2022) <doi:10.1111/rssb.12482>, is a gradient-based MCMC algorithm inspired by the Barker accept-reject rule. It combines the robustness of simpler MCMC schemes, such as random-walk Metropolis, with the efficiency of gradient-based methods, such as the Metropolis adjusted Langevin algorithm. The key function provided by the package is sample_chain(), which allows sampling a Markov chain with a specified target distribution as its stationary distribution. The chain is sampled by generating proposals and accepting or rejecting them using a Metropolis-Hasting acceptance rule. During an initial warm-up stage, the parameters of the proposal distribution can be adapted, with adapters available to both: tune the scale of the proposals by coercing the average acceptance rate to a target value; tune the shape of the proposals to match covariance estimates under the target distribution. As well as the default Barker proposal, the package also provides implementations of alternative proposal distributions, such as (Gaussian) random walk and Langevin proposals. Optionally, if 'BridgeStan's R interface <https://roualdes.github.io/bridgestan/latest/languages/r.html>, available on GitHub <https://github.com/roualdes/bridgestan>, is installed, then 'BridgeStan' can be used to specify the target distribution to sample from.
How to cite:
Matthew M. Graham (2025). rmcmc: Robust Markov Chain Monte Carlo Methods. R package version 0.1.1, https://cran.r-project.org/web/packages/rmcmc. Accessed 06 Apr. 2025.
Previous versions and publish date:
No previous versions
Other packages that cited rmcmc R package
View rmcmc citation profile
Other R packages that rmcmc depends, imports, suggests or enhances
Complete documentation for rmcmc
Functions, R codes and Examples using the rmcmc R package
Full rmcmc package functions and examples
Downloads during the last 30 days
03/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/05Downloads for rmcmc05101520253035404550TrendBars

Today's Hot Picks in Authors and Packages

danstat  
R Client for the Statistics Denmark Databank API
The purpose of the package is to enable an R function interface into the Statistics Denmark Databank ...
Download / Learn more Package Citations See dependency  
spCP  
Spatially Varying Change Points
Implements a spatially varying change point model with unique intercepts, slopes, variance intercep ...
Download / Learn more Package Citations See dependency  
listarrays  
A Toolbox for Working with R Arrays in a Functional Programming Style
A toolbox for R arrays. Flexibly split, bind, reshape, modify, subset and name arrays. ...
Download / Learn more Package Citations See dependency  
FuzzyQ  
Fuzzy Quantification of Common and Rare Species
Fuzzy clustering of species in an ecological community as common or rare based on their abundance a ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
ider  
Various Methods for Estimating Intrinsic Dimension
An implementation of various methods for estimating intrinsic dimension of vector-valued dataset or ...
Download / Learn more Package Citations See dependency  

23,990

R Packages

207,311

Dependencies

64,809

Author Associations

23,991

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA