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.2
Imports: stats, mgcv, ranger, glmnet, magrittr, dplyr, forcats, ggplot2, tidyr, foreach, tidyselect, parallel, doParallel
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, spelling
Published: 2021-10-11
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

Documentation:

Reference manual: gapclosing.pdf
Vignettes: gapclosing

Downloads:

Package source: gapclosing_1.0.2.tar.gz
Windows binaries: r-devel: gapclosing_1.0.2.zip, r-release: gapclosing_1.0.2.zip, r-oldrel: gapclosing_1.0.2.zip
macOS binaries: r-release (arm64): gapclosing_1.0.2.tgz, r-oldrel (arm64): gapclosing_1.0.2.tgz, r-release (x86_64): gapclosing_1.0.2.tgz
Old sources: gapclosing archive

Linking:

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