Skip to contents

Compute the betweenness centrality with auxiliary information based on strongest path (SP).

Usage

btw(adjmat, gross, aux, alpha = 1, type = "consumption")

Arguments

adjmat

An n-by-n numerical matrix representing the matrix of intermediate transactions in the input-output table.

gross

An n-dimensional numerical vector representing the gross input/output.

aux

An n-dimensional numerical vector representing the node-specific auxiliary information.

alpha

A scalar (default = 1) between 0 and 1, representing the tuning parameter that controls the weights for SP strength and auxiliary information.

type

A character string specifying the type of SP to calculate. Available options:

  • type = "consumption" / type = "pull" (default)

  • type = "distribution" / type = "push"

Value

A list of betweeness score, associated SPs, SP distance and SP strength.

References

Xiao, S., Yan, J. and Zhang, P. (2022). Incorporating Auxiliary Information in Betweenness Measure for Input-Output Networks. Physica A: Statistical Mechanics and its Applications, 607, 128200.