Package: PSW 1.1-3
PSW: Propensity Score Weighting Methods for Dichotomous Treatments
Provides propensity score weighting methods to control for confounding in causal inference with dichotomous treatments and continuous/binary outcomes. It includes the following functional modules: (1) visualization of the propensity score distribution in both treatment groups with mirror histogram, (2) covariate balance diagnosis, (3) propensity score model specification test, (4) weighted estimation of treatment effect, and (5) augmented estimation of treatment effect with outcome regression. The weighting methods include the inverse probability weight (IPW) for estimating the average treatment effect (ATE), the IPW for average treatment effect of the treated (ATT), the IPW for the average treatment effect of the controls (ATC), the matching weight (MW), the overlap weight (OVERLAP), and the trapezoidal weight (TRAPEZOIDAL). Sandwich variance estimation is provided to adjust for the sampling variability of the estimated propensity score. These methods are discussed by Hirano et al (2003) <doi:10.1111/1468-0262.00442>, Lunceford and Davidian (2004) <doi:10.1002/sim.1903>, Li and Greene (2013) <doi:10.1515/ijb-2012-0030>, and Li et al (2016) <doi:10.1080/01621459.2016.1260466>.
Authors:
PSW_1.1-3.tar.gz
PSW_1.1-3.zip(r-4.5)PSW_1.1-3.zip(r-4.4)PSW_1.1-3.zip(r-4.3)
PSW_1.1-3.tgz(r-4.4-any)PSW_1.1-3.tgz(r-4.3-any)
PSW_1.1-3.tar.gz(r-4.5-noble)PSW_1.1-3.tar.gz(r-4.4-noble)
PSW_1.1-3.tgz(r-4.4-emscripten)PSW_1.1-3.tgz(r-4.3-emscripten)
PSW.pdf |PSW.html✨
PSW/json (API)
# Install 'PSW' in R: |
install.packages('PSW', repos = c('https://lenmade.r-universe.dev', 'https://cloud.r-project.org')) |
- test_data - Test data
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 7 years agofrom:435d968f99. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 13 2024 |
R-4.5-win | OK | Nov 13 2024 |
R-4.5-linux | OK | Nov 13 2024 |
R-4.4-win | OK | Nov 13 2024 |
R-4.4-mac | OK | Nov 13 2024 |
R-4.3-win | OK | Nov 13 2024 |
R-4.3-mac | OK | Nov 13 2024 |
Exports:pswpsw.augpsw.balancepsw.mirror.histpsw.spec.testpsw.wt
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablegtoolshighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmennetpillarpkgconfigR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapisassscalesstringistringrtibbletinytexutf8vctrsviridisviridisLitewithrxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Propensity score weighting | psw |
Propensity score weighting with augmented estimation | psw.aug |
Balance checking using standardized mean difference | psw.balance |
Mirror histogram | psw.mirror.hist |
Propensity score model specification test | psw.spec.test |
Propensity score weighting estimator | psw.wt |
Test data | test_data |