Diversity centrality (Eagle, Macy and Claxton 2010) is the Shannon entropy of the weights on the edges incident to a node, divided by its maximum \(\log_2 k_v\): $$D(v) = -\frac{\sum_{j} p_{vj} \log_2 p_{vj}}{\log_2 k_v}, \qquad p_{vj} = \frac{|w_{vj}|}{\sum_{l} |w_{vl}|}.$$ The score lies between 0 and 1 and reaches 1 when the weights are equal.
Arguments
- x
Network input accepted by
centrality.- ...
Further arguments to
centrality, such asdirectedandnormalized.
Details
On a directed network incoming and outgoing edges are separate entries,
and \(k_v\) counts both. With weighted = FALSE, or on an
unweighted input, every node with two or more edges scores 1. A node with fewer than two edges, or
with edge weights summing to zero, scores 0.
References
Eagle, N., Macy, M., & Claxton, R. (2010). Network diversity and economic development. Science, 328(5981), 1029-1031. doi:10.1126/science.1186605 .
