Estimate Gaps Under an Intervention
Overview
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 the accompanying paper: doi:10.1177/00491241211055769.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-05-24
- ERROR5 OK, 9 ERROR2026-03-10
Documentation
- Help pages
- 13 (1 internal)
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 33%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 92%
- gapclosing HTML
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 1,118
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/ilundberg/gapclosing on 2026-10-22.
GitHub Pages site last deployed 2026-05-22
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- unarchivedReturned to CRAN2026-05-23
- 1.0.3Latest
- RR 4.6.0 released · 2026-04-24
- archivedRemoved from CRAN2026-03-18issues were not corrected despite reminders
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2021-10-11
- 1.0.22021-10-11 · diff ↗
- archivedRemoved from CRAN2021-10-05check problems were not corrected in time
- 1.0.12021-09-06
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-09-06
- Total releases
- 3 / 5 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 555 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("gapclosing")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.31235/osf.io/gx4y3.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.