[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: generating new observations
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
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.
Department of Economics
University of Colorado, Boulder
* For searches and help try: