RDocumentation
Moon
Learn R
Search all packages and functions
twang (version 2.6)
Toolkit for Weighting and Analysis of Nonequivalent Groups
Description
Provides functions for propensity score estimating and weighting, nonresponse weighting, and diagnosis of the weights.
Copy Link
Copy
Link to current version
Version
Version
2.6
2.5
2.4
2.3
2.2
2.1
2.0
1.6
1.5
1.4-9.5
1.4-9.3
1.4-0
1.3-20
1.3-18
1.3-14
1.3-11
1.2-7
1.2-6
1.2-5
1.2-4
1.0-3
1.0-2
1.0-1
0.6-7
0.6-5
0.6-4
0.6-2
0.6-1
Down Chevron
Install
install.packages('twang')
Monthly Downloads
3,009
Version
2.6
License
GPL-3 | file LICENSE
Maintainer
Lane Burgette
Last Published
December 6th, 2023
Functions in twang (2.6)
Search functions
mnps
Propensity score estimation for multiple treatments
plot.mnps
Plots for
mnps
objects
print.mnps
Default print statement for
mnps
class
plot.ps
Plots for
ps
objects
print.mniptw
Default print statement for
mniptw
class
print.summary.iptw
Produces a summary table for
iptw
object
print.ps
Default print statement for
ps
class
raceprofiling
Traffic stop data
sensitivity
Function to run sensitivity analysis described in Ridgeway's paper; currently works only for ATT.
means.table
Extract table of means from an`mnps` object
print.dxwts
Default print statement for
dxwts
class
print.summary.mniptw
Produces a summary table for
mniptw
object
print.iptw
Default print statement for
iptw
class
print.summary.mnps
Produces a summary table for
mnps
object
summary.iptw
Summarize a
iptw
object
stop.methods
Stop methods (e.g. "es.mean", "ks.mean", etc.) object, used only for backward compatibility
summary.ps
Summarize a
ps
object
summary.mniptw
Summarize a
mniptw
object
plot.dxwts
Plot
dxwts
twang-package
twang: Toolkit for Weighting and Analysis of Nonequivalent Groups
print.summary.ps
Produces a summary table for
ps
object
iptwExWide
Example data for iptw function (wide version)
ps
Gradient boosted propensity score estimation
plot.mniptw
Plot
mniptw
plot.iptw
Plots for
iptw
objects
lalonde
Lalonde's National Supported Work Demonstration data
summary.mnps
Summarize a
mnps
object
boxplot.mnps
Boxplot for `mnps` objects
bal.table
Compute the balance table.
displayPlots
Display plots
dx.wts
Compute diagnostics assessing covariates balance.
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.
desc.wts
Diagnosis of weights
boxplot.ps
Boxplot for `ps` objects
lindner
Lindner Center data on 996 PCI patients analyzed by Kereiakes et al. (2000)
AOD
Subset of Alcohol and Other Drug treatment data
egsingle
US Sustaining Effects study
bal.stat
Calculate weighted balance statistics
mnIptwExLong
Example data for iptw function (long version, more than two treatments).
iptwExLong
Example data for iptw function (long version)
mnIptwExWide
Example data for iptw function (wide version, more than two treatments)