Predicting Elections Using Wikipedia

Because Twitter just isn’t good enough

Bingjiefu He
May 23, 2020 · 4 min read

ocially generated data is all the rage these days. In the fields of marketing and political analysis, data from Twitter, Facebook, Google, Instagram, and even Reddit, has been employed for models aiming for deconstruction and predictions. However, data generated via social media is inherently biased, and often lacking in scope for modeling the behavior of large segments of the population.

Recently, I got in touch with my friend Yosef (pseudonym, he values his privacy), who is studying for his Master’s degree in Data Science at Oxford. He introduced me to a paper by Dr. Taha Yasseri, who employs traffic data from Wikipedia to predict electoral outcomes, which may potentially revolutionize the field of electoral modeling, and perhaps provide some insight for data scientists in other fields.

The Problem with Social Media

Photo by dole777 on Unsplash

The landscape of social media users is heavily skewed towards specific demographics. Take Twitter: a study conducted on behalf of the Association for the Advancement of Artificial Intelligence (AAAI) found that the demographic of Twitter is mainly composed of Caucasian males living in populous (urban) areas. Any analysis of Twitter data would then be influenced disproportionately by this heavily skewed demographic, resulting in a biased snapshot of the whole.

The “silent majority” problem constitutes another vector of difficulty in employing socially generated data. Social media platforms are often dominated by opinionated active users, silencing the vast majority of users who are either silent due to perceived social pressures or are merely content with lurking. Thus, taking a sample from the vast ocean socially generated data is like scooping up the top layer of an anthill: by no means indicative of the whole.

Of course, one can control for these interferences, but deriving a working model from a flawed dataset is not ideal. A better solution is needed.

Wikipedia to the Rescue

Photo by Artem Maltsev on Unsplash

Most voters, or just people in general, would attempt to seek out authoritative information for informed decisions. For most web users, Wikipedia has grown from “that source your high school teacher distrusts” to an authoritative voice on all things in life. We use Wikipedia for research, validation, or simple boredom browsing, trusting its team of detail-oriented editors in presenting accurate information in today’s world of fake news and opinion pieces.

Thus, as reasoned by Dr. Yasseri, Wikipedia page views should provide valuable insights into electoral modeling. Unlike Twitter, Facebook, and Instagram, Wikipedia is a neutral, passive platform that does not possess the demographic/silent majority issues that plague other social media platforms.

There are still problems, however. People are far more likely to seek information if they are considering changing their vote, meaning that swing voters are potentially the primary driver of pageview metrics on Wikipedia. Furthermore, a large segment of the populace would often seek out information from news media, instead of from online sources such as Wikipedia.

For those interested in the methodologies employed by Dr. Yasseri, please check out his paper (shout out to co-author Dr. Jonathan Bright). Below is a summary of the findings:

  • Wikipedia is a powerful tool for predicting swing votes but is insufficient in predicting overall electoral outcomes. News mentions, basic information of political parties, and other variables must be considered in constructing an overall informed model of electoral prediction.
  • New political parties and candidates tend to attract a disproportionate amount of Wikipedia page views. This should be considered should you be interested in modeling with Wikipedia data.
  • Media mentions do not drive Wikipedia page views. Media mentions are overly biased towards incumbent parties and candidates, whereas Wikipedia traffic is driven by “novelty,” i.e., the newness of a political party/candidate.
  • The study was conducted in the EU, not the US. Unknown variables such as internet access, demographic compositions, and underlying biases could still have an impact. My friend Yosef is currently attempting to apply this model to US regional elections, with outcomes unknown.

Final Thoughts

Photo by National Cancer Institute on Unsplash

Wikipedia traffic data could offer a new vector of approach in predicting electoral outcomes. It could also be applicable in other areas, such as modeling consumer behavior (likelihood of switching from an established brand to a new one), or just human behavior in general (use your imagination). It also shows that, potentially, media biases do not have a significant impact on swing voters, leading to interesting implications when analyzing the Bernie and Yang campaigns of the 2020 Democratic Primaries. However, as always, more validations are needed.

The Startup

Get smarter at building your thing. Join The Startup’s +799K followers.

Bingjiefu He

Written by

PR Consultant, Writer, China Expert. Currently job hunting. Visit my personal website at bingjiefuhe.com

The Startup

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +799K followers.

Bingjiefu He

Written by

PR Consultant, Writer, China Expert. Currently job hunting. Visit my personal website at bingjiefuhe.com

The Startup

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +799K followers.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store