DiscreteDLM: Bayesian Distributed Lag Model Fitting for Binary and Count Response Data

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>.

Getting started

Package details

AuthorDaniel Dempsey [aut, cre] (<https://orcid.org/0000-0003-0899-5412>), Jason Wyse [ctb] (<https://orcid.org/0000-0003-1391-7371>), 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).)
MaintainerDaniel Dempsey <daniel.dempsey0@gmail.com>
LicenseGPL-3
Version1.0.0
URL https://github.com/DanDempsey/DiscreteDLM
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("DiscreteDLM")

Try the DiscreteDLM package in your browser

Any scripts or data that you put into this service are public.

DiscreteDLM documentation built on April 3, 2025, 6:19 p.m.