Publications and Research

Document Type


Publication Date

Winter 1-31-2018


We develop a simulation model for predicting the outcome of the US Presidential election based on simulating the distribution of the Electoral College. The simulation model has two parts: (a) estimating the probabilities for a given candidate to win each state and DC, based on state polls, and (b) estimating the probability that a given candidate will win at least 270 electoral votes, and thus win the White House. All simulations are coded using the high-level, open-source programming language R. One of the goals of this paper is to promote computational thinking in any STEM field by illustrating how probabilistic modeling and computer simulations can solve real-world problems for which analytical solutions may be difficult to find.


This article was originally published in Journal of Humanistic Mathematics, available at, DOI: 10.5642/jhummath.201801.05

This article is distributed under a Creative Commons Attribution License.



To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.