Hostname: page-component-7b7567c8c-tnzcf Total loading time: 0 Render date: 2026-11-12T06:04:04.236Z Has data issue: false hasContentIssue false

Fast Estimation of Ideal Points with Massive Data

Published online by Cambridge University Press:  28 December 2016

KOSUKE IMAI*
Affiliation:
Princeton University
JAMES LO*
Affiliation:
University of Southern California
JONATHAN OLMSTED*
Affiliation:
The NPD Group
*
Kosuke Imai is Professor, Department of Politics and Center for Statistics and Machine Learning, Princeton University, Princeton, NJ 08544. Phone: 609-258-6601 (kimai@princeton.edu), URL: http://imai.princeton.edu.
James Lo is Assistant Professor, Department of Political Science, University of Southern California, Los Angeles, CA 90089 (lojames@usc.edu).
Jonathan Olmsted is Solutions Manager, NPD Group, Port Washington, NY 11050 (jpolmsted@gmail.com).
Rights & Permissions [Opens in a new window]

Abstract

Estimation of ideological positions among voters, legislators, and other actors is central to many subfields of political science. Recent applications include large data sets of various types including roll calls, surveys, and textual and social media data. To overcome the resulting computational challenges, we propose fast estimation methods for ideal points with massive data. We derive the expectation-maximization (EM) algorithms to estimate the standard ideal point model with binary, ordinal, and continuous outcome variables. We then extend this methodology to dynamic and hierarchical ideal point models by developing variational EM algorithms for approximate inference. We demonstrate the computational efficiency and scalability of our methodology through a variety of real and simulated data. In cases where a standard Markov chain Monte Carlo algorithm would require several days to compute ideal points, the proposed algorithm can produce essentially identical estimates within minutes. Open-source software is available for implementing the proposed methods.

Information

Type
Research Article
Copyright
Copyright © American Political Science Association 2016 
Figure 0

TABLE 1.Recent Applications of Ideal Point Models to Various Large Data Sets

Figure 1

FIGURE 1.Comparison of Computational Performance across the Methods

Notes: Each point represents the length of time required to compute estimates where the spacing of time on the vertical axis is based on the log scale. The proposed EM algorithm, indicated by “EM,” “EM (high precision),” “EM (parallel high precision),” and “EM with Bootstrap” is compared with “W-NOMINATE” (Poole et al. 2011), the MCMC algorithm “IDEAL” (Jackman 2012), and the nonparametric optimal classification estimator “OC” (Poole et al. 2012). The EM algorithm is faster than the other approaches whether focused on point estimates or also estimation uncertainty. Algorithms producing uncertainty estimates are labeled in bold, italic type.
Figure 2

FIGURE 2.Comparison of Estimated Ideal Points across the Methods for the 112th Congress

Notes: Republicans are shown with crosses while Democrats are indicated by hollow circles. The proposed EM algorithm is compared with the MCMC algorithm “IDEAL” (left column; Jackman 2012) and “W-NOMINATE” (right column; Poole et al. 2011). For each of these, the estimates are rescaled to a common scale for easy comparison across methods and chambers. Pearson correlation coefficients within parties are also reported, but are unaffected by the rescaling. The proposed algorithm yields the estimates that are essentially identical to those from the other two methods.
Figure 3

FIGURE 3.Comparison of Standard Errors between the Proposed EM Algorithm and the Bayesian MCMC Algorithm using the 112th House of Representatives

Notes: The standard errors from the EM algorithm are based on the parametric bootstrap of 1,000 replicates. The left plot shows that the proposed standard errors (the vertical axis) are similar to those from the MCMC algorithms (the horizontal axis) for most legislators. For some legislators, the MCMC standard errors are much larger. The right panel shows that these legislators tend to have extreme ideological preferences: estimates from the Bayesian MCMC algorithm are shown with crosses and those from the proposed EM algorithm are shown with hollow circles.
Figure 4

FIGURE 4.Bias of Standard Error based on the Parametric Bootstrap

Notes: The results are based on a Monte Carlo simulation where roll-call data are simulated using estimates from the 112th House of Representatives as truth. When simulating the data, the same missing data pattern as that in the data from the 112th Congress is used. A total of 1,000 roll call data sets are simulated, and each simulated data set is then bootstrapped 100 times to obtain standard errors. The estimated bias is computed as the average difference between the bootstrap standard error and the standard deviation of estimated ideal points across 1,000 simulations. The left panel shows that the estimated biases of the parametric bootstrap standard errors are not systematically related to ideological extremity. Instead, as the right panel shows, these biases are driven by the prevalence of missing data for legislators. The standard errors are significantly underestimated for those legislators with a large number of missing data.
Figure 5

FIGURE 5.Comparison of Changing Performance across the Methods as the Dimensions of Roll-Call Matrix Increase

Notes: Estimation time is shown on the vertical axis as the number of legislators increases (left panel) and the number of bills increases (right panel). Values are the median times over 25 replications. “EM (high precision)” is more computationally efficient than W-NOMINATE (Poole et al. 2011) especially when the roll-call matrix is large.
Figure 6

