Description Usage Arguments Value Author(s) Examples
simulate.posterior will simulate draws from a posterior density.
1 2 |
object |
posterior object |
nsim |
number of simulate iterates |
seed |
starting seed of random number generator |
... |
optional arguments; use exact=TRUE to simulate from the exact posterior density and the scale argument indicates the scale value for the Metropolis random walk algorithm |
sample |
matrix of simulated draws of posterior |
arate |
acceptance rate if the Metropolis random walk algorithm is used |
Jim Albert
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.