Hello all,
I am doing a research on the Persistence of Profit in the banking sector in 14 emerging countries. I want to sort the results by country and use the cross participation as variable control. Here is the command I use :
by Country (Bank Year), sort: xtabond2 ROA L.ROA GRTH EFFIC SIZE CAR RISK LEVR CROSS INFL GDPGRTH INTRATE, gmm(L.ROA,collapse) iv(GRTH EFFIC SIZE CAR RISK LEVR CROSS INFL GDPGRTH INTRATE, equation(level)) nodiffsargan twostep robust orthogonal small.
But I doesn't work, I get this error message :
Country = Bahrain
not sorted
r(5);
Even though, I used 'sort' before running xtabond2.
What's wrong ?
Related Posts with How to insert control variables and the command 'by' in xtabond2 ?
Cohorte for the top 10 pct.Hi statalist, I have a dataset containing 10 variables and approx 1.000.000 observations. I want to…
Restrict household with children age 7-23Hello all, i am currently doing my thesis using the data from IFLS. i want to estimate the effect of…
how to solve the problem of stata: error while loading shared libraries: libpng16.so.16: cannot open shared object file in linuxShown as above, I am a non-root user of a linux server, and cannot use sudo in linux server. After i…
Calculation of exchange rate volatilityHello, I need to calculate the exchange rate volatility. I already have the real effective exchange…
How to find the level of intangible assets in different years?Good morning everybody. I would like to find the level of intangible assets in different years (simi…
Subscribe to:
Post Comments (Atom)
0 Response to How to insert control variables and the command 'by' in xtabond2 ?
Post a Comment