Announcement

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

  • Influence of incorporating industry dummies in XTABOND2 command

    Dear stata users,

    For my thesis, I make use of the XTABOND2 command.
    My command is the following:
    Click image for larger version

Name:	REG1.png
Views:	1
Size:	20.6 KB
ID:	1549303


    My variable of interest is Accreceivable. I tried to incorporate a dummy NACE2D (an industry dummy) as follows:
    Click image for larger version

Name:	REG3.png
Views:	1
Size:	21.9 KB
ID:	1549304


    This generates the following output for the tests:


    Click image for larger version

Name:	REG4.png
Views:	1
Size:	67.7 KB
ID:	1549305

    Could someone tell me why the Sargan and Hansen test have no p-value? This was not the case with the output of the first command above.

    Kind regards

  • #2
    There is a bug in xtabond2 that computes incorrect degrees of freedoms for the overidentification test when there are omitted coefficients in the regression output (which often happens when you use dummy variables). Clearly, negative degrees of freedom do not make any sense. See slide 78 of my 2019 London Stata Conference.

    One suggestion would be to use my xtdpdgmm command instead of xtabond2:
    Alternatively, you could adjust your xtabond2 syntax by manually only specifying dummy variables for non-omitted years and industries, i.e. make sure that none of the coefficients in the output are shown as "omitted" or "empty".
    https://www.kripfganz.de/stata/

    Comment


    • #3
      Thanks for your reply! The thing is that al the industries are omitted, so I wil make use of your command.
      Thanks again!

      Comment

      Working...
      X