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 ?
Monthly variation in incidence: exposure in Poisson regressionI am trying to estimate the variation of a disease incidence by month. The disease incidence should …
Difference-in-differences: regress or teffects?Dear Statalist users, I have been working on trying to find whether there has been a positive impact…
Random and Fixed Effects with normally distributed error termsHey there, I found my error terms to be normally distributed after running an OLS regression. (You c…
A problem with iteration log likelihood not concave in xtpmg commandHi everyone, When I run the PMG model by xtpmg command, I have a problem the iteration log likelihoo…
Format stata summary output table with multiple variables Code: * Example generated by -dataex-. To install: ssc install dataex clear input str6 Gender floa…
Subscribe to:
Post Comments (Atom)
0 Response to How to insert control variables and the command 'by' in xtabond2 ?
Post a Comment