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
descriptive statistics and correlation of panel data from STATA to excelHi, I am trying to export a descriptive statistics of panel data from STATA to excel by using the f…
Command for division with ln Hello guys! I would like help to use a command in stata for the following formula that I use in exc…
New variables using longitudinal dataMay you assist with syntax for longitudinal data. 1. Within each record "personid" I would like to …
First stage with ivpoissonHi everyone, I am estimating a country-level gravity model with one endogenous regressor using ivpoi…
Lag function using datesDear all May you assist since I am not very familiar with lag functions. I am working with longitud…
Subscribe to:
Post Comments (Atom)
0 Response to create Adjacency matrix nwcommands
Post a Comment