ehm-lab/2017_gasparrini_Biomet_Rcodedata
R code reproducing the results published in the article: Gasparrini A, Scheipl F, Armstrong B, and Kenward MG. A penalized framework for distributed lag non-linear models. Biometrics. 2017;73(3):938-948. DOI: 10.1111/biom.12645. PMID: 28134978. This methodological article describes the extension of distributed lag linear and non-linear models (DLMs and DLNMs) thorugh generalized additive models via penalized splines. The methodology is implemented by embedding functions in the R packages dlnm and mgcv. The code reproduces two examples of application in time series and survival analysis, respectively, and the results of the simulation study. The software implementation and the use of the functions available in the R package dlnm are described in detail in the vignette that accompanies the package (also available at the CRAN page)
Keywords
Distributed Lag Non-Linear Models| Item Type | Dataset |
|---|---|
| Resource Type |
Resource Type Resource Description Software R script |
| Capture method | Simulation |
| Date | 16 April 2025 |
| Language(s) of written materials | English |
| Creator(s) |
Gasparrini, A |
| LSHTM Faculty/Department | Faculty of Public Health and Policy > Dept of Public Health, Environments and Society |
| Participating Institutions | London School of Hygiene & Tropical Medicine, London, United Kingdom |
| Date Deposited | 09 Oct 2026 13:16 |
| Last Modified | 09 Oct 2026 13:18 |
| Publisher | Github |
Explore Further
- Github (Online Data Resource)