Skip to content

Releases: nicholasjclark/mvgam

v1.1.3

05 Sep 23:58
Compare
Choose a tag to compare

mvgam 1.1.3

New functionalities

  • Allow intercepts to be included in process models when trend_formula is supplied. This breaks the assumption that the process has to be zero-centred, adding more modelling flexibility but also potentially inducing nonidentifiabilities with respect to any observation model intercepts. Thoughtful priors are a must for these models
  • Added standata.mvgam_prefit, stancode.mvgam and stancode.mvgam_prefit methods for better alignment with 'brms' workflows
  • Added 'gratia' to Enhancements to allow popular methods such as draw() to be used for 'mvgam' models if 'gratia' is already installed
  • Added an ensemble.mvgam_forecast method to generate evenly weighted combinations of probabilistic forecast distributions
  • Added an irf.mvgam method to compute Generalized and Orthogonalized Impulse Response Functions (IRFs) from models fit with Vector Autoregressive dynamics

Deprecations

  • The drift argument has been deprecated. It is now recommended for users to include parametric fixed effects of "time" in their respective GAM formulae to capture any expected drift effects

Bug fixes

  • Added a new check to ensure that exception messages are only suppressed by the silent argument if the user's version of 'cmdstanr' is adequate
  • Updated dependency for 'brms' to version >= '2.21.0' so that read_csv_as_stanfit can be imported, which should future-proof the conversion of 'cmdstanr' models to stanfit objects (#70)

v1.1.2

01 Jul 23:27
Compare
Choose a tag to compare

This version brings several new features and efficiency improvements

  • Added options for silencing some of the 'Stan' compiler and modeling messages using the silent argument in mvgam()
  • Moved a number of packages from 'Depends' to 'Imports' for simpler package loading and fewer potential masking conflicts
  • Improved efficiency of the model initialisation by tweaking parameters of the underlying 'mgcv' gam object's convergence criteria, resulting in much faster model setups
  • Added an option to use trend_model = 'None' in State-Space models, increasing flexibility by ensuring the process error evolves as white noise (#51)
  • Added an option to use the non-centred parameterisation for some autoregressive trend models,
    which speeds up mixing most of the time
  • Updated support for multithreading so that all observation families (apart from nmix()) can now be modeled with multiple threads
  • Changed default priors on autoregressive coefficients (AR1, AR2, AR3) to enforce
    stationarity, which is a much more sensible prior in the majority of contexts
  • Fixed a small bug that prevented conditional_effects.mvgam() from handling effects with three-way interactions

v1.10

22 Mar 05:00
Compare
Choose a tag to compare

This release brings functionality for the Binomial, Beta-Binomial and Bernoulli distributions

v1.09

16 Jan 11:07
Compare
Choose a tag to compare

This release brings a new family, nmix(), which handles Poisson Binomial N-mixture models for count data with imperfect detection. It also uses vectorized operations for vastly improved performance of Dunn Smyth residual calculations

v1.08

22 Nov 01:56
Compare
Choose a tag to compare

This release brings piecewise linear and logistic trends with automatic changepoint selection, similar to what is available in Facebook's popular prophet package. It also includes a few bug fixes to make gp() effects more stable and versatile

v1.07

02 Nov 06:10
Compare
Choose a tag to compare

This release coincides with new additions for moving average terms in autoregressive process models, as well as the possibility to estimate correlated process errors for RW and AR(1-3) models when working with multivariate time series

v1.06

06 Oct 11:27
Compare
Choose a tag to compare

This version brings support for marginaleffects, state-space models using trend_formula, stationary VAR trends and gp() terms

v1.04

29 Mar 04:12
Compare
Choose a tag to compare

Last release that only allows non-negative discrete outcomes

v1.03

29 Jul 10:49
Compare
Choose a tag to compare

Final manuscript release

v1.0.1

28 Jul 03:34
Compare
Choose a tag to compare

This release adds support for cmdstanr to work as the backend when fitting models in Stan, which improves sampling efficiency and drastically speeds compilation compared to rstan (on Windows machines)