1. Quantities:
This type of graph shows the levels of variables. Also, these graphs show the variables according to categories or classifications.
Datasets transformed into Latin characters. The following commands should be used in STATA:
cd "....\documents"
unicode analyze enaho.dta
unicode encoding set "latin1"
unicode translate enaho.dta
Plots, enlances de interés
World Bank repositorio para gráficos
https://worldbank.github.io/r-econ-visual-library/
Traducción del repositorios del Banco Mundial en Python
https://d2cml-ai.github.io/python_visual_library/python_notebooks/02_density.html
The following database includes enaho modules (200, 300 and 500) for the period 2011 - 2019
Number of companies classification by number of workers hired
Microbusinesses < 10 workers ; Small businesses (10-20 workers); Medium businesses (21-100 workers); Big Businesses (>100 workers)
Why do many examples use fig, ax = plt.subplots() in Matplotlib/pyplot/python ?
1.0 Vertical Countplot and one color (red)
2.0 Evolutions of business in period 2017-2019
2. Proportions
Understandable plots to show categorical variables. Use this plots to explain participations from categories.
Pie
First at all, collapse dataframe to count categories of a variable
Donuts
3. Distributions
Distribution plots visually assess the distribution of sample data by comparing the empirical distribution of the data with the theoretical values expected from a specified distribution.
Reducing intervals
Frequency distribution with a smaller interval (lower relative frequency). Therefore, the height of each bar accounts smaller amount.
Multiple histograms
Real salary per hour density:
the distribution does not resemble a standard normal. The information is concentrated in lower values and there are some observations of high values.
Logarithm of real hourly wage
This allows correcting the asymmetry presented by the original data.
Real salaries for tres sectors (Construction, Mining and services)
Labor occupations and real salary per hour densities
A For loop is used to include in the same graph the density function of hourly wages for different occupations.
Box plot real salary and education
Macroeconomics
IMP: log-Commodity price index, TC: log-exchange rate, RIN: log-international reserves, IPC: log-price consumption index, RATE: central bank rate reference
D: Annual difference
Series in a single image
This graph shows a positive relationship between the change in international reserves and the commodity index.