EconPapers    
Economics at your fingertips  
 

NW_WCC: Stata module to calculate Weighted Clustering Coefficients (WCC) in Complex Direct Networks

Charlie Joyez

Statistical Software Components from Boston College Department of Economics

Abstract: nw_wcc calculates the clustering coefficient of each node i among a network, following the pattern indicated in option and saves the result as a Stata variable specific to the pattern and the binary or weighted dimension. At least one pattern should be indicated, if not, the pattern all is the default. By default, weights are not normalized as in Fagiolo, Phys. Rev. E (2007), because they are assumed to be in the range [0,1]. Without the normalized option, the clustering coefficients are not scale invariant. The normalize option rescale all weights into a [0;1] range, and makes the clustering coefficient scale invariant. The default normalization procedure (also accessible by typing normalized(max)) divides all weights (w) by max(w) (See discussion in Saramaki et al. (2007)). Option normalize(sum) normalizes (w) by Sum(w), where Sum(w) is the sum of all the network weights.

Language: Stata
Requires: Stata version 9 and nwcommands from http://www.nwcommands.org
Keywords: network; weighted clustering; complex direct networks (search for similar items in EconPapers)
Date: 2017-02-17
Note: This module should be installed from within Stata by typing "ssc install nw_wcc". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/n/nw_wcc.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/n/nw_wcc.sthlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458305

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-04-14
Handle: RePEc:boc:bocode:s458305