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 25 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

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  
sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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