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]
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 29 Mar. 2025.
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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/28Downloads for PSW1234567891011121314TrendBars

Today's Hot Picks in Authors and Packages

gglgbtq  
Show Pride on 'ggplot2' Plots
Provides multiple palettes based on pride flags with tailored themes. ...
Download / Learn more Package Citations See dependency  
landmix  
Landmark Prediction for Mixture Data
Non-parametric prediction of survival outcomes for mixture data that incorporates covariates and a l ...
Download / Learn more Package Citations See dependency  
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  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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