Hello all,
I want to create a dummy variable that removes the effects of the financial crisis. I have a panel data set with 29 countries and 11 years from 2006-2017. The independent variables that I have are: Immigration, Emigration, Human Capital and Labour Productivity. My dependent variable is GDP.
I wish to create a dummy variable that will omit the data collected for 2009. The reason I want to create a dummy variable is because I do not want to drop the data. I want to see the effects that my independent variables have on GDP when 2009 is omitted as the coefficients for my variables might change when I run my regression and by running a regression that somehow does not include 2009's data points I can capture that change. Can someone please advise me on the coding to use to create such a dummy?
Thank you in advance,
Mikesh Lukka
Related Posts with Creating a Dummy Variable in Stata for Panel Data
Mlabel command to label datapointsHello I am trying to label the datapoints in the graph below. I want to mark the number of machines …
How do I interpret interaction effects in a log-level regression model?My model: log(y)=β0 + β1x1 + β2log(x2) + β3x1log(x2). The x1 variable is endogenous and I instrume…
Comparing median at 2 pointsDear Stata users, I am wondering, is it possible to compare the median of continuous variable (V1-s…
How to count the number of observations at the min and max value?Given the data set, Find the average education level in the sample. What are the lowest and highest …
Evaluating a policy *expansion* using Difference in DifferenceDear All: I am writing to ask for a Difference-in-Difference question. Usually in a standard DiD s…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a Dummy Variable in Stata for Panel Data
Post a Comment