xtranat

The functions in the ‘xtranat’ package are based on random walks. They compute Counting Betweenness and Random Walk Centrality. It also computes the intermediate measure Mean First Pass Time.

Mean First Pass Time

In metrics based on random walks, MFPT (mean first pass time) from node i to node j is the expected number of steps it takes for the process to reach node j from node i for the first time.

Random Walk Centrality

RWC (random walk centrality) of a node is the node’s inverse of MFPT (mean first pass time).

Counting Betweenness

CB (counting betweenness) is a measure of a node’s involvement in the paths connecting other nodes. The more paths a node participates in, the more relevant as a connector (or conduit) in the network.

An Example of Metrics from igraph and xtranat (using normalized values)

Network graph

Applied to a random network with ten nodes and four randomly located loops. This is a dense, weigthed network.

Table with values of network metrics from igraph and xtranat
Eigenvector
Centrality
(igraph)
Random Walk
Centrality
(xtranat)
Closeness
Betwenness
(igraph)
Counting
Betwenness
(xtranat)
1 0.5507 0.5951 0.8733 0.4411
2 0.5041 0.7471 0.4085 0.6964
3 0.7471 0.7494 0.6466 0.7045
4 0.6917 0.0000 0.0000 0.0000
5 1.0000 0.9885 0.4305 1.0000
6 0.5488 0.8987 0.7917 0.6396
7 0.0000 0.8922 0.5976 0.0978
8 0.4957 0.9258 1.0000 0.1577
9 0.7556 1.0000 0.2509 0.5232
10 0.6996 0.9975 0.0571 0.2070

Closing Comments

We developed these metrics in DePaolis, F., Murphy, P. & De Paolis Kaluza, M.C. “Identifying key sectors in the regional economy: a network analysis approach using input–output data,” Appl Netw Sci 7, 86 (2022).Link. Some of the theoretical foundations are in Blöchl F, Theis FJ, Vega-Redondo F, and Fisher E. “Vertex Centrality in Input-Output Networks Reveal the Structure of Modern Economies,” Physical Review E 83(4):046127, 2011.Link

back to top