Dear STATA family,
I want to gather an estimate of net import flows (export-import). For that I have the dataset which you can find below. This is ordered based on country, sector and date. I want to have an estimate for (export-import) for the same country and sector in the same month. Does anyone know a quick way of doing this?
Thanks in advance!
The dataset can be found below:
country sector flow month trade
Austria Fabricated metal products, except machinery and equipment IMPORT apr2003 44740571
Austria Fabricated metal products, except machinery and equipment EXPORT apr2003 97170613
Austria Machinery and equipment n.e.c. IMPORT apr2003 1.126e+08
Austria Machinery and equipment n.e.c. EXPORT apr2003 3.131e+08
Belgium (incl. Luxembourg 'LU' -> 1998) Fabricated metal products, except machinery and equipment IMPORT apr2003 74782459
Belgium (incl. Luxembourg 'LU' -> 1998) Fabricated metal products, except machinery and equipment EXPORT apr2003 82929248
Belgium (incl. Luxembourg 'LU' -> 1998) Machinery and equipment n.e.c. EXPORT apr2003 3.533e+08
Belgium (incl. Luxembourg 'LU' -> 1998) Machinery and equipment n.e.c. IMPORT apr2003 3.686e+08
Bulgaria Fabricated metal products, except machinery and equipment IMPORT apr2003 3132479
Bulgaria Fabricated metal products, except machinery and equipment EXPORT apr2003 3875985
Bulgaria Machinery and equipment n.e.c. EXPORT apr2003 10675694
Bulgaria Machinery and equipment n.e.c. IMPORT apr2003 15280077
Regards, Hans de Boer.
I want to gather an estimate of net import flows (export-import). For that I have the dataset which you can find below. This is ordered based on country, sector and date. I want to have an estimate for (export-import) for the same country and sector in the same month. Does anyone know a quick way of doing this?
Thanks in advance!
The dataset can be found below:
country sector flow month trade
Austria Fabricated metal products, except machinery and equipment IMPORT apr2003 44740571
Austria Fabricated metal products, except machinery and equipment EXPORT apr2003 97170613
Austria Machinery and equipment n.e.c. IMPORT apr2003 1.126e+08
Austria Machinery and equipment n.e.c. EXPORT apr2003 3.131e+08
Belgium (incl. Luxembourg 'LU' -> 1998) Fabricated metal products, except machinery and equipment IMPORT apr2003 74782459
Belgium (incl. Luxembourg 'LU' -> 1998) Fabricated metal products, except machinery and equipment EXPORT apr2003 82929248
Belgium (incl. Luxembourg 'LU' -> 1998) Machinery and equipment n.e.c. EXPORT apr2003 3.533e+08
Belgium (incl. Luxembourg 'LU' -> 1998) Machinery and equipment n.e.c. IMPORT apr2003 3.686e+08
Bulgaria Fabricated metal products, except machinery and equipment IMPORT apr2003 3132479
Bulgaria Fabricated metal products, except machinery and equipment EXPORT apr2003 3875985
Bulgaria Machinery and equipment n.e.c. EXPORT apr2003 10675694
Bulgaria Machinery and equipment n.e.c. IMPORT apr2003 15280077
Regards, Hans de Boer.
Comment