Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Adding a variable to a panel dataset

From   Christopher Baum <>
To   "<>" <>
Subject   Re: st: Adding a variable to a panel dataset
Date   Mon, 1 Oct 2012 11:04:19 +0000

On Oct 1, 2012, at 2:33 AM, Jason wrote:

> I have constructed a panel dataset containing data on +14,000 firms
> from 1998 to 2008.  I created a dummy variable that identifies the
> country where each firm is located (i.e., China, France, Germany,
> Japan, India, UK, or US).
> I now want to add the unemployment rate for each country that would
> map into each firm's panel. That is, I would like a single column that
> would match the country's unemployment rate to the panel of the
> individual firm.
> Is there a relatively easy way to do this?

This is a FAQ:


Kit Baum   |   Boston College Economics & DIW Berlin   |
                             An Introduction to Stata Programming  |
  An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index