Package: gapclosing 1.0.2

Ian Lundberg

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>.

Authors:Ian Lundberg [aut, cre]

gapclosing_1.0.2.tar.gz
gapclosing_1.0.2.zip(r-4.5)gapclosing_1.0.2.zip(r-4.4)gapclosing_1.0.2.zip(r-4.3)
gapclosing_1.0.2.tgz(r-4.5-any)gapclosing_1.0.2.tgz(r-4.4-any)gapclosing_1.0.2.tgz(r-4.3-any)
gapclosing_1.0.2.tar.gz(r-4.5-noble)gapclosing_1.0.2.tar.gz(r-4.4-noble)
gapclosing_1.0.2.tgz(r-4.4-emscripten)gapclosing_1.0.2.tgz(r-4.3-emscripten)
gapclosing.pdf |gapclosing.html
gapclosing/json (API)

# Install 'gapclosing' in R:
install.packages('gapclosing', repos = c('https://ilundberg.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ilundberg/gapclosing/issues

On CRAN:

Conda:

4.48 score 6 stars 8 scripts 206 downloads 9 exports 47 dependencies

Last updated 4 months agofrom:0effe3cb32. Checks:1 OK, 8 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 10 2025
R-4.5-winNOTEMar 10 2025
R-4.5-macNOTEMar 10 2025
R-4.5-linuxNOTEMar 10 2025
R-4.4-winNOTEMar 10 2025
R-4.4-macNOTEMar 10 2025
R-4.4-linuxNOTEMar 10 2025
R-4.3-winNOTEMar 10 2025
R-4.3-macNOTEMar 10 2025

Exports:%>%cross_fit_estimatordf_to_gapclosing_listdisparityplotfit_ridgegapclosinggenerate_simulated_datapairwise_diffpoint_estimator

Dependencies:clicodetoolscolorspacecpp11doParalleldplyrfansifarverforcatsforeachgenericsggplot2glmnetgluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6rangerRColorBrewerRcppRcppEigenrlangscalesshapestringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

gapclosing: An R package to estimate gap closing estimands

Rendered fromgapclosing.Rmdusingknitr::rmarkdownon Mar 10 2025.

Last update: 2023-03-08
Started: 2021-02-17