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
Model specification for firm relocationI am writing a dissertation on the factors behind firm relocation. I have a dataset of firms’ origin…
countries and longitudinal dataDear Statalisters, I have a dataset, which involves the fifth wave of SHARE DATA and I want to exam…
ANOVA when unequal varianceHi I used the Kruskal-Wallis H test instead of One-way ANOVA to compare income across three groups b…
Change line options for one of the variables in marginsplotHi, The code I'm currently using to plot marginal effects is: marginsplot, recastci(rarea) recast(…
keep only panel obsHello everyone, I am trying to run a diff in diff in stata. I have more than 3,500 obs, some of them…
Subscribe to:
Post Comments (Atom)
0 Response to Time Dummy Variable for xtabond2
Post a Comment