ATT | R Documentation |
Compute simulated (sample) average treatment effects on the treated from a Zelig model estimation
ATT(object, treatment, treated = 1, num = NULL)
object |
an object of class Zelig |
treatment |
character string naming the variable that denotes the treatment and non-treated groups. |
treated |
value of |
num |
number of simulations to run. Default is 1000. |
Christopher Gandrud
library(dplyr)
data(sanction)
z.att <- zelig(num ~ target + coop + mil, model = "poisson",
data = sanction) %>%
ATT(treatment = "mil") %>%
get_qi(qi = "ATT", xvalue = "TE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.