Dear everyone,
I had noticed a very interesting phenomenon in GMM estimation, which I can't figure out why. Hope you can give me some hints. Great thanks.
Take the following equation (the one listed in the help file of the code xtdpdgmm) as an example:
************************************************** ******************************************
webuse abdata
//gen new variable by minus a constant
gen w_new=w-2
//OLS
reg n l.n w k
reg n l.n w_new k
//GMM
xtdpdgmm L(0/1).n w k, gmm(L.n w k, l(1 4) c m(d)) iv(L.n w k, d) two vce(r)
xtdpdgmm L(0/1).n w_new k, gmm(L.n w_new k, l(1 4) c m(d)) iv(L.n w_new k, d) two vce(r)
************************************************** ***********************************************
Logically, when the independent variable minus a constant, we should expect the coefficients won't change, that is the case of OLS estimation. However, the coefficients vary for all independent variables in the GMM estimation (both in code xtdpdgmm and xtabond2). That's really hard for me to understand. Could anyone enlighten me on what leads to this outcome?
Best,
Haiyan
Related Posts with GMM estimation: when one of dependent variables minus a constant
 Help with time-dependent variable in longitudinal dataHi everyone,
I am working on panel data as shown below:
I want to generate a time-dependent covar… Help with time-dependent variable in longitudinal dataHi everyone,
I am working on panel data as shown below:
I want to generate a time-dependent covar…
 spmap location of geographic labelsHi,
I am using a shapefile for the UK regions (NUTS1) from https://data.gov.uk/dataset/2aa6727d...u… spmap location of geographic labelsHi,
I am using a shapefile for the UK regions (NUTS1) from https://data.gov.uk/dataset/2aa6727d...u…
 How to browse data with complicated conditionI have firm-level data for 2010-2015. I would like to browse variable output and capital for specifi… How to browse data with complicated conditionI have firm-level data for 2010-2015. I would like to browse variable output and capital for specifi…
 How to code to calculate Buy-and-hold Abnormal Return (BHAR)We use the income from May of T+1 to April of T+2 as T annual income.BHAR is equal to the multiplier… How to code to calculate Buy-and-hold Abnormal Return (BHAR)We use the income from May of T+1 to April of T+2 as T annual income.BHAR is equal to the multiplier…
 Random sampleHello to all, I try to learn stata by myself as a economist,
So I want to make a boucle to make a r… Random sampleHello to all, I try to learn stata by myself as a economist,
So I want to make a boucle to make a r…
Subscribe to:
Post Comments (Atom)
0 Response to GMM estimation: when one of dependent variables minus a constant
Post a Comment