This repository contains files required to replicate the study "A Simulation Assessment of Vaccine Effectiveness Estimation Bias with Time-Varying Vaccine Coverage, and Heterogeneous Testing and Baseline Attack Rates" by Jing Lian Suah, Naor Bar-Zeev and Maria Deloria Knoll.
Link to the preprint can be found here.
This repository contains the following.
- Python scripts required to replicate the study. These are in the main directory.
- Output files from scripts. These are in the
Output
directory. - Latest draft article of the study, which is in the
Article
directory. - Latest slides summarising the study, which is in the
Presentation
directory.
As this research uses only simulated data, and does not involve any human participants, no institutional review board (IRB) approval is required.
JLS received support for attending academic meetings from AstraZeneca for work outside this paper. NB-Z received research grants from Merck, personal fees from Merck, and a research grant from Johnson & Johnson, all for unrelated work outside the scope of this paper. MDK received reports grants from Merck, personal fees from Merck, and grants from Pfizer, outside the submitted work.
- Simulation scripts (
VEMethod_Sim1b_Parallel_NoCI_CloudVersion.py
andVEMethod_Sim1b_Parallel_NoCI_CloudVersion_ReSeed.py
) were run on a AWS EC2 c6i.32xLarge Amazon Linux instance (128 vCPUs); entire process took 415516 seconds (115.42 hours). - Post-simulation analyses (the remaining
py
files withVEMethod_
suffixes) were run on Windows 10, 4-core (8 logical processors) 10th gen i7 and 11th gen i5 local machines, as no parallel processing is required.
git clone suahjl/vemethod-simulation-frictions
pip install -r requirements.txt
VEMethod_Sim1b_Parallel_NoCI_CloudVersion
VEMethod_Sim1b_Parallel_NoCI_CloudVersion_ReSeed
- Execute the following in any order.
VEMethod_Sim1b_Heatmap_GreekLetters.py
VEMethod_Sim1b_PureDesignBias_Heatmap.py
VEMethod_Sim1b_WaveSpecific_Heatmap.py
VEMethod_Drivers1b.py
VEMethod_RelDirection1b.py
*Note 1: You may consider running the simulation using different seeds.
*Note 2: All output files are placed in the 'Output' folder for ease of navigation.
Due to file size limits on GitHub, 3 large output files can be accessed via dropbox here. These files are:
- The full VE estimation bias heatmap of all study designs and all parameter sets from the simulation: VEMethod_Sim1b_Parallel_NoCI_Wide_Gradient
- The above but with VE estimation biases rescaled to that the survival analysis cohort with true outcomes being observable: VEMethod_Sim1b_Parallel_NoCI_Wide_Relative_Gradient
- The above but using absolute VE estimation biases: VEMethod_Sim1b_Parallel_NoCI_Wide_Relative_Absolute Gradient