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]

st: panel data

From   Wissam Saleh <>
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,

*   For searches and help try:

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