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
Fixed effects: country, year and industryHi everybody, I have a dataset consisting of ~3,000 Private Equity returns in the period 2012-2018.…
command _bayesmh_eqlablist is unrecognizedHi everyone, I am practicing bayesmh estimations on stata 14 for academic purposes. I do get bayesm…
Bilateral data (origin and destination country) and the command tsset/xtsetHi i have a migration dataset with origin and destination country for the years 1980, 85, 90, 95, …
Missing F-statistics of regression. regress socialsecurity ageeea ageeea2 eea ageeeaeea ageeea2eea if eeadonutregression==1 [pweight=w…
Removing duplicates within years in panel dataHello, I am struggling with something that I wanted to share. I have an unbalanced panel dataset. T…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a Dummy Variable in Stata for Panel Data
Post a Comment