compute.csa.bounds.Rd
Compute bounds on the distribution and quantile of the treatment effect as given in Callaway (2017) under the copula stability assumption and when a first step estimator of the counterfactual distribution of untreated potential outcomes for the treated group is available.
compute.csa.bounds(
formla,
t,
tmin1,
tmin2,
tname,
idname,
data,
delt.seq,
y.seq,
Y0tqteobj,
F.y0 = NULL,
F.y1 = NULL,
h = NULL,
xformla = ~1,
firststep = c("dr", "qr", "ll"),
cl = 1
)
outcomevar ~ treatmentvar
the 3rd period
the 2nd period
the 1st period
the name of the column containing periods
the name of the column containing ids
a panel data frame
the possible values to compute bounds on the distribution of the treatment effect for
the possible values for y to take
a previously computed first step estimator of the distribution of counterfactual outcomes for the treated group
(optional) pre-computed distribution of counterfactual untreated outcomes for the treated group
(optional) pre-computed distribution of treated outcomes for the treated group
optional bandwidth when using local linear regression
a formula for which covariates to use
whether to use distribution regression ("dr"), quantile regression ("qr"), or local linear distribution regression ("ll") for the first step estimation of condtional distributions
(optional) number of multi-cores to use
csaboundsobj