Assortativity in networks refers to a correlation pattern observed in real-world networks where nodes are preferentially connected to other nodes that are like (or unlike) them in some way. This is essentially a bias in connection preference.
--ChatGPT4
A related term is assortative mixing:
In the study of complex networks, assortative mixing, or assortativity, is a bias in favor of connections between network nodes with similar characteristics. In the specific case of social networks, assortative mixing is also known as homophily. The rarer disassortative mixing is a bias in favor of connections between dissimilar nodes.
--Wikipedia, Assortative Mixing
This can be summarized via the assortativity coefficient.
The assortativity coefficient is the Pearson correlation coefficient of degree between pairs of linked nodes.
--Wikipedia, Assortativity
Pearson's is the covariance of two distributions divided by the product of their standard deviations. Assortativity adapts it for pairs of nodes while accounting for the degree of each node.
One type of assortativity is degree assortativity, which measures to what extent nodes connect to other nodes with similar degrees.
It ranges from -1 to 1. We will use the NetworkX API nx.algorithms.assortativity.degree_assortativity_coefficient to compute it.
The value for degree assortativity we compute below of 0.00172 indicates that overall nodes often associate with similar or dissimilar nodes by degree in roughly equal proportions. There is no correlation between the degree of nodes and their tendency to connect.
In a citation network, a higher assortativity can mean that papers with many citations (high degree nodes) tend to cite other papers with many citations. This could reflect a phenomenon where "popular" or foundational papers are often cited together. A lower assortativity might suggest that highly-cited papers are citing less-cited papers, indicating a wider dispersion of references and potentially more novel research that builds on less well-known work.
--ChatGPT4 and Russell Jurney