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 04 Jun. 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

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  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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