A quick introduction to the background of this work and motivators
This is a continuation of my previous work “Assessing Debt Trajectories: A Comprehensive Analysis of External Debt Trends in Latin American Economies (2010-2021)”,(Vargas,2023). Where I decided to analyse the economical behavior of some countries in Latin America by making use of the information extracted from the world Bank’s website in relation to debt (https://databank.worldbank.org/).
In this work, after some finding valuable information to the World Economic Freedom form the Fraiser Institute (https://www.fraserinstitute.org/studies/economic-freedom), I make a further analysis and relationship comparison with the previously gathered data.
Navigation Instructions:
There are multiple pages that you can access from the top right side bar menu. Each one of them contains the story of this work in a sequential order, and will contain a series of tabs (in the same order), that you can navigate through.
The analysis contains visuals interactive visuals that you can use by scrolling bars, click on dynamic buttons or by zooming in and out with the help of your mouse.
I hope this work is of use and provides relevant information for further studies.
Thanks
Building on my previous research (Vargas, 2023), this study aims to enhance our understanding of economic growth and development in Latin America. Using World Bank data on debt indices for several countries in the region, I’ve analyzed the Gross National Income (GNI) of nations including Argentina, Belize, Bolivia, Brazil, Colombia, Costa Rica, the Dominican Republic, Ecuador, El Salvador, Guatemala, Haiti, Honduras, Mexico, Nicaragua, Paraguay, and Peru.
As someone from Latin America, I’ve always been curious about the economic factors shaping our region – topics that, surprisingly, aren’t discussed in depth in everyday conversations, despite their importance. This analysis isn’t just about numbers; it’s about piecing together a story of where we stand economically, how we got here, and where we might be headed. While my suggestions are just that, they aim to offer a clearer picture of Latin America from a global economic viewpoint, and hopefully, they might spark further research and understanding in this area.
Note: GNI per capita, as defined by the World Bank, is the gross national income converted to U.S. dollars using the World Bank Atlas method, divided by the midyear population. GNI encompasses the sum of value added by all resident producers plus any product taxes (less subsidies) not included in the valuation of output plus net receipts of primary income from abroad. To mitigate fluctuations in prices and exchange rates, a special Atlas method of conversion is employed by the World Bank. This method applies a conversion factor that averages the exchange rate for a given year and the two preceding years, adjusted for differences in rates of inflation between the country, and the Euro area, Japan, the United Kingdom, and the United States.”* This information and its methodological underpinnings can be found in the World Bank’s repository: World Bank. (n.d.). GNI (constant 2015 US$) [Data set]. World Development Indicators. https://databank.worldbank.org/metadataglossary/world-development-indicators/series/NY.GNP.MKTP.KD.
Conclusion:
After a thorough analysis of the
gathered data, I drawn comparisons between the Gross National Income
(GNI) of each country and various economic factors, such as debt
indices, annual repayment obligations, and the dynamics of foreign
investment in Latin American economies. This comprehensive examination
offered an more detailed perspective on the actual state of development
within these nations.
Concluding that the GNI does not directly indicate a country’s debt level since it encompasses a broader range of economic variables. Upon detailed scrutiny and filtering of the data, several critical questions emerge, prompting deeper reflection on the economic strategies and outcomes of these countries. Key inquiries include:
Despite accumulating significant debt, why do these economies remain underdeveloped?
What is the actual relationship between these countries debt and their Economic Position?
What are the tangible results on these investments and their debt index?
Considering that Foreign Direct Investment (FDI) does not translate into immediate cash debt but implies potential influence over domestic institutions and enterprises, why are these countries increasingly embracing FDI?
“Assessing Debt Trajectories: A Comprehensive Analysis of External Debt Trends in Latin American Economies (2010-2021),” authored by Eduard Vargas and dated November 15, 2023.
These questions highlight the complexity and multifaceted nature of economic development and international investment in Latin American countries.
Concepts:
The world Bank describes Foreign direct investment as: “The net inflows of investment to acquire a lasting interest in or management control over an enterprise operating in an economy other than that of the investor. It is the sum of equity capital, reinvested earnings, other long-term capital, and short-term capital, as shown in the balance of payments.”(https://data.worldbank.org/indicator/BN.KLT.DINV.CD)
Please proceed to click on the “Latin American EFW (2021-2023)” Page for an introduction to the additional work performed, study of new data extracted and new conclusions.While looking for information related to the economics of Latin American Countries within the Awesome public Datasets (Github, 2020), I ecountered an item that called my attention. This is the worked performed by the Fraser Institute with regard to “Economic Freedom”.
The Fraser Institute, based in Vancouver, Canada, is a research organization with regional offices in Calgary, Toronto, Montreal, and Halifax. It specializes in evaluating government actions and policies in various areas crucial to Canadians’ quality of life, including taxation, health care, aboriginal issues, education, economic freedom, energy, natural resources, and environmental concerns.
Central to the Institute’s philosophy is the meticulous measurement of government policies’ impact on individuals. Adhering to the motto, “If it matters, measure it,” the Institute emphasizes the importance of precise and accurate analysis. By quantifying the effects of government actions, the Fraser Institute aims to foster informed public discussions, thereby influencing public opinion and policy decisions.
While some of the Institute’s policy recommendations may spark debate, its goal is to enhance public understanding of policy outcomes, enabling more informed decision-making. The Institute upholds a robust peer review process, with an Editorial Advisory Board of leading international scholars overseeing its research. This approach ensures transparency, replicability, and independence in its research activities, with methodologies clearly outlined and data sources provided.
Returning to the investigation related to Economic Freedom (being only one of the many studies performed by them), this takes some basic facts in order to provide a ranking for the Economic Freedom to a country.
As memtioned in their website (https://www.fraserinstitute.org/economic-freedom/economic-freedom-basics). The fundamental principles of economic freedom include individual autonomy, market-driven voluntary exchanges, unrestricted market entry and competition, and the safeguarding of personal and property rights from others’ interference. Economic freedom exists when individuals can acquire property legitimately and are free to utilize, trade, or gift it without infringing on others’ equivalent rights. This freedom extends to making personal choices, engaging in trade, collaborating, and competing as desired.
In a society with economic freedom, the government’s main function is to protect individuals and their property from external aggression. The Economic Freedom of the World (EFW) index measures how well a country’s institutions and policies align with this role, focusing on the protection of property rights and providing limited public services like national defense and stable currency, without overstepping into excessive functions.
For a high EFW rating, a nation must ensure robust protection of private property, a legal system that treats everyone equally, fair contract enforcement, and a stable monetary framework. Additionally, such a nation should maintain low taxes, avoid trade barriers, and depend more on market mechanisms than on governmental spending and regulation for the distribution of goods and resources.
The following 5 main areas are measured in order to quantify Economic freedom: (Please note this is an exact citation as these are the parameters used by the Fraser Institute for the work they perform):
As government spending, taxation, and the size of government-controlled enterprises increase, government decision-making takes the place of individual choice and economic freedom is reduced.
and their rightfully acquired property is a central element of both economic freedom and civil society. Indeed, it is the most important function of government. If property is not secure, if individuals are not safe, if the judiciary is not impartial, or if the rule of law is undermined, then, again, economic freedom is reduced.
earned wages and savings. Sound money is thus essential to protect property rights. When inflation is not only high but also volatile, it becomes difficult for individuals to plan for the future and thus use economic freedom effectively.
in its broadest sense, buying, selling, making contracts, and so on—is the essence of economic freedom. And this freedom is reduced when government impediments to trade make it costly or even impossible to exchange with businesses and individuals in other nations.
Fraser Institute. (2022). Economic freedom of the world: 2022 annual report. Retrieved from https://www.fraserinstitute.org/studies/economic-freedom-of-the-world-2022-annual-report
The Economic Freedom of the world report is a Dataset that contains information about 165 Jurisdictions, and each one of them is analyzed in several conditions and aspects for each one of the main areas, the file is substantially large and detailed.
The methodology and logic applied to wrangle the data from the report was the following:
Extracting the Data set/s and incorporating into R
Cleaning and removing possible errors (N/A’s, empty columns, deleting empty rows, etc.)
Filtering by the countries previously studied in the last work
Recognizing the information in the filtered Data frame
Gathering and filtering the items of interest that could potentially resonate and help explain the incognitas generated by the previous work.
Creating new visualizations with the data collected
Providing insights and conclusion of the possible relations found.
Note: There was also extraction of the previous Datasets used for the last work and therefore, the same methodology was applied for it’s manipulation and presentation in this work. Nevertheless, there were some enhancements in terms of the visual used, which will be later explained in the point 6 of this work.
The original spreadsheet looked like this:After importing to R, there was clearly some work to do:
Since the model in the original spreadsheet contained joined columns to group the 5 main areas, when importing to R, the column names where not clearly defined. In addition, all values where interpreted as ‘chr’ and therefore, transformation to numeric values was necessary.
Some unnecessary columns, such as the double input of ISO codes had to be removed in order to reduce the number of columns to study. Finally, there where also some columns named “data” advising of the data gathered, but these were already included in raking calculation after further review of the full EFW report. (Fraser Institute, 2023).
# A tibble: 6 × 85
...1 ...2 ...3 ...4 ...5 ...6 ...7 ...8 ...9 ...10 ...11 ...12 ...13
<chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
1 <NA> <NA> <NA> <NA> <NA> <NA> <NA> 1A <NA> 1B <NA> 1C <NA>
2 <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA>
3 Year ISO C… ISO … Coun… Econ… Rank Quar… 1A G… data 1B … data 1C … data
4 2021 AL ALB Alba… 7.6 31 1 7.75… 13.62 7.13… 11.02 7.54… 23.59
5 2021 DZ DZA Alge… 4.82 157 4 3.46… 28.21 7.81… 8.51… 3.99… 36.01
6 2021 AO AGO Ango… 5.38 149 4 7.17… 15.59 9.70… 1.59 8.9 18.8…
# ℹ 72 more variables: ...14 <chr>, ...15 <chr>, ...16 <chr>, ...17 <chr>,
# ...18 <chr>, ...19 <chr>, ...20 <chr>, ...21 <chr>, ...22 <chr>,
# ...23 <chr>, ...24 <chr>, ...25 <chr>, ...26 <chr>, ...27 <chr>,
# ...28 <chr>, ...29 <chr>, ...30 <chr>, ...31 <chr>, ...32 <chr>,
# ...33 <chr>, ...34 <chr>, ...35 <chr>, ...36 <chr>, ...37 <chr>,
# ...38 <chr>, ...39 <chr>, ...40 <chr>, ...41 <chr>, ...42 <chr>,
# `Area 4` <chr>, ...44 <chr>, ...45 <chr>, ...46 <chr>, ...47 <chr>, …
# Creating a new data frame with the cleaned data
new_EFW <- EFW_dataset %>%
# Set column names using the third row
{
new_col_names <- .[3, ] # Extracting the third row for column names
colnames(.) <- new_col_names # Setting new column names
.[-c(1, 2, 3), ] # Removing the first three rows (including the one used for column names)
} %>%
# Remove columns named 'data'
select(-matches("^data$"))# Convert columns from the 4th to the second-to-last column to numeric and replace NAs with 0
new_EFW <- new_EFW %>%
mutate(across(5:(ncol(.) - 2), ~ifelse(is.na(as.numeric(.)), 0, as.numeric(.)))) %>%
mutate(across(5:(ncol(.) - 2), ~round(., 2)))
# Filter by specified Latin American countries
latin_american_countries <- c("Argentina", "Belize", "Bolivia", "Brazil",
"Colombia", "Costa Rica", "Dominican Republic",
"Ecuador", "El Salvador", "Guatemala", "Haiti",
"Honduras", "Mexico", "Nicaragua", "Paraguay", "Peru")
# Creating a new Data Frame with the Latin American Countries only
LA_EFW <- new_EFW %>%
filter(Countries %in% latin_american_countries)
# New Data Frame filtered by the years 2011-2023 (as per las work)
LA_EFW_2011_2023 <- LA_EFW %>%
mutate(Year = as.numeric(Year)) %>%
filter(Year >= 2011 & Year <= 2023)
# Removing unnecessary column
LA_EFW_2011_2023 <- LA_EFW_2011_2023 %>%
select(-`ISO Code 2`)For the remaining steps, please see the indications throughout the rest of the work in the next page “DATA ANALYSIS AND COMPARISON”
Before starting analysis all the specifics in order to compare details that could potentially match the information acquired from the world bank (https://www.worldbank.org/en/programs/debt-statistics/ids). It is necessary to do an overall comparison of the general rankings for all the countries in the Latin American list. This will provide perspective with regards to the classification and position among the region.
Methodology:
Using the template for animated scatter plot from “https://plotly.com/r/cumulative-animations/”, I am constructing a visualization for the general ranking of the selected countries throughout the years (2011-2021). In addition, to build the interactive Choropleth Map Using GeoJSON map. I utilized the template obtained from plotly (https://plotly.com/r/choropleth-maps/)
For the construction of these plots, further filtering was necessary. First to gather the general rankings for each country against the years (2011-2021), and later, isolating the data just for the latest year, so that a clear comparios and visual perspective could be generated.
Below, you will see the geographical color ranking from highest to lowest EFW ranking as per the data collected. (left-side), as well as the general behavior of each country’s ranking throughout the period 2011-2021
On the left side, it is evident that overall, the Latin American countries had a ranking between 6.2 and 7.2, which means that region behaved in a similar way.
The 3 highest positions for 2021 were :
Costa Rica with a score of 7.76
Peru with a score 7.52
Guatemala with a score 7.50
Opposite to the 3 lowest positions being:
Argentina with a score 4.77
Belize with a score 5.91
Bolivia with a score 6.08
In addition, Argentina has a record of overall having the lowest ranking among all Latin American Countries.
A further relationship analysis will be conducted in the next tab.
For the purpose of this work, and taking into account the first one, I will gather only Area 1 (Size of Government), as they directly speak about economics and investments. In other words, how the governments uses funds to improve the overall lifestyle of their citizens.
Please note that, as described by the Economic Freedom of the World (EFW) report:
“Size of Government reviews As government spending, taxation, and the size of government-controlled enterprises increase, government decision-making takes the place of individual choice and economic freedom is reduced.” (Fraiser 2023)
Methodology: For this, I selected the columns referring to “Government Consumption” vs “Government Investment”. This required gathering and filtering from the original Data Set (After the first Cleaning procedures). In addition, after gathering the relevant data, the creation of a facet plot was necessary in order to compare the values and visualize the behaviors. (The building of these was through the template of the model in the previous work)
Upon conducting an in-depth analysis of the interplay between “Government Consumption” and “Government Investment” vis-à-vis each country’s debt levels, I gained a nuanced understanding of how these nations utilize financial resources to enhance the well-being of their citizens.
A notable case is Haiti, which, despite grappling with natural calamities, has been progressively channeling funds obtained through debt, leading to a significant shift in fiscal strategy between 2018 and 2019 (pre-pandemic era).
Conversely, nations such as Costa Rica, Brazil, and El Salvador exhibit higher indices in terms of government expenditure for public benefit, aligning closely with their superior overall rankings within the Latin American region.
However, a contrasting scenario is observable in Nicaragua. Here, the convergence of government consumption and investment from 2011 to 2015 potentially indicates financial mismanagement. Post-2015, a stark decline in investment juxtaposed against consistent government expenditure raises concerns, particularly when considered alongside their debt index. This discrepancy necessitates a comprehensive analysis to reconcile with the collated data.
Bolivia and Argentina present intriguing dynamics. In Bolivia, a worrying discrepancy exists between government expenditure and investment. Argentina, meanwhile, shows a close correlation between these two factors. These patterns are reflective in their lower economic freedom rankings. Bolivia’s situation is particularly striking, as its economic debt is not as substantial as Argentina’s, yet it reveals a potential loss or misallocation of resources.
This analysis addresses two of the initial queries posed:
What is the actual relationship between these countries’ debt and their Economic Position? The findings reveal a direct correlation between these elements. For Latin America, the proximity between government spending and investment suggests a potential for more effective resource allocation.
What are the tangible results of these investments vis-à-vis their debt index? The outcome manifests as economies experiencing moderate net growth, which could be optimized with more judicious fiscal management by the governments.
Further exploration of the World Economic Freedoms reports could yield additional insights, particularly concerning metrics like inflation and gender disparity. An interesting dimension for continued analysis would be:
Area 3 (Sound Money), which examines how inflation undermines the value of legitimately earned income and savings, thereby necessitating sound monetary policies to safeguard property rights. The fluctuating nature of high inflation complicates future planning, impacting the effective utilization of economic freedoms (Fraser Institute, 2023).
Vargas, E. (2023). Assessing Debt Trajectories: A Comprehensive Analysis of External Debt Trends in Latin American Economies (2010-2021).
Fraser Institute. (2022). Economic freedom of the world: 2022 annual report. Retrieved from https://www.fraserinstitute.org/studies/economic-freedom-of-the-world-2022-annual-report.
World Bank. (n.d.). GNI (constant 2015 US$) [Data set]. World Development Indicators. https://databank.worldbank.org/metadataglossary/world-development-indicators/series/NY.GNP.MKTP.KD
World Bank. (n.d.). Country Analytical Data - Argentina. International Debt Statistics. Retrieved from https://datatopics.worldbank.org/debt/ids/countryanalytical/ARG
World Bank. (n.d.). Long-term External debt stocks [Data set]. World Bank DataBank. https://databank.worldbank.org/metadataglossary/all/series?search=Long-term%20External%20debt%20stocks
World Bank. (n.d.). Country Analytical Data - Argentina [Data set]. World Bank International Debt Statistics. Retrieved from https://datatopics.worldbank.org/debt/ids/countryanalytical/ARG#
World Bank. (n.d.). Country Analytical Data - Argentina [Data set]. World Bank International Debt Statistics. Retrieved from https://datatopics.worldbank.org/debt/ids/countryanalytical/ARG#.
World Bank. (n.d.). [Data set on the use of IMF credit and SDR allocations]. World Bank DataBank. Retrieved from https://databank.worldbank.org/metadataglossary/all/series?search=Use%20of%20IMF%20Credit%20and%20SDR%20allocations