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
Export correlations by group (row by row and with a label for each group)Hello, I need to run correlations between variables - for simplicity let's say only between two var…
Generating the AVERAGE, by dropping Missing ValuesHello Everyone, I have Ten years of Data (2005 to 2015) for an X variable for 200 countries (data t…
bctobit - unable to run after tobit regressionI ran a tobit regression for bull semen prices as a function of certain bull attributes. My data is …
Robustness Check for Logistic CoefficientsDoes anyone know of a logistic coefficient robustness/sensitivity check for downloading into Stata o…
Create local macro already with double quotataion marksDear Statalist I would like to create a local macro for an if-condition that already includes doubl…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a Dummy Variable in Stata for Panel Data
Post a Comment