Announcement

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

  • Dynamic panel with N = 150 and T = 4: alternatives to System GMM?

    I have a panel of about 150 countries over only 4 years (T = 4) and want to analyze the determinants of inward FDI. Since FDI is dynamic/persistent, I am using System GMM (xtabond2).

    The estimates and most diagnostic tests look reasonable, but I consistently fail to even calculate the Arellano-Bond AR(2) test.

    Given the very short time dimension, I am concerned that System GMM is not appropriate in my case.

    Are there alternative estimators suitable for dynamic FDI models with very small T (T = 4)?

    Since Fixed Effects LSDV does not allow for the inclusion of a lagged dependent variable in this context, are there alternative dynamic panel estimators that would be appropriate with such a short T?

    I would appreciate any methodological recommendations or Stata implementations.

    Thank you,

  • #2
    Since you only have T=4, while the Arellano–Bond AR(2) test requires at least T=5 (1 for lagged y, 4 for AR2 in Δe_it equation), the AR(2) test cannot be performed because of the data limitation, rather than because of a problem with the method.

    One consequence of serial correlation in the error term (e_it) is that some of the lagged instruments may become invalid. I think you could look for evidence of serial correlation indirectly using the Hansen test. If the model does not pass the Hansen test, there is probably little point in worrying about the AR(2) test. On the other hand, if the results are robust and the model passes the Hansen test under several different specifications of the lags used as instruments, this could be taken as some evidence that the model is correctly specified, in which case you may reasonably proceed without the AR(2) test.

    An alternative to using System GMM is to use a bias-corrected fixed-effects estimator. You can use the xtlsdvc command for this purpose. See the following article for details: Stata Journal | Article
    Manh Hoang-Ba,
    Facebook,
    Eureka! Uni - YouTube,
    ManhHB94 (Manh Hoang Ba),
    Hoàng Bá Mạnh – Kinh tế lượng: Lý thuyết và ứng dụng

    Comment


    • #3
      Helmi: Just because a lagged dependent variable predicts the current outcome doesn't mean you should estimate a dynamic model. You should ask what effect you're trying to uncover. Is this a policy analysis?

      For example, if I want to know the dynamic effects of a job training program, I generally identify different effects depending on whether I include y(i,t-1) or whether I use a difference-in-differences analysis. In the latter case, I can clearly define the parameters of interest, and then ask whether the DID assumptions -- particular parallel trends -- holds. In the dynamic model, I'm always holding fixed y(i,t-1), and so I'm really only estimating the immediate effect, not dynamic effects -- unless I make additional assumptions.

      Comment


      • #4
        Originally posted by Manh Hoang Ba View Post
        Since you only have T=4, while the Arellano–Bond AR(2) test requires at least T=5 (1 for lagged y, 4 for AR2 in Δe_it equation), the AR(2) test cannot be performed because of the data limitation, rather than because of a problem with the method.

        One consequence of serial correlation in the error term (e_it) is that some of the lagged instruments may become invalid. I think you could look for evidence of serial correlation indirectly using the Hansen test. If the model does not pass the Hansen test, there is probably little point in worrying about the AR(2) test. On the other hand, if the results are robust and the model passes the Hansen test under several different specifications of the lags used as instruments, this could be taken as some evidence that the model is correctly specified, in which case you may reasonably proceed without the AR(2) test.

        An alternative to using System GMM is to use a bias-corrected fixed-effects estimator. You can use the xtlsdvc command for this purpose. See the following article for details: Stata Journal | Article
        Thank you for this! The hansen test is good as well as the sargan test for all specifications. I would like to use LSDV but FDI analysis usually requires using a dynamic model in which I can include lags of the dependent variable, can I use lags with LSDV??

        Comment


        • #5
          Originally posted by Jeff Wooldridge View Post
          Helmi: Just because a lagged dependent variable predicts the current outcome doesn't mean you should estimate a dynamic model. You should ask what effect you're trying to uncover. Is this a policy analysis?

          For example, if I want to know the dynamic effects of a job training program, I generally identify different effects depending on whether I include y(i,t-1) or whether I use a difference-in-differences analysis. In the latter case, I can clearly define the parameters of interest, and then ask whether the DID assumptions -- particular parallel trends -- holds. In the dynamic model, I'm always holding fixed y(i,t-1), and so I'm really only estimating the immediate effect, not dynamic effects -- unless I make additional assumptions.
          Thank you Jeff! If I got your point right, I should first specify whether a dynamic model is suitable or not. You could say that this is a policy analysis: I’m trying to investigate the impact of countries’ reputation on their ability to attract FDI. I’m only interested in the short-term effect. The reason I’m using a dynamic model is that I’ve observed in the recent literature that many FDI studies use dynamic models, where past values of FDI affect future values. Do you think it would be more suitable to use a static model in this case, since the main focus is not to asess the impact of lagged FDI??
          Last edited by Helmi Mansour; 10 Aug 2026, 15:49.

          Comment


          • #6
            Originally posted by Helmi Mansour View Post

            Thank you for this! The hansen test is good as well as the sargan test for all specifications. I would like to use LSDV but FDI analysis usually requires using a dynamic model in which I can include lags of the dependent variable, can I use lags with LSDV??
            The bias resulting from the correlation between y(-1) and w_it = u_i + e_it is corrected using the xtlsdvc command—not regress, xtreg, areg, or reghdfe. You really should read the paper I linked to in #2.
            Manh Hoang-Ba,
            Facebook,
            Eureka! Uni - YouTube,
            ManhHB94 (Manh Hoang Ba),
            Hoàng Bá Mạnh – Kinh tế lượng: Lý thuyết và ứng dụng

            Comment


            • #7
              Originally posted by Manh Hoang Ba View Post

              The bias resulting from the correlation between y(-1) and w_it = u_i + e_it is corrected using the xtlsdvc command—not regress, xtreg, areg, or reghdfe. You really should read the paper I linked to in #2.
              I see your point! I’ll check it now. Thank you!

              Comment

              Working...
              X