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?
Related Posts with create Adjacency matrix nwcommands
estat vce, corr and vifI apologise in advance if this has been posted before. Though I couldn't seem to find a discussion w…
using DHS DATA SET for cluster fixed effect Hello every one, Please I am new in stata, I am trying to construct a cross sectional data set fro…
Calculating percentiles in STATAHi, I am using the following loop to get the 0.5%, 1%, 2%, 5%, 95%, 98%, 99% and 99.5% percentiles f…
After splitting a variable that had options seperated by commas, how to find out which is the highest and the lowest frequency of values?My data looks like this fruit_variable has values 1. Mango 2. Mango, pineapple 3. Mango, grapes 4. …
how to calculate marginal effect?Hi there, Need some help calculating marginal effect. Variable Description sid Subject ID age…
Subscribe to:
Post Comments (Atom)
0 Response to create Adjacency matrix nwcommands
Post a Comment