twang: Toolkit for Weighting and Analysis of Nonequivalent Groups

Provides functions for propensity score estimating and weighting, nonresponse weighting, and diagnosis of the weights.

Version: 2.5
Depends: R (≥ 2.10)
Imports: gbm (≥ 1.5-3), survey, xtable, lattice, latticeExtra, MatrixModels, data.table, ggplot2, xgboost
Suggests: knitr
Published: 2021-10-25
Author: Matthew Cefalu, Greg Ridgeway, Dan McCaffrey, Andrew Morral, Beth Ann Griffin, and Lane Burgette
Maintainer: Matthew Cefalu <Matthew_Cefalu at>
License: GPL-3 | file LICENSE
NeedsCompilation: yes
CRAN checks: twang results


Reference manual: twang.pdf
Vignettes: Propensity scores for time-varying treatments: A tutorial for the iptw function
Propensity scores for multiple treatments: A tutorial for the mnps function
Toolkit for Weighting and Analysis of Nonequivalent Groups: A guide to the twang package


Package source: twang_2.5.tar.gz
Windows binaries: r-devel:, r-devel-UCRT:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): twang_2.4.tgz, r-release (x86_64): twang_2.4.tgz, r-oldrel: twang_2.4.tgz
Old sources: twang archive

Reverse dependencies:

Reverse imports: CIMTx, cmprskcoxmsm, IRexamples, paths, SBdecomp, twangMediation
Reverse suggests: cobalt, lmtp, optweight, WeightIt


Please use the canonical form to link to this page.