Tools for fitting Bayesian Distributed Lag Models (DLMs) to longitudinal response data that is a count or binary. Count data is fit using negative binomial regression and binary is fit using quantile regression. The contribution of the lags are fit via b-splines. In addition, infers the predictor inclusion uncertainty. Multimomial models are not supported. Based on Dempsey and Wyse (2025) <doi:10.48550/arXiv.2403.03646>.
| Version: | 1.0.0 | 
| Imports: | statmod, BayesLogit, dlnm, splines, dplyr, ggplot2, ggridges, reshape2 | 
| Published: | 2025-02-06 | 
| DOI: | 10.32614/CRAN.package.DiscreteDLM | 
| Author: | Daniel Dempsey  [aut, cre],
  Jason Wyse  [ctb],
  Christian E. Galarza [ctb] (Author of the ald package, which this
    package derives some code from (see the COPYRIGHT file in the inst
    folder).),
  Victor H. Lachos [ctb] (Author of the ald package, which this package
    derives some code from (see the COPYRIGHT file in the inst
    folder).) | 
| Maintainer: | Daniel Dempsey  <daniel.dempsey0 at gmail.com> | 
| BugReports: | https://github.com/DanDempsey/DiscreteDLM/issues | 
| License: | GPL-3 | 
| URL: | https://github.com/DanDempsey/DiscreteDLM | 
| NeedsCompilation: | yes | 
| Materials: | README | 
| CRAN checks: | DiscreteDLM results |