Linzer 2013 - Forecast Computation and Electoral College Simulation
Summary
State win probabilities are posterior proportions of draws with . The presidential win probability comes from summing electoral votes within each joint posterior draw, so correlation across states is preserved automatically, then counting draws with at least 270 of 538 votes.
Overview
All outputs are by-products of the MCMC: daily opinion , national effects , filtered state trends , and Election-Day forecasts , each with credible intervals from the spread of posterior draws.
Main Content
State win probability
.
Electoral College probability
For draw : (3 for DC, reliably Democratic). of 538. Using joint draws avoids the independence assumption of per-state-probability convolution (Kaplan & Barnett 2003).
Swing state
State with posterior probability of a Democratic win between 10% and 90%.
Examples
Why joint draws matter
Two states of 10 and 6 electoral votes, each with . Under independence, and . If the draws are positively correlated (a national swing), and both rise and the middle outcomes fall, so electoral-vote tails are heavier than a product-of-marginals convolution implies. Computing the tally within each posterior draw captures this with no extra modelling.
import numpy as np
def ec_prob(pi_draws, ev, base=3, need=270):
wins=(pi_draws>0.5) # M x S
tally=base+wins@ev
return wins.mean(0), (tally>=need).mean(), np.percentile(tally,[2.5,97.5])Connections
The same joint-draw construction supports E40’s tipping-point analysis, and E95’s reweighting of the stored draws (see the concept note).
See Also
Linzer 2013 - Dynamic Bayesian Forecasting of Presidential Elections - Overview