All Topics  
Centrality

 

   Email Print
   Bookmark   Link






 

Centrality



 
 
Within graph theory
Graph theory

In mathematics and computer science, graph theory is the study of graph : mathematical structures used to model pairwise relations between objects from a certain collection....
 and network analysis
Network analysis

Network analysis can refer to:* Analysis of general networks: see network theory.* Electrical network analysis see Network analysis .* Social network analysis....
, there are various measures of the centrality of a vertex
Vertex (graph theory)

In graph theory, a vertex or node is the fundamental unit out of which graphs are formed: an undirected graph consists of a set of vertices and a set of edges , while a directed graph consists of a set of vertices and a set of arcs ....
 within a graph
Graph (mathematics)

In mathematics a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected objects are represented by mathematical abstractions called vertices, and the links that connect some pairs of vertices are called edges....
 that determine the relative importance of a vertex within the graph (for example, how important a person is within a social network
Social network

A social network is a social structure made of nodes that are tied by one or more specific types of interdependency, such as values, visions, ideas, financial exchange, friendship, sexual network, kinship, dislike, conflict or trade....
, or, in the theory of space syntax
Space syntax

The term space syntax encompasses a set of theories and techniques for the analysis of spatial configurations. Originally it was conceived by Bill Hillier, Julienne Hanson and colleagues at The Bartlett, University College London in the late 1970s to early 1980s as a tool to help architects simulate the likely social effects of their designs...
, how important a room is within a building or how well-used a road is within an urban network).

There are four measures of centrality that are widely used in network analysis: degree centrality, betweenness, closeness, and eigenvector centrality.

first, and simplest, is degree centrality.






Discussion
Ask a question about 'Centrality'
Start a new discussion about 'Centrality'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Within graph theory
Graph theory

In mathematics and computer science, graph theory is the study of graph : mathematical structures used to model pairwise relations between objects from a certain collection....
 and network analysis
Network analysis

Network analysis can refer to:* Analysis of general networks: see network theory.* Electrical network analysis see Network analysis .* Social network analysis....
, there are various measures of the centrality of a vertex
Vertex (graph theory)

In graph theory, a vertex or node is the fundamental unit out of which graphs are formed: an undirected graph consists of a set of vertices and a set of edges , while a directed graph consists of a set of vertices and a set of arcs ....
 within a graph
Graph (mathematics)

In mathematics a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected objects are represented by mathematical abstractions called vertices, and the links that connect some pairs of vertices are called edges....
 that determine the relative importance of a vertex within the graph (for example, how important a person is within a social network
Social network

A social network is a social structure made of nodes that are tied by one or more specific types of interdependency, such as values, visions, ideas, financial exchange, friendship, sexual network, kinship, dislike, conflict or trade....
, or, in the theory of space syntax
Space syntax

The term space syntax encompasses a set of theories and techniques for the analysis of spatial configurations. Originally it was conceived by Bill Hillier, Julienne Hanson and colleagues at The Bartlett, University College London in the late 1970s to early 1980s as a tool to help architects simulate the likely social effects of their designs...
, how important a room is within a building or how well-used a road is within an urban network).

There are four measures of centrality that are widely used in network analysis: degree centrality, betweenness, closeness, and eigenvector centrality.

Degree centrality

The first, and simplest, is degree centrality. Degree centrality is defined as the number of links incident upon a node (i.e., the number of ties that a node has). Degree is often interpreted in terms of the immediate risk of node for catching whatever is flowing through the network (such as a virus, or some information). If the network is directed (meaning that ties have direction), then we usually define two separate measures of degree centrality, namely indegree and outdegree. Indegree is a count of the number of ties directed to the node, and outdegree is the number of ties that the node directs to others. For positive relations such as friendship or advice, we normally interpret indegree as a form of popularity, and outdegree as gregariousness.

For a graph with n vertices, the degree centrality for vertex is:

Calculating degree centrality for all nodes in a graph takes in a dense adjacency matrix
Adjacency matrix

In mathematics and computer science, the adjacency matrix of a finite set directed or undirected graph G on n vertices is the n × n matrix where the nondiagonal entry is the number of edges from vertex i to vertex j, and the diagonal entry is either twice the number of loops at vertex i or just the number o...
 representation of the graph, and for edges in a graph takes in a sparse matrix
Sparse matrix

In the mathematics subfield of numerical analysis a sparse matrix is a matrix populated primarily with zeros .Conceptually, sparsity corresponds to systems which are loosely coupled....
 representation.

The definition of centrality can be extended to graphs. Let be the node with highest degree centrality in . Let be the node connected graph that maximizes the following quantity:

Then the degree centrality of the graph is defined as follows:

