Giter Site home page Giter Site logo

lizardman1999 / covid19_cfr_submission Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrc-ide/covid19_cfr_submission

0.0 0.0 0.0 1.07 MB

Repository for all scripts required to replicate the CFR analysis for paper submission.

License: MIT License

R 100.00%

covid19_cfr_submission's Introduction

COVID19_CFR_submission

Repository for all scripts required to replicate the analysis in the paper "Estimates of the severity of coronavirus disease 2019: a model-based analysis".

All code within this repository is freely available and published under the MIT license (see LICENSE file)

How to run the code

Code in this repository is written in the R statistical language, and makes use of RStudio projects for convenience along with several additional packages. For those just starting out in R check out the swirl package, and for more information on how to work with packages check out this page.

We recommend starting by opening "COVID19_CFR_submission.Rproj" within RStudio, this will ensure the working directory is set correctly. The various scripts required to run the analyses are contained in the R_scripts folder. These scripts were written by multiple authors, and so style and implementation differs between scripts, but in general these scripts will install/load any required packages and functions at the top of the script, the body of the script then carries out the main analysis and any output is saved to the "output" folder.

Scripts required to replicate the parametric analysis in Table 2 begin with "run_mcmc_cfr", and can be run in any order. These scripts run MCMC via the drjacoby package. They make use of processed data in the "output" folder. If you want to see the raw data prior to this processing step (this is not required for the analysis) check out the "data" folder and the script "process_mcmc_data.R".

covid19_cfr_submission's People

Contributors

bobverity avatar lizardman1999 avatar lucyokell avatar pwinskill avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.