diff --git a/docs/reference/figures/README-unnamed-chunk-12-1.png b/docs/reference/figures/README-unnamed-chunk-12-1.png index 1e306527..f8230545 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-12-1.png and b/docs/reference/figures/README-unnamed-chunk-12-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-13-1.png b/docs/reference/figures/README-unnamed-chunk-13-1.png index b424594d..042e20d4 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-13-1.png and b/docs/reference/figures/README-unnamed-chunk-13-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-14-1.png b/docs/reference/figures/README-unnamed-chunk-14-1.png index da9cd6a1..31b4fa0e 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-14-1.png and b/docs/reference/figures/README-unnamed-chunk-14-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-15-1.png b/docs/reference/figures/README-unnamed-chunk-15-1.png index f6742ea6..cf8e947c 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-15-1.png and b/docs/reference/figures/README-unnamed-chunk-15-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-16-1.png b/docs/reference/figures/README-unnamed-chunk-16-1.png index c66cf177..af9d8d2a 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-16-1.png and b/docs/reference/figures/README-unnamed-chunk-16-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-17-1.png b/docs/reference/figures/README-unnamed-chunk-17-1.png index c99430d0..3f41646f 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-17-1.png and b/docs/reference/figures/README-unnamed-chunk-17-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-18-1.png b/docs/reference/figures/README-unnamed-chunk-18-1.png index 4b3ee8b8..769e9164 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-18-1.png and b/docs/reference/figures/README-unnamed-chunk-18-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-19-1.png b/docs/reference/figures/README-unnamed-chunk-19-1.png index b94bfa59..8f3edf8b 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-19-1.png and b/docs/reference/figures/README-unnamed-chunk-19-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-20-1.png b/docs/reference/figures/README-unnamed-chunk-20-1.png index 39dad857..e9d1853c 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-20-1.png and b/docs/reference/figures/README-unnamed-chunk-20-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-21-1.png b/docs/reference/figures/README-unnamed-chunk-21-1.png index 9cf40aa5..e924b817 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-21-1.png and b/docs/reference/figures/README-unnamed-chunk-21-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-22-1.png b/docs/reference/figures/README-unnamed-chunk-22-1.png index 63ee45e3..de9c4d26 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-22-1.png and b/docs/reference/figures/README-unnamed-chunk-22-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-23-1.png b/docs/reference/figures/README-unnamed-chunk-23-1.png index 40a9c459..bf101f1f 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-23-1.png and b/docs/reference/figures/README-unnamed-chunk-23-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-24-1.png b/docs/reference/figures/README-unnamed-chunk-24-1.png index dafbad43..265b2bf5 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-24-1.png and b/docs/reference/figures/README-unnamed-chunk-24-1.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-24-2.png b/docs/reference/figures/README-unnamed-chunk-24-2.png new file mode 100644 index 00000000..337002ad Binary files /dev/null and b/docs/reference/figures/README-unnamed-chunk-24-2.png differ diff --git a/docs/reference/figures/README-unnamed-chunk-8-1.png b/docs/reference/figures/README-unnamed-chunk-8-1.png index f1e45ee8..7998e3f0 100644 Binary files a/docs/reference/figures/README-unnamed-chunk-8-1.png and b/docs/reference/figures/README-unnamed-chunk-8-1.png differ diff --git a/docs/reference/plot_mvgam_resids.html b/docs/reference/plot_mvgam_resids.html index ec96ea54..9c22435e 100644 --- a/docs/reference/plot_mvgam_resids.html +++ b/docs/reference/plot_mvgam_resids.html @@ -63,7 +63,7 @@
A total of four ggplot plots are generated to examine posterior median +
A total of four ggplot plots are generated to examine posterior Dunn-Smyth residuals for the specified series. Plots include a residuals vs fitted values plot, a Q-Q plot, and two plots to check for any remaining temporal autocorrelation in the residuals. -Note, all plots use only posterior medians of fitted values / residuals, so uncertainty is not represented.
+Note, all plots use only report statistics from a sample of up to 20 posterior +draws (to save computational time), so uncertainty in these relationships may not be adequately represented.# \donttest{
+ if (FALSE) {
simdat <- sim_mvgam(n_series = 3, trend_model = AR())
mod <- mvgam(y ~ s(season, bs = 'cc', k = 6),
trend_model = AR(),
noncentred = TRUE,
data = simdat$data_train,
- chains = 2)
-#> Compiling Stan program using cmdstanr
-#>
-#> Start sampling
-#> Running MCMC with 2 parallel chains...
-#>
-#> Chain 1 Iteration: 1 / 1000 [ 0%] (Warmup)
-#> Chain 2 Iteration: 1 / 1000 [ 0%] (Warmup)
-#> Chain 1 Iteration: 100 / 1000 [ 10%] (Warmup)
-#> Chain 2 Iteration: 100 / 1000 [ 10%] (Warmup)
-#> Chain 1 Iteration: 200 / 1000 [ 20%] (Warmup)
-#> Chain 1 Iteration: 300 / 1000 [ 30%] (Warmup)
-#> Chain 2 Iteration: 200 / 1000 [ 20%] (Warmup)
-#> Chain 1 Iteration: 400 / 1000 [ 40%] (Warmup)
-#> Chain 2 Iteration: 300 / 1000 [ 30%] (Warmup)
-#> Chain 1 Iteration: 500 / 1000 [ 50%] (Warmup)
-#> Chain 2 Iteration: 400 / 1000 [ 40%] (Warmup)
-#> Chain 1 Iteration: 501 / 1000 [ 50%] (Sampling)
-#> Chain 2 Iteration: 500 / 1000 [ 50%] (Warmup)
-#> Chain 2 Iteration: 501 / 1000 [ 50%] (Sampling)
-#> Chain 1 Iteration: 600 / 1000 [ 60%] (Sampling)
-#> Chain 2 Iteration: 600 / 1000 [ 60%] (Sampling)
-#> Chain 1 Iteration: 700 / 1000 [ 70%] (Sampling)
-#> Chain 2 Iteration: 700 / 1000 [ 70%] (Sampling)
-#> Chain 1 Iteration: 800 / 1000 [ 80%] (Sampling)
-#> Chain 2 Iteration: 800 / 1000 [ 80%] (Sampling)
-#> Chain 1 Iteration: 900 / 1000 [ 90%] (Sampling)
-#> Chain 2 Iteration: 900 / 1000 [ 90%] (Sampling)
-#> Chain 1 Iteration: 1000 / 1000 [100%] (Sampling)
-#> Chain 1 finished in 2.2 seconds.
-#> Chain 2 Iteration: 1000 / 1000 [100%] (Sampling)
-#> Chain 2 finished in 2.2 seconds.
-#>
-#> Both chains finished successfully.
-#> Mean chain execution time: 2.2 seconds.
-#> Total execution time: 2.7 seconds.
-#>
+ chains = 2,
+ silent = 2)
# Plot Dunn Smyth residuals for some series
plot_mvgam_resids(mod)
-
plot_mvgam_resids(mod, series = 2)
-
-# }
+}