# Toolkit for Weighting and Analysis of Nonequivalent Groups

## Documentation for package ‘twang’ version 2.6.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

twang-package | twang: Toolkit for Weighting and Analysis of Nonequivalent Groups
AOD | Subset of Alcohol and Other Drug treatment data
bal.stat | Calculate weighted balance statistics
bal.table | Compute the balance table.
boxplot.mnps | Boxplot for 'mnps' objects
boxplot.ps | Boxplot for 'ps' objects
desc.wts | Diagnosis of weights
displayPlots | Display plots
dx.wts | Compute diagnostics assessing covariates balance.
egsingle | US Sustaining Effects study
get.weights | Extract propensity score weights.
get.weights.num | Get numerators to stabilize propensity score weights for 'iptw' fits.
get.weights.unstab | Extract unstabilized propensity score weights for 'iptw' fits
iptw | Inverse probability of treatment weighting for marginal structural models.
iptwExLong | Example data for iptw function (long version)
iptwExWide | Example data for iptw function (wide version)
lalonde | Lalonde's National Supported Work Demonstration data
lindner | Lindner Center data on 996 PCI patients analyzed by Kereiakes et al. (2000)
means.table | Extract table of means from an'mnps' object
mnIptwExLong | Example data for iptw function (long version, more than two treatments).
mnIptwExWide | Example data for iptw function (wide version, more than two treatments)
mnps | Propensity score estimation for multiple treatments
plot.dxwts | Plot 'dxwts'
plot.iptw | Plots for 'iptw' objects
plot.mniptw | Plot 'mniptw'
plot.mnps | Plots for 'mnps' objects
plot.ps | Plots for 'ps' objects
print.dxwts | Default print statement for 'dxwts' class
print.iptw | Default print statement for 'iptw' class
print.mniptw | Default print statement for 'mniptw' class
print.mnps | Default print statement for 'mnps' class
print.ps | Default print statement for 'ps' class
print.summary.iptw | Produces a summary table for 'iptw' object
print.summary.mniptw | Produces a summary table for 'mniptw' object
print.summary.mnps | Produces a summary table for 'mnps' object
print.summary.ps | Produces a summary table for 'ps' object
ps | Gradient boosted propensity score estimation
raceprofiling | Traffic stop data
sensitivity | Function to run sensitivity analysis described in Ridgeway's paper; currently works only for ATT.
stop.methods | Stop methods (e.g. "es.mean", "ks.mean", etc.) object, used only for backward compatibility
summary.iptw | Summarize a 'iptw' object
summary.mniptw | Summarize a 'mniptw' object
summary.mnps | Summarize a 'mnps' object
summary.ps | Summarize a 'ps' object
twang | twang: Toolkit for Weighting and Analysis of Nonequivalent Groups