Dear all,
I have been trying to replicate the paper Global Capital Fows and Financing Constraints by Ann E. Harrison, Inessa Love, Margaret S. McMillan to learn about system GMM. And I am stucked by the stata code. In xtabond2, there are two types of instruments, gmmstyle and ivstyle. From my comprehension, endogenous instruments go to gmmstyle, while exogeneous instruments go to ivstyle.
The regression in the paper is attached below, and it use "t-1 and t-2 lags of all of the regressors as instruments" (I quote the exact words from the paper). I guess all the lagged variables are endogeneous, so I put all of them in the gmmstyle. But I am not confident with my understanding.Am I doing right? Could you help me with it? Thank you so much!!
Here is my code:
[/code] xtabond2 IK F.IK L.IK SK L.cash cashxFDI FDI i.quarter, gmm(L.(IK SK cashK cashKxFDI FDI), lag(1 2)) nodiffsargan robust orthogonal small [/code]
Array Array
Related Posts with Questions of xtabond2 system GMM, gmmstyle or ivstyle?
extract variable labels for new variable namesHi there I try to automate my programming as much as possible and one challenge I've come up agains…
Generate balance tableHi, I'm trying to replicate this balance table (as in the picture) using some of the example dataset…
How to do matrix exponential operation in Stata? Code: matrix A = (1,0,0,0,0\0.6,0,.4,0,0\0,.6,0,.4,0\0,0,.6,0,.4\0,0,0,0,1) matrix list A matrix B…
Count number of cases if dates are within a certain range (a la statsby)Greetings all, I have single line per observation survival data (4 million lines). Here is a simpli…
gsem covstructHello. I am running LPA analysis using gsem command. I ve run the analysis in R using the mclust com…
Subscribe to:
Post Comments (Atom)
0 Response to Questions of xtabond2 system GMM, gmmstyle or ivstyle?
Post a Comment