I would like to know how proc optgraph acts when you give it a graph with weights. I am doing community detection using Louvain method and community option. I have several pairs of nodes with more tan one link and different weigths. I would want to know if the algorithm adds the weights or what it does with them.
Thanks!
If you have multiple links between the the same pair of nodes, only the first one is used:
The log displays a warning in that case:
WARNING: Link (A,B) in observation 2 of the DATA_LINKS= data set is a duplicate and is ignored.
In the next release of PROC NETWORK (the SAS Viya counterpart to PROC OPTGRAPH), multiple links are handled directly in the algorithm.
If you have multiple links between the the same pair of nodes, only the first one is used:
The log displays a warning in that case:
WARNING: Link (A,B) in observation 2 of the DATA_LINKS= data set is a duplicate and is ignored.
In the next release of PROC NETWORK (the SAS Viya counterpart to PROC OPTGRAPH), multiple links are handled directly in the algorithm.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.