Skip to content

DID

Difference-in-differences estimate of a treatment effect with robust or clustered standard errors.

DID dep BY treated post [WITH covariates] [/CLUSTER=unit] [/CRITERIA=CI(.95)].
Kind Procedure (reads data, produces output)
Body main /SUBCOMMAND[=] …
Changes data no
Subcommands /CLUSTER, /CRITERIA, /MISSING
Menu Analyze ▸ Extended
Slot: Outcome 1–1 variable(s); levels: scale; types: numeric
Slot: Treated group (0/1) 1–1 variable(s); levels: nominal, ordinal, scale; types: numeric
Slot: Post period (0/1) 1–1 variable(s); levels: nominal, ordinal, scale; types: numeric
DID sales BY treated after /CLUSTER=store.
  • treated and post are coded 0/1; the effect is the treated × post coefficient.

PANEL REGRESSION, DISCONTINUITY


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.