ICI3D R tutorials and labs
Tutorials
- Tutorial 0: Introduction to R Studio - provides an introduction to the user interface (required)
- Tutorial 1: Introduction to R and its quirks (required)
- Tutorial 2: More on Vectors, Data Frames, and Functions (required)
- Tutorial 3: Probability Distributions and Control Structures (required)
- Tutorial 4: Visualizing Infectious Disease Data in R (recommended)
- Tutorial 5: Data cleaning and management in R (recommended)
Labs
- Lab 1: ODE models in R (required)
- Lab 2: Consequences of heterogeneity (required)
- This lab is run through the ICI3D package. To get started, run the following command at the R Studio command line (after installing the ICI3D package):
ICI3D::heterogeneityTutorial()
- If you would like to look under the hood, the relevant code is available here.
- This lab is run through the ICI3D package. To get started, run the following command at the R Studio command line (after installing the ICI3D package):
- Lab 3: Study Design in Epidemiology lab (required for Track A)
- Lab 4: Study Design for Clinical Trials (recommended for Track A)
- Lab 5: Introduction to Likelihood (required)
- Lab 6: MLE fitting of a dynamic model (required)
- Lab 7: MCMC fitting of a binomial distribution (required)
- Lab 8: MCMC fitting of a dynamic model (optional)
- Note: Download this file to avoid having to wait for long MCMC chains to be sampled.
Exercises and Examples
- Exercise 1: Basic stochastic simulation models - Stochastic spillover (required for Track B)
- Exercise 2: Basic stochastic simulation models - Demographic stochasticity (recommended for Track B)
- Stochastic SIR Example - Gillespie Algorithm (optional)
- Stochastic SIR Example - Chain Binomial (optional)
Participatory Coding Archive
2023
- Participatory Coding (ODE model) 2023 - What level of vaccination is needed to eliminate domestic dog rabies in Ouagadougou? (Juliet Pulliam)- Code from session
- Participatory Coding (Gillespie model) (Carl - Code from session)
Pre-2023
- Participatory Coding (Dynamic Modeling) 2018 - What level of rabies vaccination is necessary to eliminate rabies in Tanzanian dogs?
- Deterministic model (Difference equations) (Carl Pearson) - Code from session
- Participatory Coding (Dynamic Modeling) 2018 - What level of rabies vaccination is necessary to eliminate rabies in Tanzanian dogs?
- Deterministic model (Difference equations) (Carl Pearson) - Code from session
- Stochastic model (Chain binomial SEIV) (Carl Pearson) - Code from session
- Participatory Coding (Sampling Var & Study Design) 2018 - Is aidamycin superior to cotrim for treating malaria (under construction)?
- Sampling Var & Study Design additional example 2018 - Does vaccinating schoolchildren protect elders from clinical influenza (cluster RCT)?
- Participatory Coding (Sampling Var & Study Design) 2017 - How does village-level ITN coverage affect village-level clinical malaria incidence?
- Participatory Coding (Dynamic Modeling) 2017 - What level of rabies vaccination is necessary to eliminate rabies in Tanzanian dogs?
- Participatory Coding (Dynamic Modeling) 2016 - How does diabetes prevalence affect active TB prevalence (or incidence)?
- Participatory Coding (Sampling Var & Study Design) 2016 - Does recent travel affect prevalence of active TB amongst an immigrant population?
- Participatory Coding 2015 - Does HIV status affect TB incidence rate?
- Participatory Coding 2015 - Can XDR TB invade a population? (didn’t get to XDR yet, but have a working TB model with treatment)