Dear Statalists,
I am using panel data of 120 countries from 1990 – 2020, some countries have missing data on some variables. I want to estimate system GMM estimator either via Stata user written command xtabond2 or xtdpdgmm. My model is:
Yit=aYit-1 + bRit-1 + cXit-1 + dZit + Vi + St + Eit
In this model, Yit-1, Rit-1 and Xit-1 should be treated endogenous in the command.
I want to use 2 period lags and 1 period lags for the diff and level equation.
Question:
(1). Could you please help me with the exact syntax to perform system GMM?
(2). As a further check I would like to conduct the same analysis by first creating a five-year non-overlapping data, taking values every five years, and five years averaging all my variables. How should the code at (1) should change? My confusion is the level and lag values of a variable could be the same when conducting the five years average.
Please help, I have tried to read the help files, but still couldn’t get the different terminologies involved.
Thank you in advance,
I am using panel data of 120 countries from 1990 – 2020, some countries have missing data on some variables. I want to estimate system GMM estimator either via Stata user written command xtabond2 or xtdpdgmm. My model is:
Yit=aYit-1 + bRit-1 + cXit-1 + dZit + Vi + St + Eit
In this model, Yit-1, Rit-1 and Xit-1 should be treated endogenous in the command.
I want to use 2 period lags and 1 period lags for the diff and level equation.
Question:
(1). Could you please help me with the exact syntax to perform system GMM?
(2). As a further check I would like to conduct the same analysis by first creating a five-year non-overlapping data, taking values every five years, and five years averaging all my variables. How should the code at (1) should change? My confusion is the level and lag values of a variable could be the same when conducting the five years average.
Please help, I have tried to read the help files, but still couldn’t get the different terminologies involved.
Thank you in advance,
Comment