Package: PSweight 1.2.0

Yukang Zeng

PSweight: Propensity Score Weighting for Causal Inference with Observational Studies and Randomized Trials

Supports propensity score weighting analysis of observational studies and randomized trials. Enables the estimation and inference of average causal effects with binary and multiple treatments using overlap weights (ATO), inverse probability of treatment weights (ATE), average treatment effect among the treated weights (ATT), matching weights (ATM) and entropy weights (ATEN), with and without propensity score trimming. These weights are members of the family of balancing weights introduced in Li, Morgan and Zaslavsky (2018) <doi:10.1080/01621459.2016.1260466> and Li and Li (2019) <doi:10.1214/19-AOAS1282>.

Authors:Tianhui Zhou [aut], Guangyu Tong [aut], Fan Li [aut], Laine Thomas [aut], Fan Li [aut], Yukang Zeng [cre]

PSweight_1.2.0.tar.gz
PSweight_1.2.0.zip(r-4.5)PSweight_1.2.0.zip(r-4.4)PSweight_1.2.0.zip(r-4.3)
PSweight_1.2.0.tgz(r-4.5-any)PSweight_1.2.0.tgz(r-4.4-any)PSweight_1.2.0.tgz(r-4.3-any)
PSweight_1.2.0.tar.gz(r-4.5-noble)PSweight_1.2.0.tar.gz(r-4.4-noble)
PSweight_1.2.0.tgz(r-4.4-emscripten)PSweight_1.2.0.tgz(r-4.3-emscripten)
PSweight.pdf |PSweight.html
PSweight/json (API)
NEWS

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

Bug tracker:https://github.com/thuizhou/psweight/issues

Datasets:
  • NCDS - Illustrative dataset for PSweight
  • psdata - Simulated dataset for PSweight
  • psdata_cl - Simulated dataset for PSweight

On CRAN:

Conda:

5.54 score 23 stars 2 packages 47 scripts 1.1k downloads 7 exports 55 dependencies

Last updated 12 months agofrom:671f2a03b1. Checks:1 OK, 8 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 25 2025
R-4.5-winWARNINGMar 25 2025
R-4.5-macWARNINGMar 25 2025
R-4.5-linuxWARNINGMar 25 2025
R-4.4-winWARNINGMar 25 2025
R-4.4-macWARNINGMar 25 2025
R-4.4-linuxWARNINGMar 25 2025
R-4.3-winWARNINGMar 25 2025
R-4.3-macWARNINGMar 25 2025

Exports:OUTmethodPSmethodPStrimPSweightPSweight_clSumStatSumStat_cl

Dependencies:bitopsbootcaToolsclicodetoolscolorspacecvAUCdata.tablefansifarverforeachgamgbmggplot2gluegplotsgtablegtoolsisobanditeratorsKernSmoothlabelinglatticelifecyclelme4magrittrMASSMatrixmgcvminqamunsellnlmenloptrnnetnnlsnumDerivpillarpkgconfigR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangROCRscalesSuperLearnersurvivaltibbleutf8vctrsviridisLitewithr