Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sensitivity

Function to run sensitivity analysis described in Ridgeway's paper; currently works only for ATT.


Description

Performs the sensitivity analyses described in Ridgeway (2006). This is a beta version of this functionality. Please let the developers know if you have problems with it.

Usage

sensitivity(ps1, data, outcome, order.by.importance = TRUE, verbose = TRUE)

Arguments

ps1

A 'ps' object.

data

The dataset including the outcomes

outcome

The outcome of interest.

order.by.importance

Orders the output by relative importance of covariates.

verbose

If 'TRUE', extra information will be printed.

Value

Returns the following * 'tx' Summary for treated observations. * 'ctrl' Summary for control observations.

References

Ridgeway, G. (2006). "The effect of race bias in post-traffic stop outcomes using propensity scores", *Journal of Quantitative Criminology* 22(1):1-29.


twang

Toolkit for Weighting and Analysis of Nonequivalent Groups

v2.0
GPL-3 | file LICENSE
Authors
Matthew Cefalu <Matthew_Cefalu@rand.org>, Greg Ridgeway, Dan McCaffrey, Andrew Morral, Beth Ann Griffin, and Lane Burgette
Initial release
2021-03-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.