There has been a lot of talk lately about immigration. In particular, about if immigrants cause crime in the cities they go to. Like a lot of controversial topics, this one is based mainly in anecdotes and exaggerations. Here is some data regarding the issue.
In this post I look at the relationship between crime rates and Mexican immigrant population in 102 counties between 1980 and 2010. For a full methodology and the R code used to analyze the data, see below.