didmakeeq |

Create an equation object with the underlying fixed-effects estimation of a difference-in-difference equation.

For panel equations estimated using the difference-in-difference method.

Syntax

eq_name.didmakeeq new_eqname

You should follow the didmakeeq keyword with the name of the new estimated equation with an equivalent specification to be created in the workfile.

Example

equation eq1.did asmrs @ post

eq1.didmakeeq eq_underlying

estimates an equation by difference-in-difference with ASMRS as the outcome variable, and POST as the treatment variable, and then creates the underlying fixed effects estimation in the equation object EQ_UNDERLYING

Cross-references

See
“Difference-in-Difference Estimation” for a discussion of difference-in-difference models.