View source: R/get_deriv_only.R
get_deriv_only | R Documentation |
Compute the derivative of the log-normalising constant for a given tempering scalar.
get_deriv_only( a, compiled.model.prior, stan.list, pars = NA, niter = 5000, strict = FALSE, step_size = 0.99, tdepth = 15 )
a |
the tempering scalar. |
compiled.model.prior |
a |
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 with the stanfit
object, the first and second derivatives of the log-normalising constant.
get_deriv_and_mal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.