is maximized when the graph contains one node that is connected to all other nodes and all other nodes are connected only to this one central node. In this case so the degree centrality of reduces to:

Betweenness centrality


Betweenness is a centrality
Centrality

Within graph theory and network analysis, there are various measures of the centrality of a vertex within a graph that determine the relative importance of a vertex within the graph ....
 measure of a vertex
Vertex (graph theory)

In graph theory, a vertex or node is the fundamental unit out of which graphs are formed: an undirected graph consists of a set of vertices and a set of edges , while a directed graph consists of a set of vertices and a set of arcs ....
 within a graph
Graph (mathematics)

In mathematics a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected objects are represented by mathematical abstractions called vertices, and the links that connect some pairs of vertices are called edges....
 (there is also edge betweenness, which is not discussed here). Vertices that occur on many shortest paths
Shortest path problem

In graph theory, the shortest path problem is the problem of finding a path between two vertex such that the sum of the Glossary of graph theory#Weighted graphs and networks of its constituent edges is minimized....
 between other vertices have higher betweenness than those that do not.

For a graph with n vertices, the betweenness for vertex is:

where is the number of shortest geodesic paths from s to t, and is the number of shortest geodesic paths from s to t that pass through a vertex v. This may be normalised by dividing through the number of pairs of vertices not including v, which is .

Calculating the betweenness and closeness centralities of all the vertices in a graph involves calculating the shortest paths between all pairs of vertices on a graph. This takes time with the Floyd–Warshall algorithm, modified to not only find one but count all shortest paths between two nodes. On a sparse graph, Johnson's algorithm
Johnson's algorithm

Johnson's algorithm is a way to find shortest paths between all-pairs shortest path problem in a sparse graph directed graph. It allows some of the edge weighted graph to be negative numbers, but no negative-weight cycle may exist....
 may be more efficient, taking
Big O notation

In mathematics, big O notation describes the asymptotic analysis of a function when the argument tends towards a particular value or infinity, usually in terms of simpler functions....
 time. On unweighted graphs, calculating betweenness centrality takes
Big O notation

In mathematics, big O notation describes the asymptotic analysis of a function when the argument tends towards a particular value or infinity, usually in terms of simpler functions....
 time using Brandes' algorithm .

Closeness centrality

In topology
Topology

Topology is a major area of mathematics that has emerged through the development of concepts from geometry and set theory, such as those of space, dimension, shape, transformation and others....
 and related areas in mathematics, closeness is one of the basic concepts in a topological space. Intuitively we say two sets are close if they are arbitrarily near to each other. The concept can be defined naturally in a metric space
Metric space

In mathematics, a metric space is a Set where a notion of distance between elements of the set is defined.The metric space which most closely corresponds to our intuitive understanding of space is the 3-dimensional Euclidean space....
 where a notion of distance between elements of the space is defined, but it can be generalized to topological spaces where we have no concrete way to measure distances.

In graph theory
Graph theory

In mathematics and computer science, graph theory is the study of graph : mathematical structures used to model pairwise relations between objects from a certain collection....
 closeness is a centrality measure of a vertex
Vertex (graph theory)

In graph theory, a vertex or node is the fundamental unit out of which graphs are formed: an undirected graph consists of a set of vertices and a set of edges , while a directed graph consists of a set of vertices and a set of arcs ....
 within a graph
Graph (mathematics)

In mathematics a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected objects are represented by mathematical abstractions called vertices, and the links that connect some pairs of vertices are called edges....
. Vertices that are 'shallow' to other vertices (that is, those that tend to have short geodesic distances to other vertices with in the graph) have higher closeness. Closeness is preferred in network analysis
Network analysis

Network analysis can refer to:* Analysis of general networks: see network theory.* Electrical network analysis see Network analysis .* Social network analysis....
 to mean shortest-path length, as it gives higher values to more central vertices, and so is usually positively associated with other measures such as degree
Degree (graph theory)

In graph theory, the degree of a vertex of a graph is the number of edge incidence to the vertex. The degree of a vertex is denoted The maximum degree of a graph G, denoted by ?, is the maximum degree of its vertices, and the minimum degree of a graph, denoted by d, is the minimum degree of its vertices....
.

In the network theory, closeness is a sophisticated measure of centrality. It is defined as the mean geodesic distance (i.e the shortest path
Shortest path problem

In graph theory, the shortest path problem is the problem of finding a path between two vertex such that the sum of the Glossary of graph theory#Weighted graphs and networks of its constituent edges is minimized....
) between a vertex v and all other vertices reachable from it:

where is the size of the network's 'connectivity component' V reachable from v. Closeness can be regarded as a measure of how long it will take information to spread from a given vertex to other reachable vertices in the network.

