sensitivity: Function to run sensitivity analysis described in Ridgeway's...

View source: R/sensitivity.R

sensitivityR Documentation

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 documentation built on May 29, 2024, 4:40 a.m.