Skip to content

Looking for correlation between social indicators and Covid 19 in Chile

Notifications You must be signed in to change notification settings

muellermax/Social-Vulnerability-and-Covid-in-Chile

Repository files navigation

How do social indicators drive the spread of Covid-19 in Chile?

Index

  1. About the project
  2. Related projects
  3. Installation
  4. Data
  5. About the Chilean socioeconomic indicators CASEN
  6. Findings/Medium article
  7. File descriptions
  8. How to interact
  9. Acknowledgements
  10. Author
  11. License

In this notebook and the corresponding Medium blogpost, I analyzed the correlation between social indicators (such as poverty, distance from next pharmacy, income, etc.) and the number of confirmed Covid-19 cases and fatalities in Chile.

Combining information from different data sources, I tried to find answers to the following questions:

  1. How is the situation in Chile compared to other countries worldwide?
  2. How is the situation within Chile, comparing the different regions and districts?
  3. Which correlation does exist between Covid-19 cases and fatalities in the most and less affected Chilean districts? 
  4. How does a regression model trained on social indicators perform?

You simply fork or copy the code, the notebook includes links to all data sources minus one: The socioeconomic CASEN indicators for the Chilean districts (see below) have to be downloaded seperately.

A part from this, the notebook runs on Python 3.7 and includes the libraries pandas, numpy, matplotlib, seaborn and sklearn.

This repository has been made with the help of many very important and helpful data sources:

Please not that all the data sources (WorldBank data not) are updated daily, which is way my findings and plots in the Medium blogpost may differ from when you are running the notebook.

The CASEN database includes answers from more than 216.000 individuals from all regions in Chile to questions from the following topics: education, work, income, health, identity, housing and poverty. Each category includes around 30 different questions, just like "How far is the next pharmacy?"

The CASEN study is realized every two years, e.g. to track the percentage of families that are still living in poverty.

You can find my analysis and my findings in the Medium blogpost.

  • Chile Capstone.ipynb: The jupyter notebook that includes all the code.
  • API_SP.POP.TOTL_DS2_en_csv_v2_1217749.csv: A csv with the World Bank population data
  • Libro_de_Codigos_Casen_2017.pdf: A PDF that explains all indicators that appear in the CASEN database (Spanish)
  • Media: A directory that includes the data (pictures and data) for the Medium blogpost

Every contribution is welcome. In the Medium blogpost, I have written some ideas and suggestions for further investigations.

Thanks to the Chilean Ministry of Science, Technology, Knowledge and Innovation and the Chilean Data Observatory for providing daily updated data about Covid-19 on their GitHub. Also thanks to the Center for Systems Science and Engineering (CSSE) at John Hopkins University. Furthermore the socio-economic CASEN data, provided by the Chilean Ministry of Social Development was very useful and enabled me to make this investigation. I also relied on WorldBank population data. Also thanks to Juan Manuel Núñez Méndez who provided the foto for my Medium blogpost and the project on GitHub. Finally, I would like to thank Udacity, Codecademy and Stackoverflow for allways providing answers to my questions.

Maximilian Müller, Senior Business Development Manager for Smart Metering and Data Analytics in the Renewable Energy sector. Now diving into the field of Data Science.

Copyright 2020 Maximilian Müller

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

From opensource.org

About

Looking for correlation between social indicators and Covid 19 in Chile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published