Degree distribution
In the study of graphs and networks, the degree of a node in a network is the number of connections it has to other nodes and the degree distribution is the probability distribution of these degrees over the whole network. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
In the study of graphs and networks, the degree of a node in a network is the number of connections it has to other nodes and the degree distribution is the probability distribution of these degrees over the whole network. ==Definition== The degree of a node in a network (sometimes referred to incorrectly as the connectivity) is the number of connections or edges the node has to other nodes. If a network is directed, meaning that edges point in one direction from one node to another node, then nodes have two different degrees, the in-degree, which is the number of incoming edges, and the out-degree, which is the number of outgoing edges. The degree distribution P(k) of a network is then defined to be the fraction of nodes in the network with degree k. Thus if there are n nodes in total in a network and n k of them have degree k, we have P(k) = \frac{n_{k}}{n} . The same information is also sometimes presented in the form of a cumulative degree distribution, the fraction of nodes with degree smaller than k, or even the complementary cumulative degree distribution, the fraction of nodes with degree greater than or equal to k (1 - C) if one considers C as the cumulative degree distribution; i.e. the complement of C. P(k) = {n-1\choose k} p^k (1 - p)^{n-1-k}, (or Poisson in the limit of large n, if the average degree \langle k\rangle=p(n-1) is held fixed). Most networks in the real world, however, have degree distributions very different from this. Most are highly right-skewed, meaning that a large majority of nodes have low degree but a small number, known as "hubs", have high degree. Some networks, notably the Internet, the World Wide Web, and some social networks were argued to have degree distributions that approximately follow a power law: P(k)\sim k^{-\gamma} , where γ is a constant. Such networks are called scale-free networks and have attracted particular attention for their structural and dynamical properties. q(k) = \frac{k+1}{\langle k \rangle}P(k+1), where {\langle k \rangle} is the mean-degree (average degree) of the model. It follows from that, that the average degree of the neighbor of any node is greater than the average degree of that node. In social networks, it mean that your friends, on average, have more friends than you. This is famous as the friendship paradox. It can be shown that a network can have a giant component, if its average excess degree is larger than one: \sum_k kq(k) > 1 \Rightarrow {\langle k^2 \rangle}/{\langle k \rangle} - 1 >1 \Rightarrow {\langle k^2 \rangle}-2{\langle k \rangle}>0 Bear in mind that the last two equations are just for the configuration model and to derive the excess degree distribution of a real-word network, we should also add degree correlations into account. G_0(x) = \textstyle \sum_{k} \displaystyle P(k)x^k and G_1(x) = \textstyle \sum_{k} \displaystyle q(k)x^k = \textstyle \sum_{k} \displaystyle \frac{k}{\langle k \rangle}P(k)x^{k-1} G_1(x) can also be obtained from derivatives of G_0(x) : G_1(x) = \frac{G'_0(x)}{G'_0(1)} If we know the generating function for a probability distribution P(k) then we can recover the values of P(k) by differentiating: P(k) = \frac{1}{k!} {\operatorname{d}^k\!G\over\operatorname{d}\!x^k}\biggl \vert _{x=0} Some properties, e.g. the moments, can be easily calculated from G_0(x) and its derivatives: {\langle k \rangle} = G'_0(1) {\langle k^2 \rangle} = G_0(1) + G'_0(1) And in general: {\langle k^m \rangle} = \Biggl[{\bigg(\operatorname{x}{\operatorname{d}\!\over\operatorname{dx}\!}\biggl)^m}G_0(x)\Biggl]_{x=1} For Poisson-distributed random networks, such as the ER graph, G_1(x) = G_0(x) , that is the reason why the theory of random networks of this type is especially simple. The probability distributions for the 1st and 2nd-nearest neighbors are generated by the functions G_0(x) and G_0(G_1(x)) . By extension, the distribution of m -th neighbors is generated by: G_0\bigl(G_1(...G_1(x)...)\bigr) , with m-1 iterations of the function G_1 acting on itself. The average number of 1st neighbors, c_1 , is {\langle k \rangle} = {dG_0(x)\over dx}|_{x=1} and the average number of 2nd neighbors is: c_2 = \biggl[ {d\over dx}G_0\big(G_1(x)\big)\biggl]_{x=1} = G_1'(1)G'_0\big(G_1(1)\big) = G_1'(1)G'_0(1) = G_0(1) \mathcal{G}(x,y) = \sum_{k_{in},k_{out}} \displaystyle P({k_{in},k_{out}})x^{k_{in}}y^{k_{out}} . Since every link in a directed network must leave some node and enter another, the net average number of links entering a node is zero. Therefore, \langle{k_{in}-k_{out}}\rangle =\sum_{k_{in},k_{out}} \displaystyle (k_{in}-k_{out})P({k_{in},k_{out}}) = 0 , which implies that, the generation function must satisfy: {\partial \mathcal{G}\over\partial x}\vert _{x,y=1} = {\partial \mathcal{G}\over\partial y}\vert _{x,y=1} = c, where c is the mean degree (both in and out) of the nodes in the network; \langle{k_{in}}\rangle = \langle{k_{out}}\rangle = c. Using the function \mathcal{G}(x,y) , we can again find the generation function for the in/out-degree distribution and in/out-excess degree distribution, as before. G^{in}_0(x) can be defined as generating functions for the number of arriving links at a randomly chosen node, and G^{in}_1(x) can be defined as the number of arriving links at a node reached by following a randomly chosen link. We can also define generating functions G^{out}_0(y) and G^{out}_1(y) for the number leaving such a node: G^{in}_0(x) = \mathcal{G}(x,1) G^{in}_1(x) = \frac{1}{c} {\partial \mathcal{G}\over\partial x}\vert _{y=1} G^{out}_0(y) = \mathcal{G}(1,y) G^{out}_1(y) = \frac{1}{c} {\partial \mathcal{G}\over\partial y}\vert _{x=1} Here, the average number of 1st neighbors, c , or as previously introduced as c_1 , is {\partial \mathcal{G}\over\partial x}\biggl \vert _{x,y=1} = {\partial \mathcal{G}\over\partial y}\biggl \vert _{x,y=1} and the average number of 2nd neighbors reachable from a randomly chosen node is given by: c_2 = G_1'(1)G'_0(1) ={\partial^2 \mathcal{G}\over\partial x\partial y}\biggl \vert _{x,y=1} . These are also the numbers of 1st and 2nd neighbors from which a random node can be reached, since these equations are manifestly symmetric in x and y .
Cite this
"Degree distribution". 1786456541. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1368876516 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy