Code Monkey home page Code Monkey logo

ichalkiad / covid19modelrisk Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 51.87 MB

This repository contains the code for the paper "Infection Rate Models for COVID-19: Model Risk and Public Health News Sentiment Exposure Adjustments", by Ioannis Chalkiadakis, Kevin Hongxuan Yan, Gareth W. Peters, Pavel V. Shevchenko.

License: MIT License

R 89.76% Python 10.24%
public-health decision-making natural-language-processing sentiment-analysis glarma-models gompertz-equation bayesian-inference epidemiological-models covid-19 covid19

covid19modelrisk's Introduction

Infection Rate Models for COVID-19: Model Risk and Public Health News Sentiment Exposure Adjustments

This repository contains the code for the paper "Infection Rate Models for COVID-19: Model Risk and Public Health News Sentiment Exposure Adjustments", by Ioannis Chalkiadakis, Kevin Hongxuan Yan, Gareth W. Peters, Pavel V. Shevchenko.

Please cite the paper as follows:

Chalkiadakis I, Yan H, Peters GW, Shevchenko PV (2021) Infection rate models for COVID-19: Model risk and public health news sentiment exposure adjustments. PLoS ONE 16(6): e0253381. https://doi.org/10.1371/journal.pone.0253381

The available sentiment data contain the sentiment entropy index per news source, as well as the global weighted sentiment index that was used in the studies.

The COVID-19 data (infected cases) for the studies are also available and taken from https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series.

To obtain the sentiment index used in the studies, run the script 'reporting_weighted_sentiment_index.py' in covid19modelrisk/python/.

To obtain the MCMC results for each model run the corresponding .r file in covid19modelrisk/R/.

Please check the file paths in the code and modify according to your system if necessary.

Tested with Python v3.6.7 and R v4.0.

Copyright @ Authors March 2021

covid19modelrisk's People

Contributors

ichalkiad avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

russelnelson

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.