Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error in Difference-in-Difference method

    Hi everyone,
    I have panel data
    Click image for larger version

Name:	Capture.JPG
Views:	1
Size:	51.6 KB
ID:	1688689

    When I run the DID estimator,
    Click image for larger version

Name:	Capture.JPG
Views:	1
Size:	51.8 KB
ID:	1688690

    I get the following message
    invalid group specification
    None of the groups defined by id is a control.
    r(198);
    Where is the problem, please?


  • #2
    There's no unit that's never treated (all units are at some point treated). Thus, there's no group from which to construct the counterfactual. I'm okay with using "ever treated" units as comparison units IF there are at least 2 pure controls, but you ain't got that.

    Comment


    • #3
      Very clear!
      Thank you very much, dear Jared

      Comment

      Working...
      X