Announcement

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

  • command avar is unrecognized

    Hi eveyone , when I am trying to do parallel trend test, I use the command " eventstudyinteract lnpunishamount pre*y current post*y ,absorb(city year) vce(robust) cohort(reformyear) control_cohort(lastcohort) ".
    But I got "command avar is unrecognized" from stata.

    Cound you please tell me whats wrong ?


  • #2
    have you downloaded and installed this user-written command (SSC)?

    Comment


    • #3
      The output of help eventstudyinteract tells us
      Code:
          eventstudyinteract requires avar (Baum and Schaffer, 2013) and reghdfe (Sergio, 2017) to be
          installed.  Installation of eventstudyinteract will install avar and reghdfe (and its
          dependencies) from ssc if necessary.
      But when I installed eventstudyinteract from SSC, it did not in fact install either avar or reghdfe, so you will have to do that yourself, as Rich suggests.

      Comment


      • #4
        I tried, it indeed is because I didn't download it . Thanks!

        Comment

        Working...
        X