Welcome!

This website documents the gapclosing package for R. The package helps answers questions of the form: to what degree would a hypothetical intervention close gaps across populations?

This causal question is of paramount importance for those who want to intervene to reduce disparities across categories such as gender, race, and class. How to answer that question is the subject of the companion papaer to this package.

Lundberg, Ian. 2024. The gap-closing estimand: A causal approach to study interventions that close disparities across social categories. Sociological Methods & Research, 53(2), 507-570.

To get started with these methods, first install R and RStudio. Then install the package from CRAN.

install.packages("gapclosing")

You can now do lots of things!

  • Estimate treatment and outcome prediction functions statistical and machine learning methods
  • Combine those in doubly-robust estimators of gap-closing estimands
  • Produce confidence intervals by the bootstrap
  • Visualize the result

Questions and comments to Ian Lundberg, ianlundberg@ucla.edu.