Thanks to Kit Baum, three new programs concerning network analysis are available on SSC.
to install.
In addition to (and requiring) Thomas Grund nwcommands package for network analysis (available on github, to refer to a recent and major discussion on Statalist ), three commands for network analysis are available on SSC.
nwANND computes the network Average Nearest Neighbor Degree (ANND) for unweighted networks or the Strength (ANNS) and weighted ANND (WANND) for weighted networks.
The direction() option allows to consider directed networks.
See Fagiolo G, Reyes J, Schiavo S (2010) The evolution of the world trade web: a weighted-network analysis. Journal of Evolutionary Economics 20: 479–514, for a description of each index.
nwdisparity computes the disparity index in a weighted network. The disparity index measures the distribution of a node's strength over its various edges. For details see Barthélemy, Barrat, Pastor-Satorras and Vespignani, Characterization and modeling of weighted networks, Physica A, Volume 346, 2005.
The direction() option allows to consider direct networks.
nwreciprocity computes reciprocity indexes. Following the first syntax, it returns the reciprocity (shares of reciprocated ties) of a given network, comparing it to the average of randomly drawn networks with the same dimensions ( Squartini, T., Picciolo, F., Ruzzenenti, F., and Garlaschelli, D. Reciprocity of weighted networks. Scientific reports, 3, 2013).
The second syntax returns only the average reciprocated weights of null models with dimensions set in nodes(), density() and weight().
Note that these commands are built on the nwcommands package from T. Grund. Follow the instructions on the help file to download it.
Code:
ssc install nwANND ssc install nwdisparity ssc install nwreciprocity
In addition to (and requiring) Thomas Grund nwcommands package for network analysis (available on github, to refer to a recent and major discussion on Statalist ), three commands for network analysis are available on SSC.
nwANND computes the network Average Nearest Neighbor Degree (ANND) for unweighted networks or the Strength (ANNS) and weighted ANND (WANND) for weighted networks.
The direction() option allows to consider directed networks.
See Fagiolo G, Reyes J, Schiavo S (2010) The evolution of the world trade web: a weighted-network analysis. Journal of Evolutionary Economics 20: 479–514, for a description of each index.
nwdisparity computes the disparity index in a weighted network. The disparity index measures the distribution of a node's strength over its various edges. For details see Barthélemy, Barrat, Pastor-Satorras and Vespignani, Characterization and modeling of weighted networks, Physica A, Volume 346, 2005.
The direction() option allows to consider direct networks.
nwreciprocity computes reciprocity indexes. Following the first syntax, it returns the reciprocity (shares of reciprocated ties) of a given network, comparing it to the average of randomly drawn networks with the same dimensions ( Squartini, T., Picciolo, F., Ruzzenenti, F., and Garlaschelli, D. Reciprocity of weighted networks. Scientific reports, 3, 2013).
The second syntax returns only the average reciprocated weights of null models with dimensions set in nodes(), density() and weight().
Note that these commands are built on the nwcommands package from T. Grund. Follow the instructions on the help file to download it.