Other packages > Find by keyword >

PSW  

Propensity Score Weighting Methods for Dichotomous Treatments
View on CRAN: Click here


Download and install PSW package within the R console
Install from CRAN:
install.packages("PSW")

Install from Github:
library("remotes")
install_github("cran/PSW")

Install by package version:
library("remotes")
install_version("PSW", "1.1-3")



Attach the package and use:
library("PSW")
Maintained by
Huzhang Mao
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-09-22
Latest Update: 2018-01-19
Description:
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) , Lunceford and Davidian (2004) , Li and Greene (2013) , and Li et al (2016) .
How to cite:
Huzhang Mao (2017). PSW: Propensity Score Weighting Methods for Dichotomous Treatments. R package version 1.1-3, https://cran.r-project.org/web/packages/PSW. Accessed 05 Mar. 2026.
Previous versions and publish date:
1.1-1 (2017-09-22 15:00), 1.1-2 (2017-10-09 20:36)
Other packages that cited PSW R package
View PSW citation profile
Other R packages that PSW depends, imports, suggests or enhances
Complete documentation for PSW
Functions, R codes and Examples using the PSW R package
Some associated functions: psw.aug . psw.balance . psw.mirror.hist . psw . psw.spec.test . psw.wt . test_data . 
Some associated R codes: psw-internal.R . psw_aug.R . psw_balance.R . psw_main.R . psw_mirror_hist.R . psw_spec_test.R . psw_wt.R . test_data.R .  Full PSW package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

ClimClass  
Climate Classification According to Several Indices
Classification of climate according to Koeppen - Geiger, of aridity indices, of continentality indi ...
Download / Learn more Package Citations See dependency  
pinp  
'pinp' is not 'PNAS'
A 'PNAS'-alike style for 'rmarkdown', derived from the 'Proceedings of the National Academy of Scie ...
Download / Learn more Package Citations See dependency  
neat  
Efficient Network Enrichment Analysis Test
Includes functions and examples to compute NEAT, the Network Enrichment Analysis Test described in ...
Download / Learn more Package Citations See dependency  
imagefx  
Extract Features from Images
Synthesize images into characteristic features for time-series analysis or machine learning applicat ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
roccv  
ROC for Cross Validation Results
Cross validate large genetic data while specifying clinical variables that should always be in the m ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA