Hello everyone,
I am quite new to stata and I am trying to run a panel data regression to the effect of inward FDI on economic growth (GDP per capita). I include country and year effects to account for fixed effects in the model. Since the country effect is included with the xtset of the data, I included dummy variables for the year effects. However, my stata software omits the first and last year of these dummy variables and I am not really sure how it works and what steps I must take in stata to solve this problem. I took logarithms for a few variables due to violations of normality assumptions and a lag variable for fdi. I also added the file with data to this post.
I am quite new to stata and I am trying to run a panel data regression to the effect of inward FDI on economic growth (GDP per capita). I include country and year effects to account for fixed effects in the model. Since the country effect is included with the xtset of the data, I included dummy variables for the year effects. However, my stata software omits the first and last year of these dummy variables and I am not really sure how it works and what steps I must take in stata to solve this problem. I took logarithms for a few variables due to violations of normality assumptions and a lag variable for fdi. I also added the file with data to this post.
Comment