runLossDevModel,LossDevModelInput-method {BALD} | R Documentation |
A method to run models in BALD.
object |
The object of type |
burnIn |
An integer to represent the number of initial MCMC iterations to be discarded. (The adaptive phase ( |
sampleSize |
An integer to represent the number of MCMC iterations to execute following the |
thin |
Keep every |
nChains |
The number of MCMC chains to run. |
nAddapt |
The length of the adaptive phase for the MCMC algorithm. (Default is |
This method returns a valid output object or flags an error.
This method is suitable for classes properly derived from class LossDevModelInput
that properly override “getJagsData
” and “getJagsInits
”
and whose output type has a valid getModelOutputNodes
method.
BALD sets the seed in each chain from a random number generated inside of R
.
So to make a run reproducible, all one must do is set the seed (using set.seed
) in R
prior to the execution of this method.
An object of class LossDevModelOutput
.