Some define closeness to be the reciprocal of this quantity, but either ways the information communicated is the same (this time estimating the speed instead of the timespan). The closeness for a vertex is the reciprocal of the sum of geodesic distance
Distance (graph theory)

In the mathematics field of graph theory, the distance between two vertex in a graph is the number of edges in a shortest path problem connecting them....
s to all other vertices of V:

Different methods and algorithms can be introduced to measure closeness, like the random-walk centrality introduced by Noh and Rieger (2003) that is a measure of the speed with which randomly walking messages reach a vertex from elsewhere in the network—a sort of random-walk version of closeness centrality.

The information centrality of Stephenson and Zelen (1989) is another closeness measure, which bears some similarity to that of Noh and Rieger. In essence it measures the harmonic mean length of paths ending at a vertex i, which is smaller if i has many short paths connecting it to other vertices.

Dangalchev (2006), in order to measure the network vulnerability, modifies the definition for closeness so it can be used for disconnected graphs and the total closeness is easier to calculate:

Eigenvector centrality

Eigenvector centrality is a measure of the importance of a node
Node (networking)

In communication networks, a node is an active electronic device that is attached to a network, and is capable of sending, receiving, or forwarding information over a communications channel....
 in a network
Network (mathematics)

In graph theory, a network is a Directed graph with weighted edges. These networks have become an especially useful concept in analysing the interaction between biology and mathematics....
. It assigns relative scores to all nodes in the network based on the principle that connections to high-scoring nodes contribute more to the score of the node in question than equal connections to low-scoring nodes. Google
Google

Google Inc. is an United States public company, earning revenue from AdWords related to its Google search, Gmail, Google Maps, Google Apps, Orkut, and YouTube services as well as selling advertising-free versions of the Google Search Appliance....
's PageRank
PageRank

PageRank is a Network theory#link analysis algorithm used by the Google Internet search engine that assigns a numerical weighting to each element of a hyperlinked set of documents, such as the World Wide Web, with the purpose of "measuring" its relative importance within the set....
 is a variant of the Eigenvector centrality measure.

Using the adjacency matrix to find eigenvector centrality

Let denote the score of the ith node. Let be the adjacency matrix
Adjacency matrix

In mathematics and computer science, the adjacency matrix of a finite set directed or undirected graph G on n vertices is the n × n matrix where the nondiagonal entry is the number of edges from vertex i to vertex j, and the diagonal entry is either twice the number of loops at vertex i or just the number o...
 of the network. Hence if the ith node is adjacent to the jth node, and otherwise. More generally, the entries in A can be real numbers representing connection strengths.

For the node, let the centrality score be proportional to the sum of the scores of all nodes which are connected to it. Hence

where is the set of nodes that are connected to the node, N is the total number of nodes and is a constant. In vector notation this can be rewritten as , or as the eigenvector equation

In general, there will be many different eigenvalues for which an eigenvector solution exists. However, the additional requirement that all the entries in the eigenvector be positive implies (by the Perron–Frobenius theorem
Perron–Frobenius theorem

In mathematics, the Perron?Frobenius theorem, named after Oskar Perron and Ferdinand Georg Frobenius, is a theorem in matrix theory about the eigenvalues and eigenvectors of a real positive matrix:...
) that only the greatest eigenvalue results in the desired centrality measure. The component of the related eigenvector then gives the centrality score of the node in the network. Power iteration
Power iteration

In mathematics, the power iteration is an eigenvalue algorithm: given a matrix A, the algorithm will produce a number λ and a nonzero vector v , such that Av = λv....
 is one of many eigenvalue algorithm
Eigenvalue algorithm

In linear algebra, one of the most important problems is designing efficient and Numerical stability algorithms for finding the eigenvalues of a Matrix ....
s that may be used to find this dominant eigenvector.

Further reading

  • Freeman, L. C. (1979). Centrality in social networks: Conceptual clarification. Social Networks, 1(3), 215-239.
  • Sabidussi, G. (1966). The centrality index of a graph. Psychometrika, 31, 581-603.
  • Freeman, L. C. (1977) A set of measures of centrality based on betweenness. Sociometry 40, 35--41.
  • Koschützki, D.; Lehmann, K. A.; Peeters, L.; Richter, S.; Tenfelde-Podehl, D. and Zlotowski, O. (2005) Centrality Indices. In Brandes, U. and Erlebach, T. (Eds.) Network Analysis: Methodological Foundations, pp. 16–61, LNCS 3418, Springer-Verlag.


See also


  • Distance in graphs
    Distance (graph theory)

    In the mathematics field of graph theory, the distance between two vertex in a graph is the number of edges in a shortest path problem connecting them....
  • Graph theory
    Graph theory

    In mathematics and computer science, graph theory is the study of graph : mathematical structures used to model pairwise relations between objects from a certain collection....