Display difference-in-difference trends summary in graph or tabular form.
Syntax
eq_name.didtrends(options)
For panel equations estimated using the difference-in-difference method.
Options
t | Display results in a table. |
p | Print output. |
Example
equation eq1.did asmrs @ post
eq1.didtrends
eq1.didtrends(t)
estimates an equation by difference-in-difference with ASMRS as the outcome variable, and POST as the treatment variable, and then displays the trend summary graph, then as a table.
Cross-references
See
“Difference-in-Difference Estimation” for a discussion of difference-in-difference models.