mvgam1.1.51 package

Multivariate (Dynamic) Generalized Additive Models

add_residuals.mvgam

Calculate randomized quantile residuals for mvgam objects

augment.mvgam

Augment an mvgam object's data

code

Stan code and data objects for mvgam models

conditional_effects.mvgam

Display conditional effects of predictors for mvgam models

dynamic

Defining dynamic coefficients in mvgam formulae

ensemble.mvgam_forecast

Combine forecasts from mvgam models into evenly weighted ensembles

evaluate_mvgams

Evaluate forecasts from fitted mvgam objects

fevd.mvgam

Calculate latent VAR forecast error variance decompositions

fitted.mvgam

Expected values of the posterior predictive distribution for mvgam o...

forecast.mvgam

Extract or compute hindcasts and forecasts for a fitted mvgam object

formula.mvgam

Extract formulae from mvgam objects

get_mvgam_priors

Extract information on default prior distributions for an mvgam mode...

GP

Specify dynamic Gaussian process trends in mvgam models

gratia_mvgam_enhancements

Enhance post-processing of mvgam models using gratia functionality

hindcast.mvgam

Extract hindcasts for a fitted mvgam object

how_to_cite.mvgam

Generate a methods description for mvgam models

index-mvgam

Index mvgam objects

irf.mvgam

Calculate latent VAR impulse response functions

jsdgam

Fit Joint Species Distribution Models in mvgam

lfo_cv.mvgam

Approximate leave-future-out cross-validation of fitted mvgam object...

logLik.mvgam

Compute pointwise Log-Likelihoods from fitted mvgam objects

loo.mvgam

LOO information criteria for mvgam models

lv_correlations

Calculate trend correlations based on latent factor loadings for `mvga...

mcmc_plot.mvgam

MCMC plots of mvgam parameters, as implemented in bayesplot

model.frame.mvgam

Extract model.frame from a fitted mvgam object

monotonic

Monotonic splines in mvgam models

mvgam_diagnostics

Extract diagnostic quantities of mvgam models

mvgam_draws

Extract posterior draws from fitted mvgam objects

mvgam_families

Supported mvgam families

mvgam_fevd-class

mvgam_fevd object description

mvgam_forecast-class

mvgam_forecast object description

mvgam_formulae

Details of formula specifications in mvgam models

mvgam_irf-class

mvgam_irf object description

mvgam_marginaleffects

Helper functions for marginaleffects calculations in mvgam models

mvgam_trends

Supported latent trend models in mvgam

mvgam-class

Fitted mvgam object description

mvgam-package

mvgam: Multivariate (Dynamic) Generalized Additive Models

mvgam

Fit a Bayesian dynamic GAM to a univariate or multivariate set of time...

pairs.mvgam

Create a matrix of output plots from a mvgam object

piecewise_trends

Specify piecewise linear or logistic trends in mvgam models

pipe

Pipe operator

plot_mvgam_factors

Latent factor summaries for a fitted mvgam object

plot_mvgam_forecasts

Plot posterior forecast predictions from mvgam models

plot_mvgam_pterms

Plot parametric term partial effects for mvgam models

plot_mvgam_randomeffects

Plot random effect terms from mvgam models

plot_mvgam_resids

Residual diagnostics for a fitted mvgam object

plot_mvgam_series

Plot observed time series used for mvgam modelling

plot_mvgam_smooth

Plot smooth terms from mvgam models

plot_mvgam_trend

Plot latent trend predictions from mvgam models

plot_mvgam_uncertainty

Plot forecast uncertainty contributions from mvgam models

plot.mvgam_fevd

Plot forecast error variance decompositions from an mvgam_fevd objec...

plot.mvgam_irf

Plot impulse responses from an mvgam_irf object

plot.mvgam_lfo

Plot Pareto-k and ELPD values from a mvgam_lfo object

plot.mvgam_residcor

Plot residual correlations based on latent factors from a fitted jsdga...

plot.mvgam

Default plots for mvgam models

posterior_epred.mvgam

Draws from the expected value of the posterior predictive distribution...

posterior_linpred.mvgam

Posterior draws of the linear predictor for mvgam objects

posterior_predict.mvgam

Draws from the posterior predictive distribution for mvgam objects

pp_check.mvgam

Posterior Predictive Checks for mvgam models

ppc.mvgam

Plot conditional posterior predictive checks from mvgam models

predict.mvgam

Predict from a fitted mvgam model

print.mvgam

Summary for a fitted mvgam object

reexports

Objects exported from other packages

residual_cor.jsdgam

Extract residual correlations based on latent factors from a fitted js...

residuals.mvgam

Posterior draws of residuals from mvgam models

RW

Specify autoregressive dynamic processes in mvgam

score.mvgam_forecast

Compute probabilistic forecast scores for mvgam models

series_to_mvgam

Convert timeseries object to format necessary for mvgam models

sim_mvgam

Simulate a set of time series for modelling in mvgam

stability.mvgam

Calculate measures of latent VAR community stability

summary.mvgam_fevd

Posterior summary of forecast error variance decompositions

summary.mvgam_irf

Posterior summary of impulse responses

summary.mvgam

Summary for a fitted mvgam models

update.mvgam

Update an existing mvgam model object

ZMVN

Specify correlated residual processes in mvgam

Fit Bayesian Dynamic Generalized Additive Models to multivariate observations. Users can build nonlinear State-Space models that can incorporate semiparametric effects in observation and process components, using a wide range of observation families. Estimation is performed using Markov Chain Monte Carlo with Hamiltonian Monte Carlo in the software 'Stan'. References: Clark & Wells (2023) <doi:10.1111/2041-210X.13974>.

  • Maintainer: Nicholas J Clark
  • License: MIT + file LICENSE
  • Last published: 2025-03-14