Description Usage Arguments Value Author(s) References
Flipped portkey two-coin algorithm: returns the result of the accept-reject step of a Flipped Portkey Barker's acceptance probability.
Note: the flipped portkey is the same as Barker's for beta = 1
.
1 | flipped.portkey(prop, curr, beta = 0.99, pf, Cprop, Ccurr, ...)
|
prop |
The proposed value in the MCMC step |
curr |
The current value in the MCMC step |
beta |
The portkey parameter with default being .99. If |
pf |
A function that produces a Bern(p) realization, with argument |
Cprop |
Upper bound for the inverse target at the proposed value |
Ccurr |
Upper bound for the inverse target at the current value |
... |
additional arguments that go into |
a variable x
which is either curr
or prop
and integer loops
that returns the number
of loops the Bernoulli factory took
Dootika Vats, dootika@iitk.ac.in
Vats, D., Gonçalves, F. B., Łatuszyński, K., Roberts G. O., Efficient Bernoulli factory MCMC for intractable posteriors (2020+), arxiv.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.