View source: R/build_grid_derivOnly.R
build_grid_derivOnly | R Documentation |
Build grid of values for the tempering scalar along with the (first and second) derivatives of the log-normalising constant.
build_grid_derivOnly( compiled.model.prior, eps = 0.01, M = 10, J = 15, v1 = 5, v2 = 10, stan.list, pars, niter = 5000, strict = FALSE, step_size = 0.99, tdepth = 15 )
compiled.model.prior |
a |
eps |
grid increment factor. Default is |
M |
maximum value for the tempering scalar. Default is |
J |
number of grid points. Default is |
v1 |
scalar that controls the grid spacing in the minimum-finding phase.
Default is |
v2 |
scalar that controls the grid spacing in the "gap-plugging" phase.
Default is |
stan.list |
list with data for the Stan model. |
pars |
which parameters to track. |
niter |
number of iterations, defaults to |
strict |
whether to use strict computational specs. |
step_size |
if |
tdepth |
if |
a list containing a data.frame with the grid points, log-normalising constant and derivatives.
If pars != NA
, MCMC summaries for selected parameters are also returned.
build_grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.