twang: Toolkit for Weighting and Analysis of Nonequivalent Groups
Version 1.5

Provides functions for propensity score estimating and weighting, nonresponse weighting, and diagnosis of the weights. This package was originally developed by Drs. Ridgeway, McCaffrey, and Morral. Burgette, Griffin and McCaffrey updated the package during 2011-2016.

Browse man pages Browse package API and functions Browse package files

AuthorGreg Ridgeway, Dan McCaffrey, Andrew Morral, Beth Ann Griffin, Lane Burgette <burgette@rand.org>
Date of publication2017-05-12 14:21:25
MaintainerLane Burgette <burgette@rand.org>
LicenseGPL (>= 2)
Version1.5
Package repositoryView on R-Forge
InstallationInstall the latest version of this package by entering the following in R:
install.packages("twang", repos="http://R-Forge.R-project.org")

Man pages

AOD: Subset of Alcohol and Other Drug treatment data
bal.stat: Calculate weighted balance statistics
bal.table: Compute balance table
boxplot.mnps: Boxplots for mnps objects
boxplot.ps: Boxplots for ps objects
desc.wts: Diagnosis of weights
dx.wts: Propensity score diagnostics
egsingle: US Sustaining Effects study
get.weights: Extract propensity score weights
get.weights.num: Get numerators to stabilize propensity score weights for iptw...
get.weights.unstab: Extract unstabilized propensity score weights for iptw fits.
iptw: Inverse probability of treatment weighting for marginal...
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...
means.table: Extract table of means from an mnps object
mnIptwExLong: Example data for iptw function (long version, more than two...
mnIptwExWide: Example data for iptw function (wide version, more than two...
mnps: Propensity score estimation
plot.mnps: Plots for mnps objects
plot.ps: Plots for ps objects
print.dxwts: Print a diagnosis of the weights
ps: Propensity score estimation
raceprofiling: Traffic stop data
sensitivity: Sensitivity analyses for propensity score analyses
stop.methods: Object only used for backward compatibility
summary.mnps: Summarize an mnps object
summary.ps: Summarize a ps object

Functions

AOD Man page
MetricI Source code
bal.stat Man page Source code
bal.table Man page Source code
bal.table.hidden Source code
bal.table.mnps Source code
bal.table.ps Source code
boxplot.mnps Man page Source code
boxplot.ps Man page Source code
cfactb Source code
check.err Source code
desc.wts Man page Source code
diag.plot Source code
diag.plot.color Source code
displayPlots Source code
dx.wts Man page Source code
egsingle Man page
esStat Source code
get.weights Man page Source code
get.weights.num Man page Source code
get.weights.unstab Man page Source code
iptw Man page Source code
iptwExLong Man page
iptwExWide Man page
ksStat Source code
lalonde Man page
lindner Man page
makePlotDat Source code
makeWeightsMNPS Source code
maxfactb Source code
maxfactbb Source code
means.table Man page Source code
mnIptwExLong Man page
mnIptwExWide Man page
mnps Man page Source code
mnps2 Source code
pairwiseComp Source code
pairwiseCompForPlot Source code
pairwiseComparison Source code
plot.dxwts Source code
plot.iptw Source code
plot.mniptw Source code
plot.mnps Man page Source code Source code
plot.ps Man page Source code
plotTruePairs Source code
print.dxwts Man page Source code
print.summary.iptw Source code
print.summary.mniptw Source code
print.summary.mnps Source code
print.summary.ps Source code
ps Man page Source code
ps.summary.new Source code
ps.summary.new2 Source code
raceprofiling Man page
sensit Source code
sensitivity Man page Source code
stop.methods Man page
summary.iptw Source code
summary.mniptw Source code
summary.mnps Man page Source code
summary.ps Man page Source code

Files

DESCRIPTION
NAMESPACE
R
R/MetricI.R
R/bal.stat.R
R/bal.table.R
R/bal.table.hidden.R
R/bal.table.mnps.R
R/bal.table.ps.R
R/boxplot.mnps.R
R/boxplot.ps.R
R/check.err.R
R/desc.wts.R
R/diag.plot.R
R/diag.plot.color.R
R/displayPlots.R
R/dx.wts.R
R/esStat.R
R/get.weights.R
R/get.weights.num.R
R/get.weights.unstab.R
R/iptw.R
R/ksStat.R
R/makePlotDat.R
R/makeWeightsMNPS.R
R/means.table.R
R/mnps.R
R/mnps2.R
R/pairwiseComp.R
R/pairwiseCompForPlot.R
R/pairwiseComparison.R
R/plot.dxwts.R
R/plot.iptw.R
R/plot.mniptw.R
R/plot.mnps.2.R
R/plot.mnps.R
R/plot.ps.R
R/plotTruePairs.R
R/print.dxwts.R
R/print.summary.iptw.R
R/print.summary.mniptw.R
R/print.summary.mnps.R
R/print.summary.ps.R
R/ps.R
R/ps.summary.new.R
R/ps.summary.new2.R
R/sensitivity.R
R/stop.methods.R
R/summary.iptw.R
R/summary.mniptw.R
R/summary.mnps.R
R/summary.ps.R
build
build/vignette.rds
data
data/AOD.RData
data/egsingle.RData
data/iptwExLong.RData
data/iptwExWide.RData
data/lalonde.RData
data/lindner.RData
data/mnIptwExLong.RData
data/mnIptwExWide.RData
data/raceprofiling.RData
inst
inst/doc
inst/doc/iptw.R
inst/doc/iptw.pdf
inst/doc/iptw.rnw
inst/doc/mnps.R
inst/doc/mnps.pdf
inst/doc/mnps.rnw
inst/doc/twang.R
inst/doc/twang.pdf
inst/doc/twang.rnw
man
man/AOD.Rd
man/bal.stat.Rd
man/bal.table.Rd
man/boxplot.mnps.Rd
man/boxplot.ps.Rd
man/desc.wts.Rd
man/dx.wts.Rd
man/egsingle.Rd
man/get.weights.Rd
man/get.weights.num.Rd
man/get.weights.unstab.Rd
man/iptw.Rd
man/iptwExLong.Rd
man/iptwExWide.Rd
man/lalonde.Rd
man/lindner.Rd
man/means.table.Rd
man/mnIptwExLong.Rd
man/mnIptwExWide.Rd
man/mnps.Rd
man/plot.mnps.Rd
man/plot.ps.Rd
man/print.dxwts.Rd
man/ps.Rd
man/raceprofiling.Rd
man/sensitivity.Rd
man/stop.methods.Rd
man/summary.mnps.Rd
man/summary.ps.Rd
src
src/Makevars
src/kspval.h
src/psmirnov2x.c
vignettes
vignettes/iptw.rnw
vignettes/mnps.rnw
vignettes/twang.rnw
twang documentation built on May 21, 2017, 4:15 a.m.