plot.didImputation: DiD imputation plot

Description Usage Arguments Value Examples

Description

Takes a didImputation estimation and return a graph of estimated parameters(for dynamic effects only).

Usage

1
2
## S3 method for class 'didImputation'
plot(...)

Arguments

...

additional arguments.

Value

A ggplot2 object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# standard plot
res <- didImputation(y ~ 0 | i + t,
              cohort = 'g',
              data = did_simulated)

didplot(res)

# Plot with 99% confidence interval

didplot(res, ci = 0.99)

# Plot with Impulse response function style

didplot(res, type = 'IR')

CdfInnovLab/didImputation documentation built on Dec. 17, 2021, 1:57 p.m.