Description Usage Arguments Details Value See Also
Metropolis samplers for Stella or Estelle.
1 2 3 4 5 | estelleMetropolis(model, proposal.x, proposal.z, x0 = NULL, z0 = NULL,
iters = 1000L, thin = 10L, chains = 1L, verbose = interactive())
stellaMetropolis(model, proposal.x, x0 = NULL, iters = 1000L, thin = 10L,
chains = 1L, verbose = interactive())
|
model |
a model structure as generated by
|
proposal.x |
function for drawing proposals for x. |
proposal.z |
function for drawing proposals for z. |
x0 |
Starting values for twilight locations x. |
z0 |
Starting values for intermediate locations z. |
iters |
number of samples to draw. |
thin |
rate at which to thin samples. |
chains |
number of chains to sample. |
verbose |
report progress at prompt? |
These functions draw samples form posterior for the Stella or Estelle model by the Metropolis algorithm.
If there are r samples drawn for each of q chains of p parameters at n locations, Stella will return a list containing
|
the model structure |
|
a list of n x p x r arrays of twilight locations from the q chains |
While in addition Estelle will return
|
a list of (n-1) x p x r arrays of intermediate locations from the q chains |
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.