Giter Site home page Giter Site logo

balearic-epi's Introduction

Balearic-epi

This repository has been created due to the Covid-19 global health crisis to do research on the impact of epidemics in the Balearic Islands.

The next sections describe the folders in this repository.

Model

The model that we are using for simulating the epidemics is a compartmental model described by ... MODEL DESCRIPTION MISSING

Procedure for fitting the model to IB data

For this procedure we simulate the model for many combinations of the parameters and find the one that best matches the observed data.

Epidemiological data

Time series available are

  • Deaths (official data)
  • Deaths (press data)
  • UCI patients
  • Recovered patients
  • Infected patients
  • Hospitalized patients

Results of the model

Time series from the model

  • Infected
  • Recovered

Fitting model to data

In order to fit the model to the data we proceed in the following way for each combination of parameters:

  1. Fix a proportion of recovered patients that actually die ($\mu_D$).
  2. Shift rescaled curve of recovered patients by tau from the model to best fit the curve of deaths from the data. The best fit is assessed by a Chi squared function. Match with last point of deaths maybe.
  3. With that tau move also the curve of infected from the model and rescale it to best match the curve of UCI patients. Best value of this variable also given by Chi squared ($\mu_{UCI}$).
  4. Assign to this set of parameters the Chi squared that is the sum of the ones in 2. and 3. and save it together with the parameter values, the proportion of deaths and the obtained parameters tau and proportion of infected in UCI.

From all the Chi squared values choose the one that is minimum.

Folder: Data

The data folder aims to containing data related to

  • Demographic data from Wikipedia.
  • Mobility data from the INE regarding the census 2011. To obtain these data: crear tabla, Municipio, desglosar para cada unidad administrativa=SI, personas, ocupados de 16 o mas años, filas=municipio de residencia, columnas=datos del lugar de trabajo/lugar de trabajo/municipio de trabajo.
  • Geographic data (shapes of municipalities) from ESRI. Data filtered with NUT code ES53 which corresponds to the Balearic Islands.
  • Epidemiological data from the Spanish Ministry of Health
  • Other data related to epidemiological data? MISSING

Folder: Codes

Codes for

  • Analysing data (see Data)
  • Simulating different types of epidemics and containment strategies
  • Ploting the results.

Folder: Results

Results of the analysis and simulations.

Folder: Figures

Figures generated with the codes (see Codes).

Reports

Reports of the results from the simulations.

htmltools::includeHTML("./figures/ib_poblacion.html")

balearic-epi's People

Contributors

juanfernandezgracia avatar jorgeprodriguezg avatar

Watchers

 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.