This page lists teaching tools in Excel, R, and Python, as well as pdfs of presentations I’ve given on topics relevant to environmental health and epidemiology, engineering and introductions to computer science.


Methods


B-spline functions

Basis-splines are an essential part of many computer science functions, but what are they and how do they work? I developed a google sheet to walk through the Cox-de Boor recursion implementation of cubic b-splines with one knot.

B-spline functions

Conditional and Unconditional Poisson regression

Unconditional Poisson models may be computationally expensive to run in case-crossover settings with discrete outcomes. Armstrong, Gasparrini, and Tobias, 2014 show that conditional Poisson is simpler and produces the same results. I recreated the similarity between the conditional and unconditional poisson models for case-crossover epidemiology, in a google sheet, with Solver used to minimize the log-likelihood function.

Poisson

Distributed Lag Non-linear Modeling (DLNM)

DLNMs are ubiquitous in time-series studies of the health impact of environmental hazards, because they allow for simultaneous modeling of exposures and lag structures of those exposures (e.g., what happened yesterday and today differently impacts the probability of health outcomes today). The methods underlying DLNMs are somewhat complex (e.g., creation of crossbasis and prediction matrices), so I created a google sheet that walks through each of the steps of DLNM application. The seminal reference for DLNMs is Gasparrini, 2013

DLNM

In progress: RR per IQR, conditional logistic

Presentations


In progress: - 4 lectures from Coding seminar - EH risk lecture from N Cesare class - Code group with N Cesare - Michigan lecture on near-roadway