-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDESCRIPTION
More file actions
74 lines (74 loc) · 2.95 KB
/
DESCRIPTION
File metadata and controls
74 lines (74 loc) · 2.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Package: rmcmc
Title: Robust Markov Chain Monte Carlo Methods
Version: 0.1.2.9000
Authors@R: c(
person(c("Matthew", "M."), "Graham", , "m.graham@ucl.ac.uk",
role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-9104-7960")),
person("Samuel", "Livingstone", role = "aut",
comment = c(ORCID = "0000-0002-7277-086X")),
person("University College London", role = "cph"),
person("Engineering and Physical Sciences Research Council", role = "fnd")
)
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.us/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.
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
Suggests:
bridgestan (>= 2.5.0),
knitr,
posterior,
progress,
ramcmc,
rmarkdown,
testthat (>= 3.0.0)
Config/testthat/edition: 3
Config/Needs/bridgestan:
bridgestan=url::https://community.r-multiverse.org/src/contrib/bridgestan_2.7.0.tar.gz
Config/Needs/check:
any::rcmdcheck
Config/Needs/coverage:
any::covr,
any::xml2
Config/Needs/lint:
any::lintr,
any::cyclocomp
Config/Needs/style:
any::styler
Config/Needs/website:
any::pkgdown,
ggplot2,
bayesplot,
rjson,
hexbin,
gridExtra
URL: https://github.com/UCL/rmcmc, http://github-pages.ucl.ac.uk/rmcmc/
BugReports: https://github.com/UCL/rmcmc/issues
Imports:
Matrix,
rlang,
withr
VignetteBuilder: knitr