NOW AVAILABLE: Essentials of Poltical Analysis 7e | R Companion 4e | SPSS 7e | Stata 5e | Excel 1e 🎡
NOW AVAILABLE: Essentials 7e | R Companion 4e | SPSS 7e | Stata 5e | Excel 1e 🎡
NOW AVAILABLE: Essentials 7e | More Textbooks 🎡
If this link is broken, please
You can also
(will be reviewed).

BigKRLS Makes Kernel Models Fast Enough for Real Political Data

πŸ”Ž The Problem

Many social scientists want flexible models that handle prediction and causal complexity, but such estimators often scale poorly and sacrifice interpretability. Kernel-regularized approaches like Hainmueller and Hazlett (2013) are appealing but can be slow and memory-intensive for realistic datasets.

πŸ”§ What bigKRLS Does

  • Introduces bigKRLS: a suite of statistical and computational improvements to KRLS that keep the model's interpretability while addressing performance bottlenecks.
  • Key technical gains include:
  • 50% reduction in single-core runtime compared to prior implementations
  • Peak memory usage reduced by roughly an order of magnitude
  • Improved uncertainty estimates for average marginal effects (AMEs)
  • New visual and statistical tools to aid inference under the model

πŸ“ˆ How the Improvements Were Tested

  • Simulation exercises evaluate the accuracy and coverage of the improved AME uncertainty estimates.
  • An applied demonstration analyzes the 2016 U.S. presidential election using bigKRLSβ€”an analysis described as impractical or infeasible for many users with existing KRLS software.

πŸ’‘ Why It Matters

These optimizations make kernel-regularized least squares viable for larger, messier political datasets and for users who need both flexible modeling and robust inference. By lowering computational and memory barriers and strengthening uncertainty estimates and visualization tools, bigKRLS expands the practical reach of kernel methods for causal and predictive questions in political science.

Political Analysis
Messy Data, Robust Inference? Navigating Obstacles to Inference With BigKRLS was authored by Pete Mohanty and Robert Shaffer. It was published in Pol. An. in 2019. Find on Google Scholar10.1017/pan.2018.33
Methodology subfield banner