tuneMD {eiPack} | R Documentation |
Generate tuning parameters for MD model
Description
An adaptive algorithm to generate tuning parameters for the MCMC
algorithm implemented in ei.MD.bayes
. Since we are
drawing each parameter one at a time, target acceptance rates are between 0.4 to 0.6.
Usage
tuneMD(formula, covariate = NULL, data, ntunes = 10,
totaldraws = 10000, ...)
Arguments
formula |
A formula of the form |
covariate |
An R formula for the optional covariate in the form
|
data |
data frame containing the variables specified in |
ntunes |
number of times to iterate the tuning algorithm |
totaldraws |
number of iterations for each tuning run |
... |
additional arguments passed to |
Value
A list containing matrices of tuning parameters.
Author(s)
Olivia Lau <olivia.lau@post.harvard.edu>
See Also
[Package eiPack version 0.2-2 Index]