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.
The model that we are using for simulating the epidemics is a compartmental model described by ... MODEL DESCRIPTION MISSING
For this procedure we simulate the model for many combinations of the parameters and find the one that best matches the observed data.
Time series available are
- Deaths (official data)
- Deaths (press data)
- UCI patients
- Recovered patients
- Infected patients
- Hospitalized patients
Time series from the model
- Infected
- Recovered
In order to fit the model to the data we proceed in the following way for each combination of parameters:
- Fix a proportion of recovered patients that actually die (
$\mu_D$ ). - 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.
- 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}$ ). - 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.
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
Codes for
- Analysing data (see Data)
- Simulating different types of epidemics and containment strategies
- Ploting the results.
Results of the analysis and simulations.
Figures generated with the codes (see Codes).
Reports of the results from the simulations.
htmltools::includeHTML("./figures/ib_poblacion.html")