Hi
A little background first. I am trying to test how democracy levels impact GDP. I am using the data of 105 countries spanning a period of 26 years (1990-2016) using the Arellano-Bond Estimator (xtabond2). I am trying to put in a time dummy variable to take into account time fixed effect into account. For example the Global Financial Crisis of 2007 and others.
This is my initial code
xtabond2 loggdp l.loggdp polrisk l.popgrow logtrade govsp democracy, gmm (l.loggdp logtrade) iv(polrisk l.popgrow govsp democracy)
H1: Democracy leads to economic development.
xtabond2 loggdp l.loggdp polrisk l.popgrow logtrade govsp democracy, gmm (l.loggdp logtrade) iv(polrisk l.popgrow govsp democracy)
Variables
loggdp - log of GDP
polrisk - Political Risk
l.popgrow - lag of Population Growth
logtrade - log of Trade
govsp - Government Spending
democracy - signifies if the country was democratic or not in a particular year.
What is the command to create time dummy variables and where do I insert it in my formula.
Thank You
Related Posts with Time Dummy Variable for xtabond2
Pasting the data from Excel to Stata converts values of the variableDear Stata Members I am dealing with some financial data like income, total assets, etc. Many of the…
Adding 4 arguments in setstars() of asdoc / asdocxI seem to experience an issue with the setstars() arguments using asdoc or asdocx. It seems that it …
long format data, creating a new variable (loop)Dear Statalist, I have data in long format with observation year: 2000 to 2019, n=125 000. I have a …
Format regression coefficients using file writeI am outputting non-standard tables to TeX and using file write following this example: https://gith…
fixed effects and and vce(robust) in poisson regressionHello everyone, I am aware that this is more of a statistical quuestino than a question on Stata but…
Subscribe to:
Post Comments (Atom)
0 Response to Time Dummy Variable for xtabond2
Post a Comment