Data Analysis of the 2014 Mass. Gubernatorial Election

Coakley received a lot of votes from residents of Massachusetts’s major cities. This is evident in the maps I posted last week, and in the charts below. What may be surprising is how many votes Baker received in cities, including Boston:

Baker received nearly 10,000 more votes in Boston than he did in 2010. If those had gone to Coakley instead, the spread between them would have been cut roughly in half.

That is the raw vote count, here are the places where Baker saw the largest increase in percentage points:

It’s interesting that Quincy is the second highest in the Commonwealth on this measure. That is probably due in large part to Tim Cahill dropping from the 2014 race, although it may also have something to do with the democratic mayor’s endorsement of Baker:

The only places where Baker lost percentage points relative to 2010 are in the northwest where Lively grabbed some votes, and on the Vineyard.

Partisan Cities and Towns

Baker received a plurality of votes in the majority of towns.

But it was still a close call because Coakley won big in certain places, including a few where she received close to 80% of the vote. This histogram is the inverse of Baker’s (above), but the bins are weighted by population:

Nearly eight in ten people in Cambridge voted for Coakley. That is remarkable for such a large, diverse city.

In order to analyze this divide, I came up with a naive measure of each city and town’s partisanship. I did this by taking the absolute value of the divide between Coakley and Baker, multiplying it by -1, and then adding the average percentage points for all independent candidates from the last two elections. There are probably more commonly used methods that work better, but this gives an idea of where the most “independent” cities and towns are (and, conversely, which places are the most partisan.)

Here are the top 15 by population:

You can see that this is just as much a measure of a strong divide within the place as it is a measure of “independence.” Nonetheless, it does shed some light on which places could be said to be the most partisan:

The top republican strongholds all have populations under 20,000, while democratic places are a mix of inner cities and small towns. Interestingly, Boston did not make the top 15.

Aside: Social Qualities that Correlate

Just for fun, I checked results against census data. There are not too many qualities of a municipality that have a detectable correlation to how that place votes, but here are a couple that I noticed.

Baker tended to do better in places with a high percentage of households with children under 18 …

… and in wealthier municipalities:

But higher education was not correlated at all on the municipal level (sorry to anyone who wanted to ascribe the election results to education levels of towns and cities):

Conclusion

Election data is always enjoyable to analyze. There is nothing too novel in these results. I believe that most of the nuanced, actionable analysis comes from drilling deeper into surveys and trends at the local level. But it is still fun to see how the Commonwealth breaks down along party and class lines. Code and data to replicate my results can be found here.

Related

comments powered by Disqus