Hi everyone, Iīm new here and I will like to present my self.

I have been wondering how to tackle a panel data problem I have the smart way. But I canīt find an answer. May be one of you may help me.

I have 90 panel data set: countries vs year, and I have another set wich indicates an event in a country, for instance: India :1997; Brasil:1994 and so on for a total of 30 events.

I will like to know if someone could help me to find a way to automatically select from each panel set the event dates for each country and the previous and after 5 years.

What I am trying to do is a case study and need to identify for each of the 90 panels the data for a country inthe +/- 5 years around the event.

Any ideas?

Thank you so much!