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
Multiple regression tables in same word document with outreg2Is there any way where I can include multiple tables in the same word document using outreg2 or othe…
mean +/- 2 stdDear Statalist, I am dealing with a variable that it is in between 0-1 (taking any possible value wi…
Mean return by[] excluding the return of the observation itselfHello all, I am having some difficulties with creating peer group returns using the data shown below…
Changing datesHow can I change a date format in Stata for from this format 06/12/2021 to this format 06-12-2021 …
Wald test for trendsHi! I'm new to STATA. I came across a paper that reported a Wald-test for trends p-value along with …
Subscribe to:
Post Comments (Atom)
0 Response to create Adjacency matrix nwcommands
Post a Comment