Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: UCInet


From   "Victor, Jennifer Nicoll" <jnvictor@pitt.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: UCInet
Date   Tue, 25 Mar 2008 13:28:39 -0400

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?

Thanks


___________________________________________
Jennifer Nicoll Victor
Assistant Professor
Department of Political Science
University of Pittsburgh
4600 Wesley W. Posvar Hall
(412) 624-7204
E-mail:  jnvictor@pitt.edu
Homepage:  http://www.pitt.edu/~jnvictor



*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index