Diversity coefficient
Diversity coefficient
is a variation of the participation coefficient based on Shannon entropy [2]. It quantifies the distribution of a node's connections across different communities in a network with a community structure. Let the graph \(G\) consist of \(K\) communities \(C_1, \ldots, C_K\). The diversity coefficient of node \(i\) is defined as
\begin{equation*}
c_{\mathrm{diversity}}(i) = - \sum_{s=1}^{K} p_s(i) \log p_s(i),
\end{equation*}
where
\[
p_s(i) = \frac{d_{is}}{d_i}
\]
denotes the fraction of links of node \(i\) connecting to community \(C_s\), with \(d_i\) representing the total degree of node \(i\).
Nodes with high diversity coefficients have connections spread across many communities, indicating they serve as bridges between modules, whereas nodes with low diversity coefficients have connections concentrated within a single community.