Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Adding a variable to a panel dataset
From
Jason Hecht <[email protected]>
To
[email protected]
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/