Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ATT

Compute simulated (sample) average treatment effects on the treated from a Zelig model estimation


Description

Compute simulated (sample) average treatment effects on the treated from a Zelig model estimation

Usage

ATT(object, treatment, treated = 1, num = NULL)

Arguments

object

an object of class Zelig

treatment

character string naming the variable that denotes the treatment and non-treated groups.

treated

value of treatment variable indicating treatment

num

number of simulations to run. Default is 1000.

Author(s)

Christopher Gandrud

Examples

library(dplyr)
data(sanction)
z.att <- zelig(num ~ target + coop + mil, model = "poisson",
                 data = sanction) %>%
             ATT(treatment = "mil") %>%
             get_qi(qi = "ATT", xvalue = "TE")

Zelig

Everyone's Statistical Software

v5.1.7
GPL (>= 3)
Authors
Christine Choirat [aut], Christopher Gandrud [aut], James Honaker [aut], Kosuke Imai [aut], Gary King [aut], Olivia Lau [aut], Robert Treacy [aut, cre], IQSS Harvard University [cph]
Initial release
2020-12-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.