sensitivity(ps1,
data,
outcome,
order.by.importance = TRUE,
verbose = TRUE)
ps
object as returned from ps
ps1
data
to use as the outcomeTRUE
then the variables are sorted by
their relative influence in the gbm.object
used
to create ps1
stop.method
used in fitting ps1
. Each component
contains a data frame with a row for each variable in the original propensity
score model. The columns arevar
excluded from the
propensity score modelsensitivity
computes
over control group subjects a modified estimate of $E(Y_0|t=1)$.
$$\frac{\sum_C a_iw_iy_i}{\sum_C a_iw_i}$$
subject to the constraint that $a_i \sim g(a)$ and
$cor(a_i, y_i) = \rho$.
Several $g(a)$'s are considered by removing each variable from the
propensity score model in turn and computing the ratio of the original
weights to the weights with the variable removed. Several choices for
$\rho$ are also considered, making $\rho$ as large as possible, as
small as possible, and solving for the ``break even'' $\rho$, the
$\rho$ that eliminates any treatment effect.ps
for an example