gapclosing: Estimate Gaps Under an Intervention

Provides functions to estimate the disparities across categories (e.g. Black and white) that persists if a treatment variable (e.g. college) is equalized. Makes estimates by treatment modeling, outcome modeling, and doubly-robust augmented inverse probability weighting estimation, with standard errors calculated by a nonparametric bootstrap. Cross-fitting is supported. Survey weights are supported for point estimation but not for standard error estimation; those applying this package with complex survey samples should consult the data distributor to select an appropriate approach for standard error construction, which may involve calling the functions repeatedly for many sets of replicate weights provided by the data distributor. The methods in this package are described in Lundberg (2021) <doi:10.31235/osf.io/gx4y3>.

Version: 1.0.1
Imports: stats, utils, mgcv, ranger, glmnet, Rdpack, magrittr, dplyr, forcats, ggplot2, gridExtra, tidyr, foreach, tidyselect, parallel, doParallel
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, spelling
Published: 2021-09-06
Author: Ian Lundberg ORCID iD [aut, cre]
Maintainer: Ian Lundberg <ianlundberg at ucla.edu>
BugReports: https://github.com/ilundberg/gapclosing/issues
License: MIT + file LICENSE
URL: https://ilundberg.github.io/gapclosing/
NeedsCompilation: no
Language: en-US
Citation: gapclosing citation info
Materials: README
CRAN checks: gapclosing results

Downloads:

Reference manual: gapclosing.pdf
Vignettes: gapclosing
Package source: gapclosing_1.0.1.tar.gz
Windows binaries: r-devel: gapclosing_1.0.1.zip, r-release: gapclosing_1.0.1.zip, r-oldrel: gapclosing_1.0.1.zip
macOS binaries: r-release (arm64): gapclosing_1.0.1.tgz, r-release (x86_64): gapclosing_1.0.1.tgz, r-oldrel: gapclosing_1.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=gapclosing to link to this page.