This is a -reshape long- problem so far as I can see.
Victor, Jennifer Nicoll
Does anyone have experience importing adjacency matrices from UCInet
into Stata? I need a quick way to convert my relational social network
dataset into a standard attribute dataset that Stata will analyze.
Specifically, I have an non-directional symmetrical adjacency matrix in
UCInet that looks like:
A B C
A 0 1 0
B 1 0 1
C 0 1 0
...and I want to create a non-directional dyad-based data set that looks
like:
A-B 1
A-C 0
B-C 1
Suggestions? Do-files?
*
* 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/