Hi,
I have a data set with the following variables:
importer exporter commoditycode tradevalue
Belgium Argentina 1 123
Belgium Argentina 2 456
Luxemburg Argentina 1 789
Luxembourg Argentina 3 147
I want to generate new observations such that importer is Belgium-Luxembourg
and tradevalue is the combined trade value for the two countries for the
respective commodity.
Can someone tell me how I can do that?
Sorry if it is a very simple question. I am new to stata and I have looked at
all the resources available to me but could not find a solution.
Thanks.
Kremena
--
Kremena Platikanova
Ph.D. Candidate
Department of Economics
University of Colorado, Boulder
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/