covid-19-the-economist-global-excess-deaths-model

The Economist's model to estimate excess deaths to the covid-19 pandemic

https://github.com/theeconomist/covid-19-the-economist-global-excess-deaths-model

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.0%) to scientific vocabulary

Keywords from Contributors

spacy-extension mesh transformers sequences standardization interactive data-profilers hacking network-simulation
Last synced: 10 months ago · JSON representation

Repository

The Economist's model to estimate excess deaths to the covid-19 pandemic

Basic Info
Statistics
  • Stars: 459
  • Watchers: 20
  • Forks: 83
  • Open Issues: 1
  • Releases: 2
Created about 5 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog Citation

README.md

The Economist's excess deaths model

update

This repository contains the replication code and data for The Economist's excess deaths model, used to estimate excess deaths due to the covid-19 pandemic.

Chart of total deaths over time

Getting started

Before running the R scripts, please install all the dependencies listed in this file.

Keep in mind that you need to use a modified development version of agtboost, which has been rewritten to load machine learning ensembles faster (our approach requires loading 210 of these).

To install it, first install the devtools package:

r install.packages('devtools')

And then install the development version from GitHub:

r devtools::install_github("sondreus/agtboost/R-package")

Running the models

To update the model dynamically on a daily basis, run scripts/0_excess_deaths_global_estimates_autoupdater.R (from the main directory). This will generate update excess deaths estimates for every country and territory from Jan 1st 2020 until the present.

To replicate the model and export estimated excess deaths for a locality, please run the scripts 1, 2, and 3, in the scripts folder. As the model draws most of its data dynamically, you can also use these scripts to generate updated estimates and models as time passes.

Interpreting estimates

Estimating excess deaths for every country every day since the pandemic began is a complex and difficult task. Rather than being overly confident in a single number, limited data means that we can often only give a very very wide range of plausible values. Focusing on central estimates in such cases would be misleading: unless ranges are very narrow, the 95% range should be reported when possible. The ranges assume that the conditions for bootstrap confidence intervals are met. Please see our tracker page and methodology for more information.

New variants

The Omicron variant, first detected in southern Africa in November 2021, appears to have characteristics that are different to earlier versions of sars-cov-2. Where this variant is now dominant, this change makes estimates uncertain beyond the ranges indicated. Other new variants may do the same. As more data is incorporated from places where new variants are dominant, predictions improve.

Non-reporting countries

Turkmenistan and the Democratic People's Republic of Korea have not reported any covid-19 figures since the start of the pandemic. They also have not published all-cause mortality data. Exports of estimates for the Democratic People's Republic of Korea have been temporarily disabled as it now issues contradictory data: reporting a significant outbreak through its state media, but zero confirmed covid-19 cases/deaths to the WHO.

Acknowledgements

A special thanks to all our sources and to those who have made the data to create these estimates available. We list all our sources in our methodology. Within script 1, the source for each variable is also given as the data is loaded, with the exception of our sources for excess deaths data, which we detail in on our free-to-read excess deaths tracker as well as on GitHub. The gradient booster implementation used to fit the models is aGTBoost, detailed here.

Calculating excess deaths for the entire world over multiple years is both complex and imprecise. We welcome any suggestions on how to improve the model, be it data, algorithm, or logic. If you have one, please open an issue.

The Economist would also like to acknowledge the many people who have helped us refine the model so far, be it through discussions, facilitating data access, or offering coding assistance. A special thanks to Ariel Karlinsky, Philip Schellekens, Oliver Watson, Lukas Appelhans, Berent . S. Lunde, Gideon Wakefield, Johannes Hunger, Carol D'Souza, Yun Wei, Mehran Hosseini, Samantha Dolan, Mollie Van Gordon, Rahul Arora, Austin Teda Atmaja, Dirk Eddelbuettel and Tom Wenseleers.

All coding and data collection to construct these models (and make them update dynamically) was done by Sondre Ulvund Solstad. Should you have any questions about them after reading the methodology, please open an issue or contact him at sondresolstad@economist.com.

Suggested citation

The Economist and Solstad, S. (corresponding author), 2021. The pandemics true death toll. [online] The Economist. Available at: https://www.economist.com/graphic-detail/coronavirus-excess-deaths-estimates [Accessed ---]. First published in the article "Counting the dead", The Economist, issue 20, 2021.

(See also our citation file)

Owner

  • Name: The Economist
  • Login: TheEconomist
  • Kind: organization
  • Location: London

GitHub Events

Total
  • Watch event: 4
  • Issue comment event: 2
Last Year
  • Watch event: 4
  • Issue comment event: 2

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 2,109
  • Total Committers: 6
  • Avg Commits per committer: 351.5
  • Development Distribution Score (DDS): 0.208
Past Year
  • Commits: 158
  • Committers: 2
  • Avg Commits per committer: 79.0
  • Development Distribution Score (DDS): 0.038
Top Committers
Name Email Commits
GitHub Action a****n@g****m 1,670
Sondre Ulvund Solstad s****d@e****m 434
Martín González m****z@e****m 2
dependabot[bot] 4****] 1
Evan Hensleigh f****e@g****m 1
Dirk Eddelbuettel e****d@d****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 38
  • Total pull requests: 5
  • Average time to close issues: 21 days
  • Average time to close pull requests: about 17 hours
  • Total issue authors: 15
  • Total pull request authors: 3
  • Average comments per issue: 2.71
  • Average comments per pull request: 0.2
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 2.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sondreus (9)
  • JoseMenendezASU (1)
  • gshotwell (1)
  • dFila (1)
  • keepgoing1995 (1)
  • RuijingZ (1)
  • Ted-54 (1)
  • jschulberg (1)
  • fibke (1)
  • stevepowell99 (1)
  • peterszklenar (1)
  • nmarum (1)
  • vnicolici (1)
  • akarlinsky (1)
  • bixiou (1)
Pull Request Authors
  • GBarnsley (1)
  • eddelbuettel (1)
  • dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (1)

Dependencies

.github/workflows/retrain.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • ad-m/github-push-action 8407731efefc0d8f72af254c74276b7a90be36e1 composite
  • r-lib/actions/setup-r 12d5b556c504a4be89f0dc9779e0de65bf0cfa44 composite
.github/workflows/update.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • ad-m/github-push-action 8407731efefc0d8f72af254c74276b7a90be36e1 composite
  • r-lib/actions/setup-r 12d5b556c504a4be89f0dc9779e0de65bf0cfa44 composite
.github/workflows/upload.yaml actions
  • actions/checkout v2 composite