R code for: "Modeling exposure–lag–response associations with distributed lag non-linear models"

Gasparrini, AORCID logo (2017). R code for: "Modeling exposure–lag–response associations with distributed lag non-linear models". [Dataset]. Github. https://github.com/gasparrini/2014_gasparrini_StatMed_Rcodedata
Copy

An example illustrating the extension of DLNMs for modelling exposure-lag-response associations beyond time series analysis. The code completely reproduces the examples and simulation study described in the associated article. This is complemented by the vignette dlnmExtended included in the R package dlnm, showing applications in alternative settings. The code consists of: [1] uminers.csv stores the data from the Colorado Plateau uranium miners cohort, including individual information for 3,347 male subjects; [2] the numbered files from 00.prep.R to 08.simres.R reproduce the results of the illustrative example and of the simulation study; [3] example.R offers a simple example with of fitting some models and displaying/summarizing the results functions.R creates some functions used in the other scripts; [4] simprep.R and simrun.R are called from the other scripts for preparing and running the simulations

Keywords

Distributed Lag Non-Linear Models

No files available. Please consult associated links.


Atom BibTeX OpenURL ContextObject in Span Multiline CSV OpenURL ContextObject Dublin Core (with Type as Type) MPEG-21 DIDL Data Cite XML EndNote HTML Citation JSON METS MODS RDF+N3 RDF+N-Triples RDF+XML Reference Manager Refer Simple Metadata ASCII Citation EP3 XML
Export

Downloads