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 |
DOI: |
10.32614/CRAN.package.gapclosing |
Author: |
Ian Lundberg
[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:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=gapclosing
to link to this page.