Data · dataset · 2024
Code and data for 'Age-specific transmission dynamics of SARS-CoV-2 during the first two years of the pandemic'
Listed in IISH Dataverse and ODISSEI Portal — shown once because both records carry DOI 10.34894/j5uhnl
Description
This is the main code for the paper "Age-specific transmission dynamics of SARS-CoV-2 during the first two years of the pandemic" by Otilia Boldea, Amir Alipoor, Sen Pei, Jeffrey Shaman, and Ganna Rozhnova and its Supplement. For questions related to the code, please email Otilia Boldea via the button "Contact Owner" top right or sites.google.com/site/otiliaboldea/home The code is organized as follows: Main Code/ Code with synthetic train data synthetic_mobility.m is the code to generate the synthetic mobility Msynth.mat; the true data, used to generate the results in the paper (output.m) is property of the national railway company National Spoorwegen, and is confidential all the other data is publicly available or posted by us with permission from RIVM (Royal Institute for Public Health and Environment).
The folder Data contains all this data. The code for construction of the data along with plots and Tables can be found in Supplementary Materials Code/Code for S figures and Tables. The description of how this data is constructed in available in the Supplementary Materials of the above paper To run the code with synthetic mobility data: run inference.m, which uses the following functions: SEIRHS.m - runs the stochastic version of the epidemiology model and an RK4 integration transf.m - calculates the time-varying transition function of contacts multiplied by the susceptibility parameter waning - calculates the waning of protection parameters in the second compartment set initialize - initializes the parameters and the unobserved states checkbound_ini - checks initial bounds on unobserved states (for example, S cannot be negative or larger than population) checkbound - checks bounds on unobserved states - after updating (for example, S cannot be negative or larger than population) Inflation.m - performs variance inflation of posterior updates to prevent the filter from collapsing due to lack of variance liki.m - calculates the marginal posterior (quasi-)likelihood of the model based on the ensemble adjustment Kalman filter the dataset movNSperc.mat (generated for Figures S11 and S19) contains percentage change in National train mobility compared to pre-pandemic levels and is used by the function synthetic_mobility.m (note that instead, Google mobility data could be used, but priors on parameters theta would likely need adjustment) the dataset CBSprov.mat contains in column 4 the number of people living in province i and working in j, and is downloaded from CBS (Central Bureau Statistics) cbs.nl/nl-nl/cijfers/detail/83628NED#shortTableDescription use year 2018, first published in 2020.
Read the rest (1 more)
Main Code/ Output files contains output.m, main output in the paper output_synth.m, output with synthetic train mobility data Main Code/ Code for Main Text Figures contains code for reproducing Figures in the main text Supplementary Materials Code contains two folders. The folder "Code for S Figures and Tables" contains code for constructing all the data used in the main code, as well as code for reproducing the Tables and Figures in the Supplementary Materials of the paper, labeled "S" The folder "Code for A Figures and Tables" contains code for reproducing the figures and tables in the Supplementary Materials labeled "A" Main Text Figures contains all the figures in the main text of the paper Supplementary Figures contains all the figures in the Supplement Universe: Covering the entire Dutch population Country / Nation: the Netherlands.
Links
Where it is published
- Dataverse dataset page dataverse.nl/dataset.xhtml?persistentId=doi%3A10.34894%2FJ5UHNL ↗
landing page · from datasets iisg amsterdam
- Dataverse dataset page portal.odissei.nl/dataset.xhtml?persistentId=doi%3A10.34894%2FJ5UHNL ↗
landing page · from portal odissei nl
- DOI doi.org/10.34894/j5uhnl ↗
DOI / persistent id · from datasets iisg amsterdam
Catalogue records · 2
- Dataverse API dataverse.nl/api/datasets/:persistentId/?persistentId=doi%3A10.34894%2FJ5UH… ↗
metadata API · from datasets iisg amsterdam
- Dataverse API portal.odissei.nl/api/datasets/:persistentId/?persistentId=doi%3A10.34894%2FJ5UH… ↗
metadata API · from portal odissei nl
Topics
- Stated by source
- Medicine, Health and Life Sciences · Medicine, Health and Life Sciences · Social Sciences · Social Sciences
- From keywords
- Engineering · Engineering · Epidemiology · Epidemiology · Life Sciences · Life Sciences · Medicine & Health · Medicine & Health · Social Science · Social Science
- Inferred from text
- Text 75%
Provenance · 2 source records, 21 field assertions
| Source | Key | Last seen | Raw |
|---|---|---|---|
| IISH Dataverse | doi:10.34894/J5UHNL | 12 d ago | JSON v1 |
| ODISSEI Portal | doi:10.34894/J5UHNL | 8 d ago | JSON v1 |
| Field | Assertion | Extractor | Evidence |
|---|---|---|---|
| concepts[field].anzsrc:group:4202 | mapping · portal odissei nl | vocabulary-mapper@1.0.0 | keywords['Epidemiology'] |
| concepts[field].anzsrc:group:4202 | mapping · datasets iisg amsterdam | vocabulary-mapper@1.0.0 | keywords['Epidemiology'] |
| concepts[field].dataverse_subject:medicine-health-and-life-sciences | source · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | /subjects |
| concepts[field].dataverse_subject:medicine-health-and-life-sciences | source · portal odissei nl | connector:portal_odissei_nl@1.0.0 | /subjects |
| concepts[field].dataverse_subject:social-sciences | source · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | /subjects |
| concepts[field].dataverse_subject:social-sciences | source · portal odissei nl | connector:portal_odissei_nl@1.0.0 | /subjects |
| concepts[field].local:field:engineering | mapping · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | /subjects |
| concepts[field].local:field:engineering | mapping · portal odissei nl | connector:portal_odissei_nl@1.0.0 | /subjects |
| concepts[field].local:field:life-sciences | mapping · portal odissei nl | connector:portal_odissei_nl@1.0.0 | /subjects |
| concepts[field].local:field:life-sciences | mapping · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | /subjects |
| concepts[field].local:field:medicine-health | mapping · portal odissei nl | connector:portal_odissei_nl@1.0.0 | /subjects |
| concepts[field].local:field:medicine-health | mapping · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | /subjects |
| concepts[field].local:field:social-science | mapping · portal odissei nl | connector:portal_odissei_nl@1.0.0 | /subjects |
| concepts[field].local:field:social-science | mapping · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | /subjects |
| concepts[modality].local:modality:text | enrichment · datasets iisg amsterdam | keyword-concept-rules@1.0.0 | title+description (75%) |
| created_date | source · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | |
| description | source · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | /description |
| publication_date | source · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | |
| title | source · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | /name |
| updated_date | source · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 | |
| version_label | source · datasets iisg amsterdam | connector:datasets_iisg_amsterdam@1.0.0 |