Thanks for replying. I don't think I explained my issue correctly. The first dataset I have is as described above. The second one is in the following format: Yr GDP_growth 2005 1.5% … 2010 -0.5% 2011 +0.25% So I want to combine these two datasets to create multiple observations for each firm ID where each observations contains a different value for GDP growth, dependent on the year. So, for example, if a firm started in 2005 I want the first obs to be GDP growth for 2005, 2nd obs for that firm to be GDP growth for 2006 etc. I don;t think it's a simple case of merging the two datasets, as each firm starts at a different year. Thanks
... View more