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: panel data
From
Wissam Saleh <[email protected]>
To
[email protected]
Subject
st: panel data
Date
Thu, 10 Oct 2013 19:11:31 -0600
I am using the world bank database. I want to create groups for countries,
for example G20, G7, etc. so I created a dummy for each country, cdum1,
cdum2, etc
now when i wanted to create G7 and G20 countries I used the egen G20=group(
cdum1 cdum2, etc..)
But when i list G20, it lists the whole sample? how do i get it to just
list the G20 countries?
and what if i want to use this variable for another analysis, say I want
to graph G20 countries against emerging countries G7 or any other group
Thank You,
Wissam
*
* 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/