Skip to content

v1.4.0

Latest

Choose a tag to compare

@paciorek paciorek released this 16 Dec 16:49
· 7 commits to devel since this release

NIMBLE is a system for building and sharing analysis methods for statistical models, especially for hierarchical models and computationally-intensive methods (such as MCMC, Laplace approximation, and SMC).

Version 1.4.0 provides important new and improved functionality, plus some bug fixes and improved error trapping.

The new and improved functionality includes:

  • A new INLA-like deterministic nested posterior approximation whose methodology borrows from both INLA and the extended latent Gaussian models approach of the aghq package in R. This new approximation and NIMBLE’s existing Laplace and AGHQ approximation now live in a new package, nimbleQuad, rather than in the core nimble package.
  • A new system for computing and storing "derived quantities" during MCMC execution, allowing users to record additional quantities of interest at every saved MCMC iteration (i.e., following the thinning interval, or some other user-chosen interval). Derived quantities provided by NIMBLE include means, variances, model log-densities, and predictive nodes. Users can also define their own derived quantities.
  • Matrix exponential functionality via expm and expAv.
  • The ability to provide multiple code chunks to nimbleCode for greater flexibility in composing models.
  • Greatly improved efficiency and memory use of AD system and making efficiency improvements to Laplace/AGHQ approximation.

In addition to the new and improved functionality above, other bug fixes, improved error trapping, and enhancements include:

  • Removing some documentation references to "BUGS" when referring to models.
  • Allowing users to turn off model$checkBasics via a new option.
  • Better handling inconsistencies between inits and dimensions.
  • Making minor improvements to the Pólya-gamma sampler.
  • Generalizing the system of dynamically generating conjugate MCMC samplers, to allow for multivariate parameters of dependent distributions to have distinct sizes from the dependent node itself .
  • Making MCEM append new samples when increasing sample size using the ascent-based method, rather than starting a new sample.
  • Various enhancements to error trapping and warning messages.
  • A variety of minor bug fixes.