Extract coefficients from synthdid object
Usage
# S3 method for class 'synthdid'
coef(object, ...)
Arguments
- object
A synthdid object
- ...
Additional arguments (currently ignored)
Value
Named numeric vector with the treatment effect estimate
Examples
# \donttest{
data(california_prop99)
result <- synthdid(PacksPerCapita ~ treated,
data = california_prop99,
index = c("State", "Year")
)
coef(result)
#> treated
#> -15.60379
# }