This repository focuses on the calculation of distances and the analysis of correlations in data sets with AirBnB information, applying numerical and statistical methods to explore and understand the relationships between hosts with the most accommodations in a city and the proximity to certain cultural points within a city.
This repository offers scripts and tools to calculate distances within data sets with AirBnB information and the multiple cultural locations, and analyze the correlations between the desired variables.
The codes presented are:
- Correlations.py: Functions to compute the distances and calculate the correlations in a Python Script as a standalone application.
- Correlations.ipynb: Functions to compute the distances and calculate the correlations in a Python Script as an auto explainable Jupyter Notebook.
The correlation file presents the information both numerically and in correlation matrices.
Correlation matrix for the first test. |
---|
Correlation matrix for the second test. |
---|
Correlation matrix for the third test. |
---|
To use the content of this repository, it is recommended to have Python 3.x installed, as well as the libraries necessary to run Jupyter Notebooks and the specific calculations performed in the scripts.
It is possible to install the necessary dependencies using pip
:
pip install numpy
pip install pandas
pip install seaborn
pip install matplotlib
pip install tarfile
pip install haversine
The codes and analyzes were developed by a dedicated team, composed of experts in statistics, data analysis, and international business.
-
Dr. Gerardo Tinoco Guerrero
Universidad Michoacana de San Nicolás de Hidalgo
Aula CIMNE-Morelia
gerardo.tinoco@umich.mx
https://orcid.org/0000-0003-3119-770X -
Dr. José Alberto Guzmán Torres
Universidad Michoacana de San Nicolás de Hidalgo
Aula CIMNE-Morelia
jose.alberto.guzman@umich.mx
https://orcid.org/0000-0002-9309-9390 -
Dr. Narciso Salvador Tinoco Guerrero
Universidad Michoacana de San Nicolás de Hidalgo
Universidad Vasco de Quiroga
narciso.tinoco@umich.mx
https://orcid.org/0000-0003-1209-1184
With the financing of:
-
National Council of Humanities, Sciences and Technologies, CONAHCyT (Consejo Nacional de Humanidades, Ciencias y Tecnologías, CONAHCyT), México.
-
Aula CIMNE-Morelia, México.
This project is distributed under the MIT License, allowing its use, modification and distribution under the terms of said license.