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 ?
Fixed effects - Unconditional quantile regressionHello, I´m running an unconditional quantile regression with country fixed effects. The command is:…
best package for matchingHi stata-users, I have been trying to understand psmatch2 but it hasn't been very helpful. I don't …
tsspell to count only workdays?Hi, I'm trying to generate spells in Stata for an HR type of database. I want to count periods of ab…
Panel of firms - FE/RE model specificationDear Experts, I want to evaluate the effect of economic policy uncertainty on investment in various…
Histogram misbehavingI was plotting the simplest of histograms (observations by year) in Stata 14 and finding that the hi…
Subscribe to:
Post Comments (Atom)
0 Response to How to insert control variables and the command 'by' in xtabond2 ?
Post a Comment