Package: CausalGPS 0.5.1

Naeem Khoshnevis

CausalGPS: Matching on Generalized Propensity Scores with Continuous Exposures

Provides a framework for estimating causal effects of a continuous exposure using observational data, and implementing matching and weighting on the generalized propensity score. Wu, X., Mealli, F., Kioumourtzoglou, M.A., Dominici, F. and Braun, D., 2022. Matching on generalized propensity scores with continuous exposures. Journal of the American Statistical Association, pp.1-29.

Authors:Naeem Khoshnevis [aut, cre], Xiao Wu [aut], Danielle Braun [aut]

CausalGPS_0.5.1.tar.gz
CausalGPS_0.5.1.zip(r-4.7)CausalGPS_0.5.1.zip(r-4.6)CausalGPS_0.5.1.zip(r-4.5)
CausalGPS_0.5.1.tgz(r-4.6-x86_64)CausalGPS_0.5.1.tgz(r-4.6-arm64)CausalGPS_0.5.1.tgz(r-4.5-x86_64)CausalGPS_0.5.1.tgz(r-4.5-arm64)
CausalGPS_0.5.1.tar.gz(r-4.7-arm64)CausalGPS_0.5.1.tar.gz(r-4.7-x86_64)CausalGPS_0.5.1.tar.gz(r-4.6-arm64)CausalGPS_0.5.1.tar.gz(r-4.6-x86_64)
CausalGPS_0.5.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
CausalGPS/json (API)

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

Bug tracker:https://github.com/nsaph-software/causalgps/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • synthetic_us_2010 - Public data set for air pollution and health studies, case study: 2010 county-Level data set for the contiguous United States

On CRAN:

Conda:

cppopenmp

7.53 score 27 stars 50 scripts 427 downloads 12 exports 104 dependencies

Last updated from:283eb3299b. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK187
linux-devel-x86_64OK225
source / vignettesOK254
linux-release-arm64OK184
linux-release-x86_64OK211
macos-release-arm64OK173
macos-release-x86_64OK268
macos-oldrel-arm64OK151
macos-oldrel-x86_64OK335
windows-develOK186
windows-releaseOK237
windows-oldrelOK207
wasm-releaseOK145

Exports:absolute_corr_funabsolute_weighted_corr_funcheck_covar_balancecompile_pseudo_popcompute_counter_weightestimate_erfestimate_gpsgenerate_pseudo_popgenerate_syn_dataget_loggerset_loggertrim_it

Dependencies:admiscbitopscaretcaToolsclasscliclockcodetoolscowplotcpp11cvAUCdata.tablediagramdigestdplyre1071Ecumefarverforeachfuturefuture.applygamgenericsggplot2globalsgluegnmgowergplotsgtablegtoolshardhatipredisobanditeratorsjsonlitekernlabKernSmoothlabelinglatticelavalifecyclelistenvlocpolloggerlubridatemagrittrMASSMatrixminqamnormtModelMetricsmvtnormnlmennetnnlsnumDerivparallellypbapplypillarpkgconfigplyrpolycorpROCprodlimprogressrproxypurrrqvcalcR6RColorBrewerRcppRcppArmadilloRcppEigenrecipesrelimpreshape2rlangROCRrpartS7scalesshapesparsevctrsspatstat.univarspatstat.utilsSQUAREMstringistringrSuperLearnersurvivaltibbletidyrtidyselecttimechangetimeDatetransporttzdbutf8vctrsviridisLitewCorrwithrxgboost

CausalGPS
Installation | Usage | Additional parameters | Causal Inference Approach (ci.appr)

Last update: 2024-06-19
Started: 2021-05-12

Developers Guide
Environment Setup | Git Branching Model | Where to submit pull requests? | Pull request checklist | Reporting bugs | Style Guide | Summary | Names | Spaces and Indentation | Other notes | Notes on SuperLearner | Logger

Last update: 2023-09-30
Started: 2021-09-07

Generating Pseudo Population
Usage | Technical Details for Matching | Technical Details for Covariate Balance | References

Last update: 2023-09-30
Started: 2021-09-07

Frequently Asked Questions
1) How to define a new transformer? | 2) Is the order of transformers important? | 3) How change the logger level? | 4) Is there any trade-off between number of CPU cores (nthread) and memory usage? | 5) I am using macOS, however, I cannot see any performance increase with increasing number of threads (nthread). | 6) I am running the package on HPC; however, I think the package is using only one core. | 7) What is the counter_weight column in the pseudo population? | 8) Is there a public data set that I can test my model? | 9) Can a data sample match with itself? | 10) Where can I get the code? | 11) How does trimming work? | 12) Can I use a data with missing value? | 13) In the matching approach, I realized computation with scale = 1 is faster than any other amount. Is that correct? | 14) Encountering an error while executing the non-parametric exposure-response function: Error in checkForRemoteErrors(val) : one node produced an error: length(xeval) < .maxEvalPts is not TRUE.

Last update: 2023-05-24
Started: 2022-12-16

Testing the Package
Getting the Code | Installing the Package | Cloning the Package | Forking the package | Package development, test, check cycle | Running Examples | Generating Synthetic Data | Estimating GPS Values for the Dataset | Generating Pseudo Population | Further Processing | Steps for using precomputed data during the test

Last update: 2023-04-24
Started: 2021-09-07

Singularity
Setting up the environment | Definition File | Building Singularity Image | Run an R Session | Run a Rstudio Session

Last update: 2022-12-16
Started: 2022-02-07

Estimating GPS
Available SuperLearner Libraries | Implementation | References

Last update: 2022-06-23
Started: 2021-09-07

Notes on SL Wrappers

Last update: 2022-06-23
Started: 2022-06-23

Generate Synthetic Data
Usage | Technical Details for Data Generating Process

Last update: 2021-09-07
Started: 2021-09-07

Outcome Models

Last update: 2021-09-07
Started: 2021-09-07

Readme and manuals