Dear Community,
I am currently analyzing the effect of ESG (independent variable) on ROA (dependent variable) with the Leverage Size and GDP as control variables.
I want to use xtdpdgmm command cause my N is 56 and my T is 9 years which is considerably small. Due to the complexity of the xtdpdgmm code I am doubt with my code below. Could you please check my code and amend it if neccessary?
ATTENTION: I want to control heteroskadisticity and serial correlation due to their presence in analysis. I saw that many people use -lag ( 2 4) in their command, but I don't know how it works, do i need it?
I am not sure what I am doing, please help.
I am currently analyzing the effect of ESG (independent variable) on ROA (dependent variable) with the Leverage Size and GDP as control variables.
I want to use xtdpdgmm command cause my N is 56 and my T is 9 years which is considerably small. Due to the complexity of the xtdpdgmm code I am doubt with my code below. Could you please check my code and amend it if neccessary?
ATTENTION: I want to control heteroskadisticity and serial correlation due to their presence in analysis. I saw that many people use -lag ( 2 4) in their command, but I don't know how it works, do i need it?
Code:
xtdpdgmm ROA l.ROA ESG_total Leverage NLTR GDP, model(diff) collapse gmm(l.ROA ESG_total, lag (1 .)) iv(Leverage NLTR GDP, diff) nocons two vce (r)
Comment