Description Usage Arguments Value Examples
calculate F(y|ytmin1), the conditional distribution of treated potential outcomes conditional on ytmin1; The order of the variables is due to the way that the function is called later on
1 |
ytmin1 |
the value of ytmin1 to condition on |
y.seq |
possible values for y to take |
Y1t |
vector of outcomes for the treated group in period t |
Y0tmin1 |
vector of outcomes for the treated group in period t-1 |
h |
optional bandwidth |
method |
"level" or "rank" determining whether method should be used conditional on ytmin1 or the rank of ytmin1 |
distribution F(y|ytmin1)
1 2 3 4 5 6 | data(displacements)
ytmin1 <- 10
Y1t <- subset(displacements, year==2011 & treat==1)$learn
Y0tmin1 <- subset(displacements, year==2007 & treat==1)$learn
y.seq <- seq(min(c(Y0tmin1,Y1t)), max(c(Y0tmin1,Y1t)), length.out=100)
F.Y1(ytmin1, y.seq, Y1t, Y0tmin1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.