FIGURE 6.Comparison of Ideal Point Estimates from the EM and Markov Chain Monte Carlo (MCMC) Algorithms for Japanese Politicians Using the Asahi-Todai Elite Survey

Notes: The figures compare the EM estimates (horizontal axis) against MCMC estimates (vertical axis). The EM estimates use a coarsened three category response, which is compared against the MCMC estimates based on the same three category response (left panel) and the original five category response (right panel). Overall correlation between the EM and MCMC estimates are high, exceeding 0.95 in both cases.
Figure 7

FIGURE 7.Comparing the Distributions of Estimated Ideal Points between the EM and Markov Chain Monte Carlo (MCMC) Algorithms for Japanese Voters across Six Waves of the Asahi-Todai Elite Survey

Notes: White box plots describe the distribution of the EM estimates whereas light and dark grey box plots represent the MCMC estimates for the coarsened three category and original five category responses, respectively. Across all waves, these three algorithms produce similar estimates of ideal points.
Figure 8

FIGURE 8.Correlation of the Estimated Ideal Points for each Term between the Variational EM and Markov Chain Monte Carlo (MCMC) Algorithms

Notes: Open circles indicate Pearson correlations, while grey triangles represent Spearman’s rank-order correlations. Overall, the correlations are high, exceeding 95% in most cases. The poorer Pearson correlations around 1969 are driven largely by Douglas’ ideological extremity (see Figure 9).
Figure 9

FIGURE 9.Ideal Point Estimates for 16 Longest-serving Justices based on the Variational Inference (VI) and Markov Chain Monte Carlo (MCMC) Algorithm

Notes: The VI point estimates are indicated by solid lines while the dashed lines indicate its 95% confidence intervals based on the parametric bootstrap. We also present the 95% Bayesian confidence intervals as grey polygons. The horizontal axis indicates year and the vertical axis indicates estimated ideal points. For each justice, we also compute the Pearson’s correlation between the two sets of the estimates. Overall, the correlations between the two sets of estimates are high except Douglas who is ideologically extreme and has only a small number of votes in the final years of his career.
Figure 10

FIGURE 10.Scalability and Accuracy of the Proposed Variational Inference for the Dynamic Ideal Point Model

Notes: The left panel presents run times of the proposed variational EM algorithm for fitting the dynamic ideal point model. We consider three different simulation scenarios where the number of legislators N varies from 10 to 500 and the number of roll calls per session J ranges from 100 to 1,000. The number of sessions T is shown on the horizontal axis, with all N legislators assumed to vote on all J bills in every session. The vertical axis indicates the time necessary to fit the dynamic ideal point model for each data set through the proposed algorithm. Even with the largest data set we consider (N = 500, J = 1,000, and T = 100), the algorithm can estimate a half million ideal points in about two hours. The right panel shows the (Pearson) correlation between the estimated ideal points and their true values. In almost all cases, the correlation exceeds 0.95.
Figure 11

FIGURE 11.Scalability and Accuracy of the Proposed Variational Inference for the Hierarchical Ideal Point Model

Notes: The left panel presents run times of the proposed variational EM algorithm for fitting the hierarchical ideal point model. We consider three different simulation scenarios where the number of groups G varies from 10 to 500 and the number of bills (per group) J ranges from 100 to 1,000. The number of ideal points to be estimated (per group) N is shown on the horizontal axis, with all G groups assumed to vote on all J bills but within each group different legislators vote on different subsets of the bills. In the largest data set we consider (N = 100, J = 1,000, and G = 500), our algorithm can estimate a hundred thousand ideal points in about 14 hours. The right panel shows the (Pearson) correlation between the estimated ideal points and their true values.
Figure 12

FIGURE 12.Correlation between DW-NOMINATE Estimates and the Proposed Hierarchical Ideal Point Estimates for the 1st–110th Congress

Note: These ideal point estimates are quite similar with a correlation of 0.97.
Figure 13

FIGURE 13.Scalability of the Proposed Variational Inference for the Generalized Wordfish Model

Notes: The left panel presents run times of the proposed variational EM algorithm for fitting the generalized Wordfish model. We consider three different simulation scenarios where the number of actors N varies from 100 to 1,000, while the number of words J is fixed to 5,000. The number of documents per actor K/N is shown on the horizontal axis. The vertical axis indicates the time necessary to fit the generalized Wordfish model for each data set through the proposed algorithm. For all cases above, the correlation exceeds 0.99.
Figure 14

FIGURE 14.Comparison of Our Ideal Point Estimates with Those of Barberá (2015)

Notes: Our ideal point estimates are based on the variational EM algorithm whereas those of Barberá (2015) are based on the Markov chain Monte Carlo algorithm as implemented in RStan. The left panel compares the two sets of ideal points for J = 176 political elites whereas the right panel conducts the same comparison for N = 10,000 voters. In both cases, the correlation between the two sets of estimates is very high. In addition, the variational EM algorithm only took 35 minutes to complete the estimation whereas RStan took 6.5 days to obtain 500 posterior draws on the same computer.
Supplementary material: PDF

Imai supplementary material

Imai supplementary material 1

Download Imai supplementary material(PDF)
PDF 308 KB
Submit a response

Comments

No Comments have been published for this article.