Hi everyone,
I have a macro-panel set. Some of the variables are not specified by countries but by group of countries: "Venezuela, Peru, Argentina" or "Sub-saharan Africa" or even "Global"
I would like to create new lines, splitting countries of the group and dividing my variables' values by the number of countries. I mean
Turning this:
Venezuela, Peru, Argentina 2004 300 600 900
Into this:
Venezuela 2004 100 200 300
Peru 2004 100 200 300
Argentina 2004 100 200 300
(I have dummies variable for countries' region)
Thanks so much for your help!
I have a macro-panel set. Some of the variables are not specified by countries but by group of countries: "Venezuela, Peru, Argentina" or "Sub-saharan Africa" or even "Global"
I would like to create new lines, splitting countries of the group and dividing my variables' values by the number of countries. I mean
Turning this:
Venezuela, Peru, Argentina 2004 300 600 900
Into this:
Venezuela 2004 100 200 300
Peru 2004 100 200 300
Argentina 2004 100 200 300
(I have dummies variable for countries' region)
Thanks so much for your help!

Comment