bets.covid19

Data and analysis for the early COVID-19 outbreak

https://github.com/qingyuanzhao/bets.covid19

Science Score: 33.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, medrxiv.org
  • Committers with academic emails
    1 of 5 committers (20.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.1%) to scientific vocabulary

Keywords

2019-ncov
Last synced: 10 months ago · JSON representation

Repository

Data and analysis for the early COVID-19 outbreak

Basic Info
  • Host: GitHub
  • Owner: qingyuanzhao
  • License: cc-by-4.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 6.1 MB
Statistics
  • Stars: 27
  • Watchers: 10
  • Forks: 10
  • Open Issues: 0
  • Releases: 0
Topics
2019-ncov
Created over 6 years ago · Last pushed about 6 years ago
Metadata Files
Readme License

README.md

An analysis of the initial COVID-19 outbreak

Dataset

This dataset is collected from public agencies or news media, containing detailed information about some 1400 COVID-19 cases confirmed in and outside China. This dataset is free to use and share given that appropriate credits are given under the CC-BY-4.0 license. It can be loaded in R as a package: r devtools::install_github("qingyuanzhao/bets.covid19") library(bets.covid19) head(covid19_data) More details about the dataset can be found in r help(covid19_data) and in this arXiv preprint.

Statistical inference: the BETS model

We have developed a generative model for four key epidemiological events: Beginning of exposure, End of exposure, time of Transmission, and time of Symptom onset (BETS). This package implements a likelihood inference for the BETS model. Try: r help(bets.inference) example(bets.inference) Details of the model and methodology can be found in this preprint on arXiv. In short, we find that several published early analyses were severely biased by sample selection. All our analyses, regardless of which subsample and model were being used, point to an epidemic doubling time of 2 to 2.5 days during the early outbreak in Wuhan.

A Bayesian nonparametric analysis further suggests that 5% of the symptomatic cases may not develop symptoms within 14 days since infection. Code for the Bayesian model and MCMC sampler can be found under the bayesian folder.

Reference

  • Full model: Qingyuan Zhao, Niaoqiao Ju, Sergio Bacallado, Rajen Shah. BETS: The dangers of selection bias in early analyses of the coronavirus disease (COVID-19) pandemic. arXiv:2004.07743.

Related articles

  • First report: Qingyuan Zhao, Yang Chen, Dylan S Small. Analysis of the epidemic growth of the early 2019-nCoV outbreak using internationally confirmed cases. medRxiv 2020.02.06.20020941; doi: https://doi.org/10.1101/2020.02.06.20020941
  • Comment (non-peer reviewed) on the Lauer et al. study of the incubation period of COVID-19: https://www.acpjournals.org/doi/10.7326/M20-0504.
  • Comment (non-peer reviewed) on the Pan et al. study of the effectiveness of public health interventions in Wuhan: https://jamanetwork.com/journals/jama/fullarticle/2764658.

Acknowledgement

Many people have contributed to the data collection and given helpful suggestions. We thank Yachong Yang, Cindy Chen, Yang Chen, Dylan Small, Michael Levy, Hera He, Zilu Zhou, Yunjin Choi, James Robins, Marc Lipsitch, Andrew Rosenfeld.

Earlier work

This project first started from a preliminary analysis of some international COVID-19 cases exported from Wuhan. The report of the first analysis can be found on medRxiv. Code for that analysis can be found in the report1 branch.

Owner

  • Name: Qingyuan Zhao
  • Login: qingyuanzhao
  • Kind: user
  • Company: University of Cambridge

GitHub Events

Total
Last Year

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 98
  • Total Committers: 5
  • Avg Commits per committer: 19.6
  • Development Distribution Score (DDS): 0.286
Top Committers
Name Email Commits
Qingyuan Zhao q****o@g****m 70
Phyllis Ju p****u@g****m 12
Qingyuan Zhao q****o@h****e 10
Qingyuan Zhao q****o@d****k 3
Phyllis with Data p****u@u****m 3
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 235 last-month
  • Total docker downloads: 41,971
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: bets.covid19

The BETS Model for Early Epidemic Data

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 235 Last month
  • Docker Downloads: 41,971
Rankings
Forks count: 7.1%
Stargazers count: 10.4%
Average: 29.2%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Downloads: 63.0%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.4.0 depends
  • parallel * imports
  • rootSolve * imports
  • stats * imports