tuneMD {eiPack} | R Documentation |
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.
tuneMD(formula, covariate = NULL, data, ntunes = 10,
totaldraws = 10000, ...)
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 |
A list containing matrices of tuning parameters.
Olivia Lau <olivia.lau@post.harvard.edu>