ATT: Compute simulated (sample) average treatment effects on the...

Description Usage Arguments Author(s) Examples

View source: R/wrappers.R

Description

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

Usage

1
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

1
2
3
4
5
6
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 documentation built on Jan. 8, 2021, 2:26 a.m.

Related to ATT in Zelig...