cia.bounds.Rd
Bounds on the distribution of the treatment effect and on the quantile of the treatment effect under a conditional independence assumption (cia). It takes in a data.frame, that should indicate whether or not an individual is treated; separates individuals into a treated and untreated group; runs distribution or quantile regression to estimate the conditional distributions; then computes bounds on the DoTT or QoTT.
cia.bounds(
formla,
xformla = ~1,
data,
delt.seq,
y.seq = NULL,
firststep = c("dr", "qr", "ll"),
link = "logit",
se = FALSE,
bootiters = 100,
cl = 1,
alp = 0.05,
...
)
y ~ d
~ x1 + x2
the name of the data.frame
. It should be in "long"
format rather than "wide" format.
a vector of values to compute the distribution of the treatment effect for
a vectof of values to compute first-step distributions over (this is currently not used as it is computed internally)
whether to use distribution regression ("dr"), quantile regression ("qr"), or local linear distribution regression ("ll") for the first step estimation of condtional distributions
optional argument to pass to distreg
for which link
function to use when running distribution regressions
whether or not to compute standard errors (if TRUE
,
they are computed using the bootstrap
if computing standard errors using the bootstrap, how many bootstrap iterations to use
if computing standard errors using the bootstrap, how many cores to use in parallel computation (default is 1)
significance level for confidence intervals
whatever extra arguments need to be passed to Y0tmethod