I am having a problem in combining data from two different datafiles.
More specifically I have two datafiles:
- File 1 (SHARE data): Contains people's country and year of graduation.
- File 2: Contains GDP growth rates, over the years, per country.
I should create a new variable in File 1, being the GDP growth rate of the year in which that person graduated.
The linkage should thus happen by country and year.
Is there a command or method in Stata to do so?
Thanks in advance.
More specifically I have two datafiles:
- File 1 (SHARE data): Contains people's country and year of graduation.
- File 2: Contains GDP growth rates, over the years, per country.
I should create a new variable in File 1, being the GDP growth rate of the year in which that person graduated.
The linkage should thus happen by country and year.
Is there a command or method in Stata to do so?
Thanks in advance.
Comment