Announcement

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

  • xtabond2 for difference and system GMM; Wald test is missing; 2SLS

    Hi everyone,

    Are these commands equivalent if I want to compare estimates from difference and system GMM? Why Wald test is missing in two-step difference GMM? How can I write command to calculate an analogous model 2SLS (Anderson and Hsiao)?

    Two-step difference GMM: xi: xtabond2 lnr_fpl L.lnr_fpl i.year, gmm(L.lnr_fpl, collapse) iv(i.year) noleveleq nodiffsargan twostep robust orthogonal small
    Click image for larger version

Name:	p11.png
Views:	1
Size:	31.7 KB
ID:	1735946
    Click image for larger version

Name:	p12.png
Views:	1
Size:	27.3 KB
ID:	1735947


    Two-step system GMM: xi: xtabond2 lnr_fpl L.lnr_fpl i.year, gmm(L.lnr_fpl, collapse) iv(i.year) nodiffsargan twostep robust orthogonal small
    Click image for larger version

Name:	p13.png
Views:	1
Size:	32.4 KB
ID:	1735948
    Click image for larger version

Name:	p14.png
Views:	1
Size:	38.2 KB
ID:	1735949



  • #2
    I guess that the Wald test is missing because you have specified the noleveleq option, which suppresses the intercept. That's not a concern.

    Note that iv(i.year) is not equivalent to iv(i.year, eq(level)) iv(i.year, eq(diff)). If this comes as a surprise, then I would recommend to always explicitly specify the model equation to which the instruments are referring. In a balanced panel model, there is no need to specify the time dummies separately for the two model equations. Just iv(i.year, eq(diff)) is sufficient, which also helps with the comparability of the system and difference GMM estimator.

    For the Anderson-Hsiao estimator, you would simply use the ivregress command:
    Code:
    ivregress 2sls D.lnr_fpl (LD.lnr_fpl = L2.lnr_fpl) D.(i.year), noconstant vce(robust)
    More on the GMM estimation of linear dynamic panel models:
    Last edited by Sebastian Kripfganz; 05 Dec 2023, 07:10.
    https://www.kripfganz.de/stata/

    Comment

    Working...
    X