F.Y1.Rd
calculate F(y|ytmin1), the conditional distribution
of treated potential outcomes conditional on ytmin1. This function
is typically computed internally in the csabounds
package but
is provided here for convenience.
F.Y1(
firststep = c("dr", "qr", "ll"),
xformla,
data,
yvals,
tvals,
h = NULL,
retF = TRUE
)
whether to use distribution regression ("dr"), quantile regression ("qr"), or local linear distribution regression ("ll") for the first step estimation of condtional distributions
a formula for which covariates to use
the data.frame. It should contain colums called "Y1t" and "Y0tmin1" which correspond to treated potential outcomes in the third period and untreated potential outcomes in the second period
Sequence of values to compute distributions over (currently not used as these are determined internally)
Sequence of values to compute conditional distribution over (currently not used as these are determined internally)
optional bandwidth when using local linear regression
whether or not to return the distribution function itself;
the default is TRUE
. If false, it returns a distreg::DR
object
distribution F(y|ytmin1)