Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Adding a variable to a panel dataset


From   Jason Hecht <jayhstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Adding a variable to a panel dataset
Date   Sun, 30 Sep 2012 16:05:25 -0400

Hello -

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?

Thanks so much!

Jason
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index