Hi,
thank you very much for the incredible nwcommands and thank you very much in advance for your help.
I'd like to create an Adjacency Matrix when my data is
id idf1 idf2 idf3....
50 45 39 23
45 50 23
39 50 23
23 50 45 39
That is, I have students that were asked to name other students that they considered to be friends. The dataset contains an id number for each case and also variables that contain the id numbers of the friends each student identified.
How can I get the Adjacency Matrix by using nwcommands with stata for this kind of data?
0 Response to create Adjacency matrix nwcommands
Post a Comment