FIND DATA: By Author | Journal | Sites   ANALYZE DATA: Help with R | SPSS | Stata | Excel   WHAT'S NEW? US Politics | Int'l Relations | Law & Courts
   FIND DATA: By Author | Journal | Sites   WHAT'S NEW? US Politics | IR | Law & Courts
If this link is broken, please report as broken. You can also submit updates (will be reviewed).
BigKRLS Makes Kernel Models Fast Enough for Real Political Data
Insights from the Field
KRLS
bigKRLS
kernel methods
computational efficiency
marginal effects
Methodology
Pol. An.
1 archives
Dataverse
Messy Data, Robust Inference? Navigating Obstacles to Inference With BigKRLS was authored by Pete Mohanty and Robert Shaffer. It was published by Cambridge in Pol. An. in 2019.

🔎 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.

data
Find on Google Scholar
Find on JSTOR
Find on CUP
Political Analysis
Podcast host Ryan