Rosenbaum bounds sensitivity analysis (data-frame interface)
Source:R/effects.R
sensitivity_rosenbaum.RdThin wrapper over rbounds::psens() when rbounds is
installed (rank-matched-pair signed-rank bounds across a Gamma
grid). Without rbounds, falls back to a base R normal-
approximation Wilcoxon signed-rank computation.
Usage
sensitivity_rosenbaum(
data,
treatment,
outcome,
covariates,
gamma_range = c(1, 3),
n_gamma = 20L
)