Mixing patterns refer to systematic tendencies of one type of nodes in a network to connect to another type. For instance, nodes might tend to link to others that are very similar or very different. This feature is common in many
social network
A social network is a social structure made up of a set of social actors (such as individuals or organizations), sets of dyadic ties, and other social interactions between actors. The social network perspective provides a set of methods for an ...
s, although it also appears sometimes in non-social networks. Mixing patterns are closely related to
assortativity
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 deg ...
; however, for the purposes of this article, the term is used to refer to assortative or disassortative mixing based on real-world factors, either topological or sociological.
Types of Mixing Patterns
Mixing patterns are a characteristic of an entire network, referring to the extent for nodes to connect to other similar or different nodes. Mixing, therefore, can be classified broadly as assortative or disassortative. ''
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. ...
'' is the tendency for nodes to connect to like nodes, while ''disassortative mixing'' captures the opposite case in which very different nodes are connected.
Obviously, the particular node characteristics involved in the process of creating a link between a pair will shape a network's mixing patterns. For instance, in a
sexual relationship network, one is likely to find a preponderance of male-female links, while in a friendship network male-male and female-female networks might prevail. Examining different sets of node characteristics thus may reveal interesting communities or other structural properties of the network. In principle there are two kinds of methods used to exploit these properties. One is based on analytical calculations by using
generating function
In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary seri ...
techniques. The other is numerical, and is based on
Monte Carlo
Monte Carlo (; ; french: Monte-Carlo , or colloquially ''Monte-Carl'' ; lij, Munte Carlu ; ) is officially an administrative area of the Principality of Monaco, specifically the ward of Monte Carlo/Spélugues, where the Monte Carlo Casino is ...
simulations for the graph generation.
In a study on mixing patterns in networks,
M.E.J. Newman starts by classifying the node characteristics into two categories. While the number of real-world node characteristics is virtually unlimited, they tend to fall under two headings: discrete and scalar/topological. The following sections define the differences between the categories and provide examples of each. For each category, the models of assortatively mixed networks introduced by Newman are discussed in brief.
Mixing Based on Discrete Characteristics
Discrete characteristics of a node are categorical, nominal, or enumerative, and often qualitative. For instance, race, gender, and sexual orientation are commonly examined discrete characteristics.
To measure the mixing of a network on discrete characteristics, Newman
defines a quantity
to be the fraction of edges in a network that connect nodes of type ''i'' to type ''j'' (see Fig. 1). On an undirected network this quantity is symmetric in its indices
, while on directed ones it may be asymmetric. It satisfies the sum rules
,
where
and
are the fractions of each type of an edge's end that is attached to nodes of type
. On undirected graphs, where there is no physical distinction between the ends of a link, i.e. the ends of edges are all of the same type,
.
Then, an ''
assortativity coefficient'', a measure of the similarity's or dissimilarity's strength between two nodes on a set of discrete characteristics may be defined as:
with
This formula yields
when there's no assortative mixing, since
in that case, and
when the network is perfectly assortative. If the network is perfectly disassortative, i.e. every link connects two nodes of different types, then
, which lies in general in the range
. This range for
implies that a perfectly disassortative network is normally closer to a randomly mixed network than a perfectly assortative one is. When there are several different types of nodes, then random mixing will most often pair unlike nodes, so that the network appears to be mostly disassortative. Therefore, it is appropriate that the value
for a random network should be closer to that for the perfectly disassortative network than for the perfectly assortative one.
The method of generating functions is based on the idea of figuring out the proper generating function for the distributions of our interest every time, and extract data related to the networks structure by differentiating them. Assuming that the degree distribution
for nodes of type
and the value of the matrix
(and hence, the values of
and
) are known, then we may consider the ensemble of all graphs with the specified
and
to yield collective (macroscopic) network characteristics. In principle, the generating function for
and its first moment are given by
, and
,
where
the node of type
(
in the number) and
the mean degree for nodes of this type. Now we focus on the distributions that we're interested for.
The distribution of the total number of nodes reachable by following an edge that arrives at a node of type
has a generating function