Clustering coefficient
In graph theory, a clustering coefficient is a measure of the degree to which nodes in a graph tend to cluster together. Evidence suggests that in most real-world networks, and in particular social networks, nodes tend to create tightly knit groups characterised by a relatively high density of ties; this likelihood tends to be greater than the average probability of a tie randomly established between two nodes (Holland and Leinhardt, 1971;[1] Watts and Strogatz, 1998[2]).
Two versions of this measure exist: the global and the local. The global version was designed to give an overall indication of the clustering in the network, whereas the local gives an indication of the embeddedness of single nodes.
Local clustering coefficient
The local clustering coefficient of a vertex (node) in a graph quantifies how close its neighbours are to being a clique (complete graph). Duncan J. Watts and Steven Strogatz introduced the measure in 1998 to determine whether a graph is a small-world network.
A graph [math]\displaystyle{ G=(V,E) }[/math] formally consists of a set of vertices [math]\displaystyle{ V }[/math] and a set of edges [math]\displaystyle{ E }[/math] between them. An edge [math]\displaystyle{ e_{ij} }[/math] connects vertex [math]\displaystyle{ v_i }[/math] with vertex [math]\displaystyle{ v_j }[/math].
The neighbourhood [math]\displaystyle{ N_i }[/math] for a vertex [math]\displaystyle{ v_i }[/math] is defined as its immediately connected neighbours as follows:
- [math]\displaystyle{ N_i = \{v_j : e_{ij} \in E \lor e_{ji} \in E\}. }[/math]
We define [math]\displaystyle{ k_i }[/math] as the number of vertices, [math]\displaystyle{ |N_i| }[/math], in the neighbourhood, [math]\displaystyle{ N_i }[/math], of vertex [math]\displaystyle{ v_i }[/math].
The local clustering coefficient [math]\displaystyle{ C_i }[/math] for a vertex [math]\displaystyle{ v_i }[/math] is then given by a proportion of the number of links between the vertices within its neighbourhood divided by the number of links that could possibly exist between them. For a directed graph, [math]\displaystyle{ e_{ij} }[/math] is distinct from [math]\displaystyle{ e_{ji} }[/math], and therefore for each neighbourhood [math]\displaystyle{ N_i }[/math] there are [math]\displaystyle{ k_i(k_i-1) }[/math] links that could exist among the vertices within the neighbourhood ([math]\displaystyle{ k_i }[/math] is the number of neighbours of a vertex). Thus, the local clustering coefficient for directed graphs is given as [2]
- [math]\displaystyle{ C_i = \frac{|\{e_{jk}: v_j,v_k \in N_i, e_{jk} \in E\}|}{k_i(k_i-1)}. }[/math]
An undirected graph has the property that [math]\displaystyle{ e_{ij} }[/math] and [math]\displaystyle{ e_{ji} }[/math] are considered identical. Therefore, if a vertex [math]\displaystyle{ v_i }[/math] has [math]\displaystyle{ k_i }[/math] neighbours, [math]\displaystyle{ \frac{k_i(k_i-1)}{2} }[/math] edges could exist among the vertices within the neighbourhood. Thus, the local clustering coefficient for undirected graphs can be defined as
- [math]\displaystyle{ C_i = \frac{2|\{e_{jk}: v_j,v_k \in N_i, e_{jk} \in E\}|}{k_i(k_i-1)}. }[/math]
Let [math]\displaystyle{ \lambda_G(v) }[/math] be the number of triangles on [math]\displaystyle{ v \in V(G) }[/math] for undirected graph [math]\displaystyle{ G }[/math]. That is, [math]\displaystyle{ \lambda_G(v) }[/math] is the number of subgraphs of [math]\displaystyle{ G }[/math] with 3 edges and 3 vertices, one of which is [math]\displaystyle{ v }[/math]. Let [math]\displaystyle{ \tau_G(v) }[/math] be the number of triples on [math]\displaystyle{ v \in G }[/math]. That is, [math]\displaystyle{ \tau_G(v) }[/math] is the number of subgraphs (not necessarily induced) with 2 edges and 3 vertices, one of which is [math]\displaystyle{ v }[/math] and such that [math]\displaystyle{ v }[/math] is incident to both edges. Then we can also define the clustering coefficient as
- [math]\displaystyle{ C_i = \frac{\lambda_G(v)}{\tau_G(v)}. }[/math]
It is simple to show that the two preceding definitions are the same, since
- [math]\displaystyle{ \tau_G(v) = C({k_i},2) = \frac{1}{2}k_i(k_i-1). }[/math]
These measures are 1 if every neighbour connected to [math]\displaystyle{ v_i }[/math] is also connected to every other vertex within the neighbourhood, and 0 if no vertex that is connected to [math]\displaystyle{ v_i }[/math] connects to any other vertex that is connected to [math]\displaystyle{ v_i }[/math].
Since any graph is fully specified by its adjacency matrix A, the local clustering coefficient for a simple undirected graph can be expressed in terms of A as:[3]
- [math]\displaystyle{ C_i=\frac{1}{k_i(k_i-1)}\sum_{j,k} A_{ij}A_{jk}A_{ki} }[/math]
where:
- [math]\displaystyle{ k_i=\sum_j A_{ij} }[/math]
and Ci=0 when ki is zero or one. In the above expression, the numerator counts twice the number of complete triangles that vertex i is involved in. In the denominator, ki2 counts the number of edge pairs that vertex i is involved in plus the number of single edges traversed twice. ki is the number of edges connected to vertex i, and subtracting ki then removes the latter, leaving only a set of edge pairs that could conceivably be connected into triangles. For every such edge pair, there will be another edge pair which could form the same triangle, so the denominator counts twice the number of conceivable triangles that vertex i could be involved in.
Global clustering coefficient
The global clustering coefficient is based on triplets of nodes. A triplet is three nodes that are connected by either two (open triplet) or three (closed triplet) undirected ties. A triangle graph therefore includes three closed triplets, one centered on each of the nodes (n.b. this means the three triplets in a triangle come from overlapping selections of nodes). The global clustering coefficient is the number of closed triplets (or 3 x triangles) over the total number of triplets (both open and closed). The first attempt to measure it was made by Luce and Perry (1949).[4] This measure gives an indication of the clustering in the whole network (global), and can be applied to both undirected and directed networks (often called transitivity, see Wasserman and Faust, 1994, page 243[5]).
The global clustering coefficient is defined as:
- [math]\displaystyle{ C = \frac{\mbox{number of closed triplets}}{\mbox{number of all triplets (open and closed)}} }[/math].
The number of closed triplets has also been referred to as 3 × triangles in the literature, so:
- [math]\displaystyle{ C = \frac{3 \times \mbox{number of triangles}}{\mbox{number of all triplets}} }[/math].
A generalisation to weighted networks was proposed by Opsahl and Panzarasa (2009),[6] and a redefinition to two-mode networks (both binary and weighted) by Opsahl (2009).[7]
Since any simple graph is fully specified by its adjacency matrix A, the global clustering coefficient for an undirected graph can be expressed in terms of A as:
- [math]\displaystyle{ C=\frac{\sum_{i,j,k} A_{ij}A_{jk}A_{ki}}{\sum_i k_i(k_i-1)} }[/math]
where:
- [math]\displaystyle{ k_i=\sum_j A_{ij} }[/math]
and C=0 when the denominator is zero.
Network average clustering coefficient
As an alternative to the global clustering coefficient, the overall level of clustering in a network is measured by Watts and Strogatz[2] as the average of the local clustering coefficients of all the vertices [math]\displaystyle{ n }[/math] :[8]
- [math]\displaystyle{ \bar{C} = \frac{1}{n}\sum_{i=1}^{n} C_i. }[/math]
It is worth noting that this metric places more weight on the low degree nodes, while the transitivity ratio places more weight on the high degree nodes.
A generalisation to weighted networks was proposed by Barrat et al. (2004),[9] and a redefinition to bipartite graphs (also called two-mode networks) by Latapy et al. (2008)[10] and Opsahl (2009).[7]
Alternative generalisations to weighted and directed graphs have been provided by Fagiolo (2007)[11] and Clemente and Grassi (2018).[12]
This formula is not, by default, defined for graphs with isolated vertices; see Kaiser (2008)[13] and Barmpoutis et al.[14] The networks with the largest possible average clustering coefficient are found to have a modular structure, and at the same time, they have the smallest possible average distance among the different nodes.[14]
Percolation of clustered networks
For a random tree-like network without degree-degree correlation, it can be shown that such network can have a giant component, and the percolation threshold (transmission probability) is given by [math]\displaystyle{ p_c = \frac{1}{g_1'(1)} }[/math], where [math]\displaystyle{ g_1(z) }[/math] is the generating function corresponding to the excess degree distribution.
In networks with low clustering, [math]\displaystyle{ 0 \lt C \ll 1 }[/math], the critical point gets scaled by [math]\displaystyle{ (1-C)^{-1} }[/math] such that:
[math]\displaystyle{ p_c = \frac{1}{1-C}\frac{1}{g_1'(1)}. }[/math][15]
This indicates that for a given degree distribution, the clustering leads to a larger percolation threshold, mainly because for a fixed number of links, the clustering structure reinforces the core of the network with the price of diluting the global connections. For networks with high clustering, strong clustering could induce the core–periphery structure, in which the core and periphery might percolate at different critical points, and the above approximate treatment is not applicable.[16]
For studying the robustness of clustered networks a percolation approach is developed.[17][18]
See also
- Directed graph
- Graph theory
- Network theory
- Network science
- Percolation theory
- Scale free network
- Small world
References
- ↑ P. W. Holland; S. Leinhardt (1971). "Transitivity in structural models of small groups". Comparative Group Studies 2 (2): 107–124. doi:10.1177/104649647100200201.
- ↑ 2.0 2.1 2.2 D. J. Watts; Steven Strogatz (June 1998). "Collective dynamics of 'small-world' networks". Nature 393 (6684): 440–442. doi:10.1038/30918. PMID 9623998. Bibcode: 1998Natur.393..440W.
- ↑ Wang, Yu; Ghumare, Eshwar; Vandenberghe, Rik; Dupont, Patrick (2017). "Comparison of Different Generalizations of Clustering Coefficient and Local Efficiency for Weighted Undirected Graphs". Neural Computation 29 (2): 313–331. doi:10.1162/NECO_a_00914. PMID 27870616. https://www.mitpressjournals.org/. Retrieved August 8, 2020.
- ↑ R. D. Luce; A. D. Perry (1949). "A method of matrix analysis of group structure". Psychometrika 14 (1): 95–116. doi:10.1007/BF02289146. PMID 18152948.
- ↑ Stanley Wasserman, Katherine Faust, 1994. Social Network Analysis: Methods and Applications. Cambridge: Cambridge University Press.
- ↑ Tore Opsahl; Pietro Panzarasa (2009). "Clustering in Weighted Networks". Social Networks 31 (2): 155–163. doi:10.1016/j.socnet.2009.02.002. http://toreopsahl.com/2009/04/03/article-clustering-in-weighted-networks/. Retrieved 2009-06-11.
- ↑ 7.0 7.1 Tore Opsahl (2009). "Clustering in Two-mode Networks". Conference and Workshop on Two-Mode Social Analysis (Sept 30-Oct 2, 2009). http://toreopsahl.com/2009/09/11/clustering-in-two-mode-networks/. Retrieved September 11, 2009.
- ↑ Kemper, Andreas (2009). Valuation of Network Effects in Software Markets: A Complex Networks Approach. Springer. p. 142. ISBN 9783790823660. https://books.google.com/books?id=isdza0IiXbUC&pg=PA142.
- ↑ Barrat, A.; Barthelemy, M.; Pastor-Satorras, R.; Vespignani, A. (2004). "The architecture of complex weighted networks". Proceedings of the National Academy of Sciences 101 (11): 3747–3752. doi:10.1073/pnas.0400087101. PMID 15007165. Bibcode: 2004PNAS..101.3747B.
- ↑ Latapy, M.; Magnien, C.; Del Vecchio, N. (2008). "Basic Notions for the Analysis of Large Two-mode Networks". Social Networks 30 (1): 31–48. doi:10.1016/j.socnet.2007.04.006. https://hal.archives-ouvertes.fr/hal-01146080/file/Latapy2008.pdf.
- ↑ Fagiolo, G. (2007). "Clustering in complex directed networks". Physical Review E 76 (2 Pt 2): 026107. doi:10.1103/PhysRevE.76.026107. PMID 17930104.
- ↑ Clemente, G.P.; Grassi, R. (2018). "Directed clustering in weighted networks: A new perspective". Chaos, Solitons & Fractals 107: 26–38. doi:10.1016/j.chaos.2017.12.007. Bibcode: 2018CSF...107...26C.
- ↑ Kaiser, Marcus (2008). "Mean clustering coefficients: the role of isolated nodes and leafs on clustering measures for small-world networks". New Journal of Physics 10 (8): 083042. doi:10.1088/1367-2630/10/8/083042. Bibcode: 2008NJPh...10h3042K.
- ↑ 14.0 14.1 Barmpoutis, D.; Murray, R. M. (2010). "Networks with the Smallest Average Distance and the Largest Average Clustering". arXiv:1007.4031 [q-bio.MN].
- ↑ Berchenko, Yakir; Artzy-Randrup, Yael; Teicher, Mina; Stone, Lewi (2009-03-30). "Emergence and Size of the Giant Component in Clustered Random Graphs with a Given Degree Distribution" (in en). Physical Review Letters 102 (13): 138701. doi:10.1103/PhysRevLett.102.138701. ISSN 0031-9007. PMID 19392410. https://link.aps.org/doi/10.1103/PhysRevLett.102.138701. Retrieved 2022-02-24.
- ↑ Berchenko, Yakir; Artzy-Randrup, Yael; Teicher, Mina; Stone, Lewi (2009-03-30). "Emergence and Size of the Giant Component in Clustered Random Graphs with a Given Degree Distribution" (in en). Physical Review Letters 102 (13): 138701. doi:10.1103/PhysRevLett.102.138701. ISSN 0031-9007. PMID 19392410. https://link.aps.org/doi/10.1103/PhysRevLett.102.138701. Retrieved 2022-02-24.
- ↑ M. E. J. Newman (2009). "Random Graphs with Clustering". Phys. Rev. Lett. 103 (5): 058701. doi:10.1103/PhysRevLett.103.058701. PMID 19792540.
- ↑ A. Hackett; S. Melnik; J. P. Gleeson (2011). "Cascades on a class of clustered random networks". Phys. Rev. E 83 (5 Pt 2): 056107. doi:10.1103/PhysRevE.83.056107. PMID 21728605.
External links
Original source: https://en.wikipedia.org/wiki/Clustering coefficient.
Read more |