Greetings,
I'm a new user to Stata that I have never coded before and am using it for data analysis now.
I am using a balanced panel of N>T with no missing data.
After checking for reg and xtreg, I noticed it is better to use xtabond2 twostep to estimate my model.
I'm trying to examine the determinants of dividends post COVID with the following model:
Div=a1Div(t-1) + a2Div(t-2) + bjXj + cjXj*C + YEAR + u, with Xs being explanatory variables (and are all supposed to be significant before interaction), and C is a COVID dummy and controlled with YEAR; all variables are ln transformed
The code I used generated the closest to the theoretical result.
xtabond2 ln_DIV L(1/2).ln_DIV ln_ROA ln_LEV ln_ASSET ln_ROA_C ln_LEV_C ln_ASSET_C ib2019.YEAR, twostep robust small gmm(L.ln_DIV ln_ASSET , collapse) gmm(ln_ASSET, p lag(1 .) equation(level) collapse) iv(ln_ROA ln_LEV ib2019.YEAR, equation(level))
Here is another code that provided both significant results and passed the tests (attachment file). I feel like something is off about the code, maybe the position of var in iv() or gmm(), but I am not sure
xtabond2 ln_DIV L(1/2) ln_DIV ln_ROA ln_LEV ln_ASSET ln_ROA_C ln_LEV_C ln_ASSET_C ib2019.YEAR, twostep robust small gmm(L.ln_DIV , collapse) gmm(ln_ASSET , p lag(1 .) equation(level) collapse) iv(ln_ROA_C ln_LEV_C ln_ASSET_C ln_ROA ln_LEV ib2019.YEAR, equation(level))
I'm not sure if the var after the comma is in the right place, and another concern is ln_ASSET is persistent, so i dont really know where to put it
edit: codes that give significant result fails Diff in sargan test and vice versa.
Please give me some advices and any changes to the code or explaination to how the things after the comma works
Many thanks in advance
yours faithfully,
Yui
I'm a new user to Stata that I have never coded before and am using it for data analysis now.
I am using a balanced panel of N>T with no missing data.
After checking for reg and xtreg, I noticed it is better to use xtabond2 twostep to estimate my model.
I'm trying to examine the determinants of dividends post COVID with the following model:
Div=a1Div(t-1) + a2Div(t-2) + bjXj + cjXj*C + YEAR + u, with Xs being explanatory variables (and are all supposed to be significant before interaction), and C is a COVID dummy and controlled with YEAR; all variables are ln transformed
The code I used generated the closest to the theoretical result.
xtabond2 ln_DIV L(1/2).ln_DIV ln_ROA ln_LEV ln_ASSET ln_ROA_C ln_LEV_C ln_ASSET_C ib2019.YEAR, twostep robust small gmm(L.ln_DIV ln_ASSET , collapse) gmm(ln_ASSET, p lag(1 .) equation(level) collapse) iv(ln_ROA ln_LEV ib2019.YEAR, equation(level))
Here is another code that provided both significant results and passed the tests (attachment file). I feel like something is off about the code, maybe the position of var in iv() or gmm(), but I am not sure
xtabond2 ln_DIV L(1/2) ln_DIV ln_ROA ln_LEV ln_ASSET ln_ROA_C ln_LEV_C ln_ASSET_C ib2019.YEAR, twostep robust small gmm(L.ln_DIV , collapse) gmm(ln_ASSET , p lag(1 .) equation(level) collapse) iv(ln_ROA_C ln_LEV_C ln_ASSET_C ln_ROA ln_LEV ib2019.YEAR, equation(level))
I'm not sure if the var after the comma is in the right place, and another concern is ln_ASSET is persistent, so i dont really know where to put it
edit: codes that give significant result fails Diff in sargan test and vice versa.
Please give me some advices and any changes to the code or explaination to how the things after the comma works
Many thanks in advance
yours faithfully,
Yui
Comment