Learn R Programming

twang (version 2.6.1)

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)

Value

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

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.

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.