Mexico’s Economy

[This article was first published on Diego Valle's Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Yesterday the INEGI released the GDP figures for 2009, and since it was an annus horribilis for Mexico, I thought I’d put up a couple of charts. Looking through the Banco de Información Económica I found two series of historical seasonally adjusted GDP data available:

  1. GDP in 1993 pesos going from 1980 to 2007
  2. GDP in 2003 pesos going from 1993 to 2009

I used a linear regression to combine both series, which I’m sure is wrong for some obscure technical reason only known to economists, but for a blog post I’m sure it is more than enough.

The GDP is in millions of pesos. You can clearly see why the 80s were a lost decade, and that’s not even taking into account that the population of Mexico increased by more than 10 million.
To calculate the GDP per capita I had to find the data for the 1980 census and extrapolate up to 1990, the first year for which I could find population estimates from the Conapo.
The 80s sure sucked. The boom combined with the recovery from the “december mistake” probably helped Zedillo achieve the highest growth rates. And, obviously, the current president is in negative territory.
Here’s what happened this decade:
That was a fall of 7.3% in GDP per capita! Sigh… another lost decade

P.S. Here’s the code

To leave a comment for the author, please follow the link and comment on their blog: Diego Valle's Blog. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)