Skip to contents

Outputs the effect curve that was averaged to produce our estimate

Usage

synthdid_effect_curve(estimate)

Arguments

estimate,

as output by synthdid_estimate

Value

A vector of treatment effects for each post-treatment period

Examples

# \donttest{
data(california_prop99)
setup <- panel.matrices(california_prop99)
tau.hat <- synthdid_estimate(setup$Y, setup$N0, setup$T0)

# Get effect curve over time
effect_curve <- synthdid_effect_curve(tau.hat)
plot(effect_curve, type = "l", xlab = "Post-treatment period", ylab = "Effect")

# }