Object Reference : Object View and Procedure Reference : Equation
  
 
didcs
Display the Callaway-Sant’Anna decomposition for difference-in-difference estimation.
For panel equations estimated using the difference-in-difference method.
Syntax
eq_name.didcs(options) [additional_regs]
You should follow the didcs keyword by an optional list of additional regressors added to the Callaway-Sant’Anna estimation.
Options
 
notyet
Use observations where an individual is not yet treated as the comparison group. Default is to only use individuals that are never treated as the comparison.
both
Use both observations where an individual is never treated or has not yet been treated as the comparison group. Default is to only use individuals that are never treated as the comparison.
p
Print output.
Example
equation eq1.did lemp @ treated
eq1.didcs lpop
estimates an equation by difference-in-difference with LEMP as the outcome variable, and TREATED as the treatment variable, and then displays the Callaway-Sant’Anna decomposition, adding LPOP as an additional exogenous regressor.
Cross-references
See “Difference-in-Difference Estimation” for a discussion of difference-in-difference models.
See also Equation::didgbdecomp, Equation::didmakeeq, and Equation::didtrends.