Assortativity, or assortative mixing is a preference for a network's nodes to attach to others that are similar in some way. Though the specific measure of similarity may vary, network theorists often examine assortativity in terms of a node's degree. The addition of this characteristic to network models more closely approximates the behaviors of many real world networks. 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. The assortativity coefficient is given by. The term is the distribution of the remaining degree. This captures the number of edges leaving the node, other than the one that connects the pair. The distribution of this term is derived from the degree distribution as. Finally, refers to the joint probability distribution of the remaining degrees of the two vertices. This quantity is symmetric on an undirected graph, and follows the sum rules and. In a Directed graph, in-assortativity and out-assortativity 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. Adopting the notation of that article, it is possible to define four metrics,,, and. Let, be one of the in/out word pairs. Let be the number of edges in the network. Suppose we label the edges of the network. Given edge, let be the -degree of the source node vertex of the edge, and be the -degree of the target node of edge. We indicate average values with bars, so that, and are the average -degree of sources, and -degree of targets, respectively; averages being taken over the edges of the network. Finally, we have
Neighbor connectivity
Another means of capturing the degree correlation is by examining the properties of, or the average degree of neighbors of a node with degree k. This term is formally defined as:, where 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. The function can be plotted on a graph to depict the overall assortativity trend for a network.
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, Where is the excess degree of a particular node and 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 is defined as, Where is the out-degree of the node under consideration and is the in-degree, is the average in-degree of its neighbors (to which node
The assortative patterns of a variety of real world networks have been examined. For instance, Fig. 3 lists values of r for a variety of networks. Note that the social networks have apparent assortative mixing. On the other hand, the technological and biological networks all appear to be disassortative. It has been suggested that this is because most networks have a tendency to evolve, unless otherwise constrained, towards their maximum entropy state—which is usually disassortative. The table also has the value of r calculated analytically for two models of networks:
In the ER model, since edges are placed at random without regard to vertex degree, it follows that r = 0 in the limit of large graph size. The scale-free BA model also holds this property. For the BA model in the special case of m=1, we have as in the limit of large .
Application
The properties of assortativity are useful in the field of epidemiology, since they can help understand the spread of disease or cures. For instance, the removal of a portion of a network's vertices may correspond to curing, vaccinating, or quarantining individuals or cells. Since social networks demonstrate assortative mixing, diseases targeting high degree individuals are likely to spread to other high degree nodes. Alternatively, within the cellular network—which, as a biological network is likely dissortative—vaccination strategies that specifically target the high degree vertices may quickly destroy the epidemic network.
Structural disassortativity
The basic structure of a network can cause these measures to show disassortativity, which is not representative of any underlying assortative or disassortative mixing. Special caution must be taken to avoid this structural disassortativity.