R and STATA code for: "Conditional Poisson models: a flexible alternative to conditional logistic case cross-over analysis"

Armstrong, BGORCID logo, Gasparrini, AORCID logo and Tobias, A (2017). R and STATA code for: "Conditional Poisson models: a flexible alternative to conditional logistic case cross-over analysis". [Dataset]. Github. https://github.com/gasparrini/2014_armstrong_BMCmrm_Codedata
Copy

Illustration of conditional Poisson models as an alternative method in analyses of environmental data. In particular, this represents a computationally convenient alternative to both conditional logistic case-crossover models (when data are aggregated in time series form) and to standard Poisson regression for long time series (when control for time is achieved with computationally expensive spline functions). The code follows the examples included in the associated article that illustrates the methodology and some applications. The material includes: [1] londondataset2002_2006.csv stores the dataset used in the illustrative examples; [2] funccmake.R generates the R function to convert data from time series to case-crossover formats; [3] Rcode.R is the R code to reproduce the examples; and [4] Statacode.do is the Stata code to reproduce the examples.

Keywords

Statistics, Conditional distributions, Poisson regression, Time series regression

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