Twitter: @pakremp
The probability that an individual voter would end up determining the outcome of the election is extremely low. But it varies dramatically across states. We use the posterior distribution of the state-by-state vote intentions forecast on election day to replicate the calculation detailed in Gelman, Silver and Edlin’s (2012) Economic Inquiry article, “What is the probability that your vote will make a difference?”.
The R code is available here.
The intuition behind this calculation is simple: your vote can decide the outcome of the election if and only if two conditions are met:
The state in which you vote is critical to the outcome of the election – in other words, neither candidate has already reached a total of 270 electoral votes, without your state’s electoral votes. All things being equal, this situation is more likely if you live in a big state with a high number of electoral votes and if the electoral votes of other states are evenly split.
The two leading candidates receive the exact same number of votes in your state. A highly improbable situation, of course, but which should be relatively more likely if the race is close and if turnout is low in your state.
To calculate this probabilities, we simply apply Bayes’s rule:
\[\begin{aligned} \textrm{Pr(your vote is decisive)} & = \textrm{Pr(your state's EV are critical} \cap \textrm{your state is tied)} \\ & = \textrm{Pr(your state's EV are critical)} \times \textrm{Pr(your state is tied | your state is critical)} \end{aligned} \]
We calculate \(\textrm{Pr(your state's EV are critical)}\) by calculating for each state \(i\) the number of simulations from the posterior distribution of the state-by-state vote intentions forecast in which \(| \sum_{s \neq i} EV^{Clinton}[s] - EV^{Trump}[s]| < EV[i]\), and adding half of the number of simulations in which \(| \sum_{s \neq i} EV^{Clinton}[s] - EV^{Trump}[s]| = EV[i]\). (\(EV^{Clinton}[s]\) and \(EV^{Trump}[s]\) are the number of electoral votes already gained by Clinton or Trump in state \(s\); \(EV[i]\) is the number of electoral votes to be allocated by state \(i\)). We divide this number by the total number of simulations.
The calculation of the conditional probability \(\textrm{Pr(your state is tied | your state is critical)}\) is slightly more complicated. We take the set of simulations in which your state’s electoral votes are critical (simulations in which \(| \sum_{s \neq i} EV^{Clinton}[s] - EV^{Trump}[s] | \leq EV[i]\)) and calculate the mean \(M\) and standard deviation \(S\) of the Clinton net margin against Trump, in total number of votes. To do so, we use the 2012 election turnout numbers for state \(i\), adjusted for adult population growth between 2011 and 2015 (according to state-by-state US Census data). The conditional probability of a tie is the density estimated at zero of a T distribution with location \(M\) and scale \(S\) and 4 degrees of freedom. Footnote 8 of Gelman, Silver and Edlin’s article explains why the T distribution with 4 degrees of freedom is preferable to the Normal distribution.
The following graph shows the conditional probability \(\textrm{Pr(your state is tied | your state's EV are critical)}\) on the logarithmic x-axis, and the probability \(\textrm{Pr(your state's EV are critical)}\) on the logarithmic y-axis.
Here are the approximate probabilities for each state.
State | Pr(State EV are critical) | Pr(State vote is tied | State EV are critical) | P(your vote is decisive) |
---|---|---|---|
New Hampshire | 4% | 1 in 40 thousand | 1 in 1 million |
Colorado | 9% | 1 in 100 thousand | 1 in 1 million |
Nevada | 3% | 1 in 60 thousand | 1 in 2 million |
Wisconsin | 10% | 1 in 200 thousand | 1 in 2 million |
Pennsylvania | 17% | 1 in 400 thousand | 1 in 2 million |
Michigan | 13% | 1 in 300 thousand | 1 in 3 million |
New Mexico | 7% | 1 in 200 thousand | 1 in 3 million |
North Carolina | 6% | 1 in 200 thousand | 1 in 3 million |
Florida | 12% | 1 in 400 thousand | 1 in 3 million |
Maine | 4% | 1 in 200 thousand | 1 in 5 million |
Minnesota | 9% | 1 in 1 million | 1 in 10 million |
Virginia | 11% | 1 in 1 million | 1 in 10 million |
Ohio | 7% | 1 in 2 million | 1 in 20 million |
Iowa | 3% | 1 in 1 million | 1 in 30 million |
Rhode Island | 4% | 1 in 1 million | 1 in 30 million |
Connecticut | 8% | 1 in 3 million | 1 in 40 million |
Oregon | 8% | 1 in 3 million | 1 in 40 million |
Arizona | 5% | 1 in 2 million | 1 in 40 million |
Georgia | 7% | 1 in 4 million | 1 in 60 million |
South Carolina | 4% | 1 in 4 million | 1 in 100 million |
Alaska | <1% | 1 in 2 million | 1 in 100 million |
Washington | 11% | 1 in 20 million | 1 in 200 million |
Delaware | <1% | 1 in 3 million | 1 in 300 million |
New Jersey | 11% | 1 in 40 million | 1 in 400 million |
Mississippi | 3% | 1 in 20 million | 1 in 1 billion |
Illinois | 16% | 1 in 100 million | 1 in 1 billion |
Missouri | 4% | 1 in 30 million | 1 in 1 billion |
Texas | 11% | 1 in 90 million | 1 in 1 billion |
Hawaii | 4% | 1 in 50 million | 1 in 1 billion |
Kansas | 3% | 1 in 40 million | 1 in 1 billion |
Utah | 3% | 1 in 50 million | 1 in 2 billion |
Montana | <1% | 1 in 30 million | 1 in 2 billion |
Arkansas | 3% | 1 in 70 million | 1 in 3 billion |
Indiana | 5% | 1 in 100 million | 1 in 3 billion |
South Dakota | <1% | 1 in 30 million | 1 in 3 billion |
Tennessee | 5% | 1 in 100 million | 1 in 3 billion |
New York | 22% | 1 in 1 billion | 1 in 3 billion |
North Dakota | <1% | 1 in 50 million | 1 in 4 billion |
Nebraska | <1% | 1 in 80 million | 1 in 4 billion |
Massachusetts | 11% | 1 in 500 million | 1 in 4 billion |
Louisiana | 3% | 1 in 200 million | 1 in 5 billion |
Alabama | 4% | 1 in 300 million | 1 in 7 billion |
California | 61% | 1 in 4 billion | 1 in 7 billion |
Kentucky | 3% | 1 in 300 million | 1 in 8 billion |
West Virginia | <1% | 1 in 200 million | 1 in 9 billion |
Maryland | 9% | 1 in 1 billion | 1 in 10 billion |
Vermont | <1% | 1 in 100 million | 1 in 10 billion |
Idaho | <1% | 1 in 100 million | 1 in 10 billion |
Wyoming | <1% | 1 in 300 million | 1 in 30 billion |
Oklahoma | 3% | 1 in 1 billion | 1 in 30 billion |