Lably
Skip to content

Assortativity

Tendency for similar nodes to be connected

  • 5 min read
  • 4 chapters

Related on Lably

Through Social network, Correlation and Pearson correlation coefficient

Correlations between nodes of similar degree are often found in the mixing patterns of many observable networks. For instance, in social networks, nodes tend to be connected with other nodes with similar degree values. This tendency is referred to as assortative mixing, or assortativity. On the other hand, technological and biological networks typically show disassortative mixing, or disassortativity, as high degree nodes tend to attach to low degree nodes.

Measurement

Assortativity is often operationalized as a correlation between two nodes. However, there are several ways to capture such a correlation. The two most prominent measures are the assortativity coefficient and the neighbor connectivity. These measures are outlined in more detail below.

Assortativity coefficient

The assortativity coefficient is the Pearson correlation coefficient of degree between pairs of linked nodes. Positive values of r indicate a correlation between nodes of similar degree, while negative values indicate relationships between nodes of different degree. In general, r lies between −1 and 1. When r=1, the network is said to have perfect assortative mixing patterns, when r=0 the network is non-assortative, while at r=−1 the network is completely disassortative.

For undirected networks, the assortativity coefficient can be written as

r=∑j,kjk(ejk−qjqk)σq2.

In this expression, the indices j and k denote possible values of the remaining degree, which is defined as the degree of a node minus one (i.e., the number of edges leaving a node other than the edge currently under consideration).

The quantity qk is the probability that a randomly chosen end of an edge is attached to a node with remaining degree k. Because nodes with higher degree contribute proportionally more edge ends, qk is derived from the degree distribution pk as

qk=(k+1)pk+1∑jjpj.

The term ejk is the joint probability distribution of the remaining degrees at the two ends of a randomly chosen edge. It is obtained by examining all edges in the network, counting how often the pair (j,k) of remaining degrees occurs, and normalizing these counts so that

∑j,kejk=1.

By construction, the marginals of ejk reproduce the distribution qk

∑jejk=qk.

With these definitions, the expression above is exactly the Pearson correlation coefficient of the remaining degrees at the endpoints of edges.


In a directed graph, in-assortativity (r(in,in)) and out-assortativity (r(out,out)) measure the tendencies of nodes to connect with other nodes that have similar in and out degrees as themselves, respectively. Extending this further, four types of assortativity can be considered (see ). Adopting the notation of that article, it is possible to define four metrics r(in,in), r(in,out), r(out,in), and r(out,out). Let (α,β), be one of the in/out word pairs (e.g. (α,β)=(out,in)). Let E be the number of edges in the network. Suppose we label the edges of the network 1,…,E. Given edge i, let jiα be the α-degree of the source (i.e. tail) node vertex of the edge, and kiβ be the β-degree of the target (i.e. head) node of edge i. We indicate average values with bars, so that jα¯, and kβ¯ are the average α-degree of sources, and β-degree of targets, respectively; averages being taken over the edges of the network. Finally, we have

r(α,β)=∑i(jiα−jα¯)(kiβ−kβ¯)∑i(jiα−jα¯)2∑i(kiβ−kβ¯)2.

Neighbor connectivity

Another means of capturing the degree correlation is by examining the properties of ⟨knn⟩, or the average degree of neighbors of a node with degree k. This term is formally defined as: ⟨knn⟩=∑k′k′P(k′|k), where P(k′|k) is the conditional probability that an edge of node with degree k points to a node with degree k'. If this function is increasing, the network is assortative, since it shows that nodes of high degree connect, on average, to nodes of high degree. Alternatively, if the function is decreasing, the network is disassortative, since nodes of high degree tend to connect to nodes of lower degree.

Local assortativity

In assortative networks, there could be nodes that are disassortative and vice versa. A local assortative measure is required to identify such anomalies within networks. Local assortativity is defined as the contribution that each node makes to the network assortativity. Local assortativity in undirected networks is defined as,

ρ=j(j+1)(k¯−μq)2Mσq2

Where j is the excess degree of a particular node and k¯ is the average excess degree of its neighbors and M is the number of links in the network.

Respectively, local assortativity for directed networks is a node's contribution to the directed assortativity of a network. A node's contribution to the assortativity of a directed network rd is defined as, ρd=jout2(k¯in−μqin)+jin2(k¯out−μqout)2Mσqinσqout

Where jout is the out-degree of the node under consideration and jin is the in-degree, k¯in is the average in-degree of its neighbors (to which node v} has an edge) and k¯out is the average out-degree of its neighbors (from which node v has an edge).σqin≠0,σqout≠0.

By including the scaling terms σqin and σqout , we ensure that the equation for local assortativity for a directed network satisfies the condition rd=∑i=1Nρd.

Further, based on whether the in-degree or out-degree distribution is considered, it is possible to define local in-assortativity and local out-assortativity as the respective local assortativity measures in a directed network.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Topics in mathematics