Other Projects

Identifying and understanding micro-enterprises in Colombia

These are visualizations I created for a final project for PP422: Data Science for Public Policy. My colleagues and I were hired by UNDP Colombia to Classify informal small businesses using national survey data. Our aim was to identify distinct categories of micro-enterprises to help UNDP tailor formalization programming to businesses' specific needs.

To complete this task, my colleagues and I used two unsupervised learning techniques. First, we created an informality index using principal component analysis (PCA). We then used k-means clustering to identify distinct categories of micro-enterprises. We identified three categories of micro-enterprises: Deep-rooted informal, Transitional firms, and Formalization prospects.

The maps below show how our informality index varies geographically.1

I also created a bar chart to show how our informality categories varied geographically.

The state of the Mexican Economy

This is an assignment I completed for PP440: Micro- and Macro-Economics for Public Policy. My assignment was to write a memo addressed to the finance minister of a country of my choice on that country's economic performance in the long- and short-run (part of the assignment was to define a specific point demarcating the long- and short-run and to justify my definition). I was asked to describe the state of the economy using three variables the and accompanying visualizations. Finally, I had to discuss whether I believe supply or demand factors are dominating in driving inflation. I chose to write about Mexico. I had a two-page space limit. I have made minor grammatical and flow edits.

0. Summary

This memo provides an overview of the performance of the Mexican economy in the long run and the short run. I define the short run as beginning in March of 2020 and continuing until today. This is because the shock and subsequent recovery from the COVID-19 pandemic has been the dominant economic force affecting Mexico's economy in recent years. I highlight the short term in each of the figures below. I express economic performance in terms of GDP growth, unemployment, and inflation. I chose these figures because they illustrate the strengths and weaknesses of Mexico's economy - Mexico has relatively low growth and unstable inflation but performs well in unemployment. GDP growth is modest in the long run, typically around 2% year-over-year. In the short run, growth cratered due to COVID-19, but has since recovered to typical levels. In the short and long runs, unemployment is relatively low and declining. Inflation in Mexico is more sensitive - it has peaked three times over the past 15 years. In the short run, Mexico has experienced its highest inflation since the 2008 global financial crisis, peaking in August 2022. As I explain later in the memo, this is mainly driven by demand-side factors.

I. GDP Growth

Apart from a dramatic peak and valley due to the COVID-19 pandemic, GDP growth in Mexico has been modest for the past decade. As shown in Figure 1, Mexico's GDP typically grows around 2% per year, rarely surpassing 3% and sometimes dipping below 1%. Mexico entered COVID-19 in a mild recession. Economic commentators often remark that Mexico's economy under-performs because its growth rate is persistently lower than other middle-income countries. In terms of GDP growth, Mexico more closely resembles a high-income country.2

In the short run, Mexico's economy is still recovering from the COVID-19 pandemic. The pandemic was a massive shock to growth, which dropped to -20% in the second quarter of 2020. Mexico's economy shrank for the following three quarters. GDP growth spiked to nearly 22% in the second quarter of 2021 (this number is only this high because the COVID-related drop was so steep.) Since then, GDP growth has been consistently small but positive. GDP has grown at around 3% since COVID-19. Mexico's GDP reached pre-pandemic levels in the third quarter of 2022, slower than most Latin American economies. Recently, Mexico's, GDP growth has begun to decline. After a steep valley and peak due to COVID-19, Mexico appears to be returning to its usual slow growth.

II. Unemployment

Despite its under-performance in other areas, Mexico's Unemployment rate is enviably low. Over the past two decades, unemployment in Mexico has been consistently lower than in other large Latin American economies.3 As shown in Figure 2, unemployment in Mexico has spiked due to negative economic shocks but has recovered reliably. It reached nearly 6% at the height of the 2008 financial crisis, but recovered steadily over the next decade, leveling off at around 3.5% before the beginning of COVID-19.

In the short run, unemployment has followed a similar pattern. At the height of the COVID-19 pandemic, unemployment reached nearly 5%. Recovery has been swift since then - by the third quarter of 2023, unemployment reached 2.8%, its lowest level in over two decades. Unemployment in Mexico appears to be cyclical rather than structural. Mexican policymakers should be more concerned with GDP growth and inflation.

III. Inflation

Inflation in Mexico is more volatile in the long run. Figure 3 shows that in the past 15 years, Mexico has experienced two spikes in inflation, each lasting around a year. The first occurred in 2009 after the global financial crisis, reaching a peak of around 6.5%. Over the next five years, inflation stayed between 3% and 4.5%. Inflation reached a record low, just over 2% near the end of 2015, only to surpass 6.5% again two years later. Inflation was declining in the two years before COVID.

In the short run, Mexico has experienced its highest inflation since the 1990s. Inflation rose sharply from the beginning of the COVID-19 pandemic, reaching a peak of 8.7% in August of 2022. Since this peak, inflation has declined just as sharply. Last month, inflation stood at 4.4%. I believe Mexico's most recent inflation is demand-related.

IV. Causes of inflation

I believe Mexico's recent inflation is due to the economy overheating. This is because growth in the short run has been consistently positive. In the aggregate demand/aggregate supply framework, this indicates inflation is due to an outward shift in aggregate demand. Additional data points support this thesis. Mexico has recently experienced a surge in investment due to American supply chain near-shoring efforts and major domestic infrastructure projects, many of which are over budget. I believe this investment has shifted Mexico's aggregate demand outward, leading to greater output and higher prices.

The Mexican central bank appears to agree with this assessment. To cool the economy, Banxico has aggressively pursued a contractionary monetary policy, holding interest rates at a near-record 11.25% for its past seven meetings. The economy seems to be responding to these high interest rates. GDP growth, while still positive, has slowed for the past five quarters. Unemployment, having dropped sharply in the short term, has begun to level off near 3%. Indeed, Mexico's monetary policy may soon lead to a recession.

Economics Observatory Contributions
More coming soon.