Announcement

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

  • Difference-in-difference : did_multiplegt table - r(199)

    Hello,

    I am doing a difference-in-difference with multiple groups and I can't seem to get a table.
    My code is
    Code:
    did_multiplegt log_aod_mean_10km urbancode date treat, trends_nonparam(c) controls(satdum)
    I get the output

    Code:
    When the breps option is not used, the command does not produce a table or a graph,
    but the estimators requested are stored as eclass objects. Type ereturn list to see them.
    but when I run

    Code:
    did_multiplegt log_aod_mean_10km urbancode date treat, trends_nonparam(c) controls(satdum) breps(2)
    I get

    Code:
    command fcollapse is unrecognized
    r(199);
    and after this error, when I type in the console

    Code:
    did_multiplegt log_aod_mean_10km urbancode date treat, trends_nonparam(c) controls(satdum)
    , it gives the same error.

    Code:
    command fcollapse is unrecognized
    r(199);


    I searched for fcollapse on Stata but this command does not exist, any idea how the problem could be solved?
    I'd like to have a table with standard errors for the diff-and-diff estimation.
    Last edited by Benoit Decoco; 01 Jul 2022, 07:18.

  • #2
    Hi Benoit, it looks like fcollapse is part of ftools. My guess is that ftools is a dependency for -did_multiplegt- and you will need to download and install ftools to get this to work.

    Edit: you may also want to look through this thread: https://www.statalist.org/forums/for...large-datasets
    Last edited by Daniel Schaefer; 01 Jul 2022, 09:41.

    Comment


    • #3
      Thank you Daniel ! ftools was indeed summoned by the command. I now get the following error
      Code:
      variable FE1 not found
      I'll look into that and if I can't find the solution, I'll be back.

      Comment


      • #4
        Maybe email Clement.

        Comment


        • #5
          My bad, for future people having the same problem, there is three auxiliary packages needed to perform the diff-and-diff : moremata, ftools, and reghdfe.

          Comment

          Working...
          X