Download NIMBLE User Manual
Transcript
CHAPTER 7. MCMC 74 Timing output$timing contains a named vector of timing information for each algorithm, and the compile time for NIMBLE (in minutes). Plots Executing the MCMC Suite provides and saves several plots. These include traceplots and posterior density plots for each monitored node, under each algorithm. Note that the generation of MCMC Suite plots specifically in Rstudio may result in several warning messages from R (regarding graphics devices), but will function without any problems. 7.7.3 Custom arguments to MCMC Suite An MCMC Suite is highly customizable, in terms of all of the following: • Nodes to monitor • Number of MCMC iterations • Thinning interval • Burn-in • Summary statistics • MCMC algorithms argument: monitors Character vector specifying the nodes and/or vectors to monitor. argument: niter Integer specifying the number of MCMC iterations to run. argument: thin Integer specifying the thinning interval. argument: burnin Integer specifying the number of samples to discard from all chains of MCMC samples. Samples are discarded prior to thinning.