blog

Trying to Get It Right when Everyone was Wrong


by Casey Fitzpatrick

Trying to Get It Right when Everyone was Wrong

Now that the electoral college has signed, sealed, and certified their votes in sextuplicate, we thought it'd be a great time to dive into the resuls of our recent lightning competition for election predictions.

When we partnered with Civis Analytics to find America's Next Top (Statistical) Model, we were not expecting that the 2016 U.S.A. Presidential Election would come to be described as the biggest political upset in U.S. history. The upset, of course, was that nearly all the data – including the Republican National Committee's – seemed to favor the Democratic candidate. Nevertheless, when the Electoral College met on December 19, Republican President Elect Donald J. Trump received 304 electoral votes compared to Democratic chellenger Hillary Clinton's 227. (Seven electors — 2 of Trump's and 5 of Clinton's — defected and voted for somebody else.) Trump's electoral victory comes despite Clinton's popular vote lead of nearly 3 million, distinguishing the 2016 results as the largest gap between the popular vote and the electoral college in nearly 150 years.

While some see the predictions of 2016 as an absolute failure of data-driven approaches to politics, it is important to remind ourselves that not all approaches were equally wrong. Certain models were essentially certain that Clinton would win in a landlside. But others, noteably Nate Silver's 538 model, actually issued a non-trivial 10.5% chance that precisely what did happen would happen: Trump wins the Electoral College while Clinton wins the popular vote. With these facts in mind, let's take a quick look at our top submissions and try to gain a sense of what made some approaches more right when everyone was wrong.

Our competitors were asked to submit specific percentage predictions for each of the four major candidates in each state. Competitors were allowed to use any data, from polls to posts, to generate their predictions. Submissions were scored according to the RMSE metric. To get a quick sense of how competitors did overall, let's look at the error chart for the mean predictions. We took the mean of each prediction for each candidate in each state, and subtracted the prediction from the actual outcome, meaning results less than zero correspond to a candidate underperforming expectations, and results greater than zero correspond to a candidate overperforming.

Clearly Trump overperformed and Clinton underperformed throughout submissions. That makes sense since Trump beat his polls in many keys states, particularly in battleground and so-called "Democratic firewall" states, leading to the upset. Given that the polls were off, however, these errors also indicate an overreliance on polling data as inputs to the model predictions. This can be seen very clearly by Trumps overperformance in some of the key states thought to have flipped the election, such as PA, FL, NC, OH, MI, and WI.

Let's focus specifically on Pennsylvania (PA), Michigan (MI), and Wisconsin (WI). These states are interesting for a couple of reasons. First, WI hasn't voted republican in a presidential election since 1984, while PA and MI haven't since 1988, making these states part of the supposed Democratic Firewall. Second, given that these states were expected to go to the Democrats, it is worth noting that had this been the case their electoral votes alone – PA: 20, MI: 16, and WI: 10 – would have been more than enough to make Clinton the 45th president.

As expected, Trump overperformed in each of these key states, indicating the general trend of overreliance on polls mentioned above. The question now is, Did the winning models do better in the key "surprise" states, and if so, why?

Aside from polling data and historical returns, several winners enriched their models with other data. The top finisher, a quantitative policy researcher from the Netherlands, and the second place team, composed of an analyst and a former political journalist now communications executive, both included demographic variables and other specific domain knowledge in their predictions.

The top finisher relied on demographic information from the census, including race, education level, and income. Nevertheless, despite finishing first overall on our leaderboard (and therefore closer to the actual outcome of the election), when comparing reality to the winner's best submission, Trump overperformed the key state predictions even more than mean of submissions. This result is consistent with the position that "demographics aren't destiny."

As for the second place team, they took a slightly different approach to get information from beyond the polls. Leaning on nearly two decades of experience in political reporting, demographic and historical variables were used to categorize states into the following scenarios:

  • Time for Change - predicted to return to Bush republican years (Trump-like demographics e.g., high percent uneducated)
  • Partial Time for Change - predicted partial reversion but not full based on demographics (e.g., reduced Black vote but higher Hispanic vote)
  • No Time for Change - predicted to remain similar to Obama years (e.g., large minority population, Mexican boarder states)
  • Trend - states consistently trending Democratic or Republican since 2000 and predicted to remain doing so
  • Mormon Corridor Pattern - large Mormon population and predicted higher 3rd party vote

This additional information was weighted more than polls by the second place model. The resulting key state error is given below:

As we can see from the figure, Trump still overperformed the predictions but the second place model predictions are approaching the actual outcome, and significantly outperforming the mean of submissions – and the first place finisher in all key states (including key states other than MI, PA, and WI).

In fact, Trump's actual results did not outperform the second place predictions by more than 2.5% in any key state, whereas the winning model was off by over 3% in each key state shown, and nearly 5% in some others such as Ohio.

So, what can we take away from a contest where even the winning models failed overall? Well, it seems clear one take away is that more than polling data was needed to get closer to anticipating the upset. Does that mean that "data is dead," as some have said? No, it doesn't. It simply means that polling doesn't tell the whole story; if it did, we wouldn't need elections. Here at DrivenData, we are fortunate to have competitors who were able to leverage this insight, getting closer to right when pretty much everyone was wrong.