Package: DiscreteDLM 1.0.0
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>.
Authors:
DiscreteDLM_1.0.0.tar.gz
DiscreteDLM_1.0.0.tar.gz(r-4.5-noble)DiscreteDLM_1.0.0.tar.gz(r-4.4-noble)
DiscreteDLM_1.0.0.tgz(r-4.4-emscripten)DiscreteDLM_1.0.0.tgz(r-4.3-emscripten)
DiscreteDLM.pdf |DiscreteDLM.html✨
DiscreteDLM/json (API)
# Install 'DiscreteDLM' in R: |
install.packages('DiscreteDLM', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dandempsey/discretedlm/issues
Last updated 1 months agofrom:adae6675b5. Checks:3 OK. Indexed: no.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 08 2025 |
R-4.5-linux-x86_64 | OK | Mar 08 2025 |
R-4.4-linux-x86_64 | OK | Mar 08 2025 |
Exports:dALDdataframe_DLMNB_MCMCpALDqALDQB_MCMCrALDrTALD
Dependencies:BayesLogitclicolorspacedlnmdplyrfansifarvergenericsggplot2ggridgesgluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrR6RColorBrewerRcppreshape2rlangscalesstatmodstringistringrtibbletidyselecttsModelutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
The Asymmetric Laplacian Distribution | dALD pALD qALD rALD rTALD |
Creating a DLM-Ready Dataframe | dataframe_DLM |
Fitting Discrete Distributed Lag Models with Variable Selection via MCMC | DiscreteDLM DiscreteDLM-overview |
Negative Binomial Regression via MCMC | NB_MCMC |
Visualises Results from MCMC_DLM Fits | plot.MCMC_DLM |
Binary Quantile Regression via MCMC | QB_MCMC |