Hello Statalisters,
I have a country panel which involves around 31 countries with data on variables gathered from 1996 to 2017. I want to have gathered immigration data from the US on country of origin, so I am looking at reasons why people migrate from their respective countries to the United states. I have around 5 main independent variables that are factors in affecting migration and another independent variable which is a control which is population. I have also calculated the same 5 independent variables but relative to the US that I want to run in a separate regression. Here are the commands I ran:
encode country, gen(country1)
xtset country1 year
xtreg immigration var1 var 2 var3 var4 var5 var6 i.year, fe vce(robust)
Do you see any issues with what I have done, and would you say the fixed effects model I am running is most suitable?
What ways would you recommend I check how good my model is currently? I am a beginner in econometrics so I do not have much knowledge, apologies if the answers to the question I posed is obvious.
Thanks,
Aneethan
Related Posts with Fixed effect regression for country panel
Stata histogram HelpHi, I'm attempting to find the 80th percentile of sales transaction totals in stata and graph it. I'…
Mediation: Direct effect greater than the Total effect !Dear all, i hope you are doing good in this period of Covid in my work i have studied the followin…
How to create a binary variable that identify whether another variable has duplicates in the dataset using Stata?*Please help me to delete this post because it is duplicated as above. Thank you! …
How to create a binary variable that identify whether another variable has duplicates in the dataset using Stata?*The dataset is laid out in longitudinal format where the patient id (pid) is the first column, and t…
Interpret IRF scaleDear all, I have got an annual database with a short term interest rate in percent, a long term int…
Subscribe to:
Post Comments (Atom)
0 Response to Fixed effect regression for country panel
Post a Comment