Hello,
I apologize if this has been asked before. I tried to thoroughly look through the forum.
I have trade data from COW that is in dyad-year (non-directed dyad), however, due to the nature of my DV, these data have to be converted to directed-dyad year.
So,
A B .01 .02
.
.
B C .03 .04
.
.
has to be converted to
A B .01 .02
.
.
B A .02 .01
.
.
B C .03 .04
.
.
C B .04 .03
I have no idea how to begin to go about this.
The closest links I found in this site are:
http://www.statalist.org/forums/foru...ic?view=thread
and
http://www.statalist.org/forums/foru...ing-many-dyads
However it seems the unit of analyses are from country-year to directed-dyad year.
Many thanks in advanced,
MW
I apologize if this has been asked before. I tried to thoroughly look through the forum.
I have trade data from COW that is in dyad-year (non-directed dyad), however, due to the nature of my DV, these data have to be converted to directed-dyad year.
So,
importer1 | importer2 | flow1 | flow2 |
.
.
B C .03 .04
.
.
has to be converted to
importer1 | importer2 | flow1 | flow2 |
.
.
B A .02 .01
.
.
B C .03 .04
.
.
C B .04 .03
I have no idea how to begin to go about this.
The closest links I found in this site are:
http://www.statalist.org/forums/foru...ic?view=thread
and
http://www.statalist.org/forums/foru...ing-many-dyads
However it seems the unit of analyses are from country-year to directed-dyad year.
Many thanks in advanced,
MW
Comment