F.Y1 | R Documentation |
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 )
firststep |
whether to use distribution regression ("dr"), quantile regression ("qr"), or local linear distribution regression ("ll") for the first step estimation of condtional distributions |
xformla |
a formula for which covariates to use |
data |
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 |
yvals |
Sequence of values to compute distributions over (currently not used as these are determined internally) |
tvals |
Sequence of values to compute conditional distribution over (currently not used as these are determined internally) |
h |
optional bandwidth when using local linear regression |
retF |
whether or not to return the distribution function itself;
the default is |
distribution F(y|ytmin1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.