Dynamic determination of optimum chains and cores for MCMC in R / Stan.
Figure 1. MCMC parallelisation and Stan model inference speedup. Simple model (top) vs complex model (bottom). Image adapted from Stenborg (2023), below.
- adaptive_mcmc_parallelisation_stan.R Two functions implementing the adaptive parallelisation.
- R.
- An R IDE, e.g., RStudio (optional).
Stenborg, TN, 2023, "Adaptive MCMC Parallelisation in Stan", in 25th International Congress on Modelling and Simulation. Modelling and Simulation Society of Australia and New Zealand, 2023.
