Dear all
I have a GDP time series data that is identified by year
I have another dataset that is a panel of firms and years. In each year there could be more than 500 firms
I want to merge the two dataset so that the each firm (observation) in the same year have the same year's GDP variable in the merged data.
The panel is sorted by firm and yr and the time series is sorted by yr. I do not know how to create as many GDP variables to be attached to all firms in the panel of the same year.
Hope someone can help in this basic question.
I have a GDP time series data that is identified by year
I have another dataset that is a panel of firms and years. In each year there could be more than 500 firms
I want to merge the two dataset so that the each firm (observation) in the same year have the same year's GDP variable in the merged data.
The panel is sorted by firm and yr and the time series is sorted by yr. I do not know how to create as many GDP variables to be attached to all firms in the panel of the same year.
Hope someone can help in this basic question.
Comment