Description Usage Arguments Details Value Author(s) Examples
Function implementing the No-U-Turn Sampler (NUTS)
1 | nuts_da(f, M, Madapt, theta0, delta = 0.6)
|
f |
a function returning list with |
M |
the number of samples to generate |
Madapt |
the number of steps of burn-in/how long to run the dual |
theta0 |
is a vector with the desired initial setting of the parameters. |
delta |
hould be between 0 and 1, and is a target HMC acceptance probability. Defaults to 0.6 if unspecified. |
todo: more detail on arguments and provenance...epsilon
list(samples=samples,epsilon=epsilon)
, samples being a matrix with columns parameters and rows samples
Pete Dodd
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.