Bayesian inference for a general class of state-space models
for count data, providing a unified interface to variational Bayes and
Markov chain Monte Carlo. Models are assembled from modular components
for the observation distribution, link function, gain function, lag
distribution, system equation, and system error, and support Poisson
and negative binomial observations together with seasonality terms.
The model class and the hybrid variational approximation are
described in Tang and Prado (2026)
Variational and MCMC inference for Bayesian state-space models of count data.
dgtf provides a unified R interface to variational Bayes and MCMC for a general class of dynamic generalized transfer function models for count data.
git clone [email protected]:minimeini/dgtf.git
cd dgtf.R CMD INSTALL .devtools::install(".")The current release builds without OpenMP, so the parallel sections of the
sequential Monte Carlo filter are evaluated serially, and no OpenMP runtime or
omp.h header is needed.
LinkingTo: Rcpp, RcppArmadillo, BH, RcppProgress, pg.Imports: Rcpp, ggplot2 (plus base stats, utils, graphics, and
grDevices).MIT (see LICENSE).