Announcement

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

  • Eventdd error

    Hi,

    I am trying to estimate the eventdd technique on panel data using the code created by @Damian Clarke and @Kathya Tapia Schythe.
    I am using Stata16 MP with the command:

    eventdd ksi_acc trend_la1-trend_la380 ib1.Accident_Month i.weekday $i_ph max_temp min_temp prcp_amt ///
    i.LA_code_2009 if LA_code_2009<=10, timevar(trend_mar) method(fe, vce(robust)) leads(2) lags(2) inrange


    Unfortunately, I get the following error message:
    invalid numlist has too many elements
    r(123);


    I'm just wondering if the problem is that I have too many fixed effects? I have cut them back to less than 10.
    Any help greatly appreciated.

    Thank you.

  • #2
    Hard to say what’s going on, but I don’t think it’s too many fixed effects. I would suggest using the hdfe option with absorb() for the fixed effects. See the help file for details.

    Comment


    • #3
      Thanks Justin. I tried that and it didn't work either...

      Comment

      Working...
      X