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

Peer review:

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

On CRAN:

4.48 score 6 stars 9 scripts 162 downloads 9 exports 47 dependencies

Last updated 2 years agofrom:77f8ccc337. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winNOTEOct 29 2024
R-4.5-linuxNOTEOct 29 2024
R-4.4-winNOTEOct 29 2024
R-4.4-macNOTEOct 29 2024
R-4.3-winNOTEOct 29 2024
R-4.3-macNOTEOct 29 2024

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 Oct 29 2024.

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