my case where the number of codes more than 1000, I could successfully generate the network, however,
it has not simultaneously generated the variables named "var1 var2 var3 var4 ... var1000 var1001 ...". I notice that 1000 is the boundary. When the number of nodes is no more than 1000, the nw2fromedge command will generate "var1 var2 var3 var4 ... var1000" but when the number of nodes exceeds 1000 it has not.When I run "nwsummarize, mat" I could see the matrix in the command dialogue. But I dont know how to operate on that or generate the varlist.
I need these variables to be explicit in varlist as I will use them to merge with other data and do some further analysis. And I think maybe I need to use MATA to utilize it but I am new to MATA. I will appreciate your suggestions or advice and thanks in advance.
The example codes to generate the dataset in the picture:
nwclear
use "https://ift.tt/32MP4fn", clear
nw2fromedge person institution, project(1)
0 Response to How to genearte the list of vars for nodes using nw2fromedge command when the number of nodes exceeds 1000
Post a Comment