Panel data and controlling variables

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Panel data and controlling variables

This post has NOT been accepted by the mailing list yet.
Good afternoon,

i have a dataset for the following regression, for example : dummy_age=set of dummy_characteristics + economic variables (GDP, pop, unemployment).

The dataset is as following:

firm_id / entry_year / others
1 / 2008
2 /2006
3 / 1999
4 / 2006

entry year is the year which the firm was founded and its among 1986 and 2009. So these values are repeated over the sample.

My first step was joining the economic variables to the base data, my merging it. The problem here is that Gdp values are repeated because entry years are also repeated.

When i try to declare the dataset to be panel data (xtset firmid year) i get the result "repeated time values within panel". I also tried to make a regression but stata says that there's no observations.

Can you help me solving this problem?