Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-04T19:34:21.903Z Has data issue: false hasContentIssue false

Polls, Context, and Time: A Dynamic Hierarchical Bayesian Forecasting Model for US Senate Elections

Published online by Cambridge University Press:  18 January 2022

Yehu Chen
Affiliation:
Division of Computational and Data Sciences, Washington University in St. Louis, St. Louis, MO, USA. E-mail: chenyehu@wustl.edu
Roman Garnett
Affiliation:
Department of Computer Science and Engineering, Washington University in St. Louis, St. Louis, MO, USA. E-mail: garnett@wustl.edu
Jacob M. Montgomery*
Affiliation:
Department of Political Science, Washington University in St. Louis, St. Louis, MO, USA. E-mail: jacob.montgomery@wustl.edu
*
Corresponding author Jacob M. Montgomery
Rights & Permissions [Opens in a new window]

Abstract

We present a hierarchical Dirichlet regression model with Gaussian process priors that enables accurate and well-calibrated forecasts for U.S. Senate elections at varying time horizons. This Bayesian model provides a balance between predictions based on time-dependent opinion polls and those made based on fundamentals. It also provides uncertainty estimates that arise naturally from historical data on elections and polls. Experiments show that our model is highly accurate and has a well calibrated coverage rate for vote share predictions at various forecasting horizons. We validate the model with a retrospective forecast of the 2018 cycle as well as a true out-of-sample forecast for 2020. We show that our approach achieves state-of-the art accuracy and coverage despite relying on few covariates.

Information

Type
Article
Copyright
© The Author(s) 2022. Published by Cambridge University Press on behalf of the Society for Political Methodology
Figure 0

Figure 1 Conceptual outline of the two stage model. The candidate-level model, predicts public opinion on Election Day. The election-level model, predicts vote share as a function of public opinion and contextual factors.

Figure 1

Table 1 Learned model hyperparameters from leave-one-year-out cross validation.

Figure 2

Figure 2 Voter Preference Estimate for John McCain in 2016 Arizona race at various time horizons. Points represent individual polls, the distribution on the right side of each panel is the prior, the dark gray region is the 95% confidence intervals for the estimated latent trend, and the light-gray region is the projected latent trajectory.

Figure 3

Figure 3 Posterior predictive densities for Sen. John McCain in the 2016 Arizona Election at different time horizons. The vertical line indicates the final vote share. Note that the posterior narrows noticeably as the time horizon shrinks.

Figure 4

Table 2 Predictive accuracy in the 1992–2016 period.

Figure 5

Figure 4 Forecast for 2018 at one week time horizon for major party candidates. Stars indicate actual vote share, while points and confidence intervals reflect posterior mans and 95% credible predictions. The California election had two Democrats and we coded Sen. Angus King of Maine as Democrat. Red font for state names indicates an incorrect prediction. This model also included a forecast for Libertarian candidate Gary Johnson in New Mexico (posterior median 0.185, 95% CI [0.117, 0.247], outcome 0.154). MNS and MSS are special elections held on the usual Election Day.

Figure 6

Figure 5 Predicted vote share densities for 2020 on Election Day for Democratic candidates. States are arranged in order of increasing probability of Democrats winning. Solid black vertical lines indicate actual vote shares for Democratic candidates. The plot excludes Louisiana and the Georgia special election.

Figure 7

Table 3 Comparing predictive accuracy in 2020 cycle to prominent media forecasts.

Supplementary material: Link

Chen et al. Dataset

Link
Supplementary material: PDF

Chen et al. supplementary material

Chen et al. supplementary material
Download Chen et al. supplementary material(PDF)
PDF 509.8 KB