New as of version 0.9.1:
The manual provides information for those wishing to use NIMBLE to work with their own models as well as algorithm developers wishing to write algorithms using NIMBLE. Old versions of the manual can be found here.
Please see our collection of Github repositories with training materials for materials from our various NIMBLE training workshops, including workshops developed for statisticans and workshops developed for ecologists.
- Examples of spatial and spatio-temporal models (specifically for disease mapping) provided by Andrew Lawson.
- Blog post on converting from JAGS or BUGS to NIMBLE.
- First and second blog posts on support for Bayesian non-parametric distributions.
- Blog post on reversible jump sampling for variable selection.
- Using NIMBLE for the examples in the book Applied Hierarchical Modeling in Ecology..
Some papers about NIMBLE
Motivation and design of NIMBLE:
de Valpine, P., D. Turek, C.J. Paciorek, C. Anderson-Bergman, D. Temple Lang, and R. Bodik. 2017. Programming with models: writing statistical algorithms for general model structures with NIMBLE. Journal of Computational and Graphical Statistics 26:403-413. https://doi.org/10.1080/10618600.2016.1172487.
NIMBLE for Hidden Markov Models:
Turek, D., P. de Valpine, and C.J. Paciorek. 2016. Efficient Markov chain Monte Carlo sampling for hierarchical hidden Markov models. Environmental and Ecological Statistics 23:549–564. https://doi.org/10.1007/s10651-016-0353-z
NIMBLE for Ecological Models:
One size does not fit all: Customizing MCMC methods for hierarchical models using NIMBLE. Ecology & Evolution 10: 2385– 2416. https://doi.org/10.1002/ece3.6053, P.
Sequential Monte Carlo (particle filtering) methods in NIMBLE:
Michaud, N., P. de Valpine, D. Turek, C.J. Paciorek, and D. Nguyen. 2020. Sequential Monte Carlo Methods in the nimble R Package. To appear in Journal of Statistical Software. https://arxiv.org/abs/1703.06206.
Spatial Epidemiology in NIMBLE:
Lawson, A.B. 2020. NIMBLE for Bayesian Disease Mapping. Spatial and Spatio-temporal Epidemiology 33. https://doi.org/10.1016/j.sste.2020.100323
NIMBLE for item response theory models:
Paganin, S., C.J. Paciorek, C. Wehrhahn, A. Rodríguez, S. Rabe-Hesketh, and P. de Valpine. 2021. Computational methods for Bayesian semiparametric Item Response Theory models. https://arxiv.org/abs/2101.11583.
Packages with extensions and applications of NIMBLE
A partial list of packages that extend or use nimble.
- nimbleSMC: all of NIMBLE’s sequential Monte Carlo (aka particle filtering) algorithms; migrated out of the core NIMBLE package as of version 0.10.0.
- nimbleEcology: distributions commonly used in ecology for use in nimble models
- nimbleSCR: utility functions, distributions, and methods for improving Markov chain Monte Carlo (MCMC) sampling efficiency for ecological spatial capture-recapture (SCR) models.
- bayesNSGP: Bayesian analysis of (non-stationary) Gaussian processes, using nimble as the computational engine.
- bcgam: Bayesian constrained generalized linear models
- bridgesampling: functions for estimating marginal likelihoods, Bayes factors, posterior model probabilities, and normalizing constants in general, via different versions of bridge sampling.
- nimbleDistance: user-defined distributions that can be used to implement distance sampling models in nimble.
- nimbleCarbon: utility functions and bespoke probability distributions for the Bayesian analyses of radiocarbon dates.