Search found 2 matches

by pmgm
Tue Aug 10, 2010 1:25 am
Forum: Data Manipulation
Topic: Aggregating Cross-Sections in Pools
Replies: 3
Views: 4092

Re: Aggregating Cross-Sections in Pools

Thank you for your quick reply, Gareth. Unfortunately that would not work, since each region has different members. Say we have: Asia = BN FJ ID KH KP LA MM MN MY PG Americas = CR CU DO GT JM MX NI SR TT Africa = AO BF CV TD KM ET GA GN GW KE Europe = FR DE LU NL GR IS IT etc… The code suggested wou...
by pmgm
Mon Aug 09, 2010 2:06 pm
Forum: Data Manipulation
Topic: Aggregating Cross-Sections in Pools
Replies: 3
Views: 4092

Aggregating Cross-Sections in Pools

Dear all, I would like to aggregate cross-sections (e.g. countries into regions) in a pooled workfile. So far I have got (e.g. for Asia): for %v GDP POP INF NER EXP IMP FDI series {%v}_Asia = 0 for %c BN FJ ID KH KP LA MM MN MY PG {%v}_Asia = {%v}_Asia + {%v}_{%c} next next Not the tidiest of codes,...

Go to advanced search