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
Date format issueHi Is there a way to convert dates that have a format such as September 13 2005 to a date variable …
low Cronbach's alphaHi, I am currently in the initial stage of my research and don't have much experience in statistica…
How to place coefficient at a certain value in “coefplot”Dear All, I come across an error when using the 'coefplot' command. I want to plot the coefficient o…
Generate variable of ratios of consecutive observations, by subgroupHello. I am working with a panel dataset as characterized below. Code: * Example generated by -da…
xtivreg2 warning that covariance matrix is not of full rank. Detecting singletons?Dear all, I am running the following code: . xtset id year . xi: xtivreg2 `t' (`z'=instrument_p) …
Subscribe to:
Post Comments (Atom)
0 Response to create Adjacency matrix nwcommands
Post a Comment