Description Usage Arguments Value Examples
a function for computing the conditional expectation of Y_1t given a value for Y_0tmin1
1 |
ytmin1val |
scalar value to compute conditional expectation for |
Y1t |
vector of treated potential outcomes for the treated group in period t |
Y0tmin1 |
vector of untreated potential outcomes for the treated group in period t-1 |
h |
optional bandwidth paramater |
method |
can be "level" or "rank", whether the conditional expectation is based on the level of Y0tmin1 or its rank |
the conditional expectation of y1 conditional on y0tmin1
1 2 3 4 5 | data(displacements)
ytmin1 <- 10
Y1t <- subset(displacements, year==2011 & treat==1)$learn
Y0tmin1 <- subset(displacements, year==2007 & treat==1)$learn
E.Y1(ytmin1, Y1t, Y0tmin1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.