Most of the increase has been because of the drug war, though as Mexico becomes more violent there has been a small rise in homicides not related to the drug war.
By State:
For females:
The most violent municipalities:
What stands out from the chart of the most violent municipalities for females is that Almoloya and Texcoco in the state of Mexico made the list (hint hint future gubernatorial candidates).
In this chart I show the maximum and minimum homicide rates from 1990 to 2006 (right before the drug war started) and compare it with the 2009 rate to put it in historical perspective:
Interestingly, the rate for Michoacán in spite of the drug war is nowhere near its maximum. The rate for 11 states is above or near their maximum from 1990 to 2006 and for 7 it is at or near their lowest rate (hint hint future presidential candidate).
The monthly totals:
The weekly totals:
Taking into account the undercount for the last year the totals would be:
2006 - 10,429
2007 - 8,843
2008 - 14,175
2009 ~ 19,900 (19,121 recorded in the database)
which assuming a population of 111 million (there were 112.3 million Mexicans in the 2010 census) would give a homicide rate of:
which is of course quite different from the 16,117 homicides according to police reports, and their corresponding rate of 15.
The mean age for homicide victims in 2009 was 34.6 with a sd of 14.3 years (it hasn't changed significantly since 2006):
The increase in homicides since the drug war went charlie-foxtrot was especially acute among 18-40 years olds:
Homicide victims by age groups:
The proportion of homicides that occurred out in the streets keeps on increasing:
The educational attainment of homicide victims:
When violence increases it's usally men who suffer the most, though according to newspaper stories there was a big increase in the proportion of women murdered in Ciudad Juárez in 2010, maybe the increase in the percentage of homicide victims who are men will stop next year?
The rate of increase in homicides commited with a firearm slowed down:
Right before midnigth is the most dangerous time in México:
(There was a mistake in the database, when the hour of death was unknow it was coded as having occurred at midnight, I discarded that value and used the average of the number of homicides between 11:00pm and 1:00am)
P.S. The code is at my GitHub



















4 comments:
This is impressive work, thank you for making the code available! I started using ggplot2 a month ago, so it's very helpful looking at others peoples code, seeing how they do things. Thanks!
I'm glad you found my work useful.
This is some very interesting data exploration, and good use of ggplot2. It's rather depressing how negative an impact the drug war seems to have had on Mexico.
I would like to offer a couple of constructive critiques, though.
First, you note that the rate of increase in percent of homicides by firearms seems to have slowed in the past year. To me, this looks more like noise, and might be measurement error rather than a real drop. Even if it's not a measurement error, your conclusion implies a trend, which the data does not appear to support. Unless there is a predictive model that predicts a slow-down in the increase and is supported by this data, we would be better to comment that there is year-on-year variation in the rate of increase.
Similarly, the "Sunday is the most dangerous day" comment appears to be based on noise rather than a real difference. We would need to perform an ANOVA using days of the week as the factor and homicides as the response to determine if there is a real, measurable difference between Sunday and the other days.
Thomas,
1)I should have linked to my previous post on firearm homicides or at least to this chart. I should also probably switch to displaying the proportion in monthly increments instead of yearly to make the pattern more clear.
2)You're absolutely right, it's been corrected. Thanks for the feedback!
Post a Comment
Thank you for your interesting and insightful comments. I truly look forward to reading them.