diff --git a/NEWS.md b/NEWS.md index ab073c83..01c5dfb9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,10 @@ ## New functionalities * Added a `stability.mvgam` method to compute stability metrics from models fit with Vector Autoregressive dynamics (#21) +## Bug fixes +* Fixed a minor bug in the way `trend_map` recognises levels of the `series` factor +* Bug fix to ensure `lfo_cv` recognises the actual times in `time`, just in case the user supplies data that doesn't start at `t = 1`. Also updated documentation to better reflect this + # 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 diff --git a/docs/news/index.html b/docs/news/index.html index 4ad2866a..32707aee 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -62,6 +62,11 @@

New functionalities

+
+

Bug fixes

+

mvgam 1.1.3

CRAN release: 2024-09-04

diff --git a/docs/reference/Rplot001.png b/docs/reference/Rplot001.png index ecd443cf..17a35806 100644 Binary files a/docs/reference/Rplot001.png and b/docs/reference/Rplot001.png differ diff --git a/docs/reference/lfo_cv.mvgam.html b/docs/reference/lfo_cv.mvgam.html index 706f9fab..35bee4e8 100644 --- a/docs/reference/lfo_cv.mvgam.html +++ b/docs/reference/lfo_cv.mvgam.html @@ -97,10 +97,12 @@

ArgumentsExamples series = 1) # Fit an appropriate model -mod_ar2 <- mvgam(y ~ s(season, bs = 'cc', k = 6), +mod_ar2 <- mvgam(y ~ s(season, bs = 'cc', k = 6), trend_model = AR(p = 2), family = poisson(), data = dat$data_train, @@ -192,7 +194,7 @@

Examples chains = 2) # Fit a less appropriate model -mod_rw <- mvgam(y ~ s(season, bs = 'cc', k = 6), +mod_rw <- mvgam(y ~ s(season, bs = 'cc', k = 6), trend_model = RW(), family = poisson(), data = dat$data_train,