Centrality Measures
07/11/2024 1
Centrality Measures of a Graph
Alfonso Meléndez
Centrality Measures
07/11/2024 2
Objectives
• Centrality measures are critical in a wide-range of applications that
involve concepts/phenomena such as :
• infrastructure vulnerability and robustness (e.g., in transportation
systems, urban systems, the Internet, etc.)
• spreading or flow (of information or diseases, etc.).
• Essentially, it's about identifying the "important" or "influential"
nodes in the system.
Link to Model
Centrality Measures
07/11/2024 3
Centrality Measures
Centrality Measures
07/11/2024 4
1. Degree Centrality
Centrality Measures
07/11/2024 5
Degree Centrality
• Centrality depends on the degree of node (number of neighbors)
• Intuitively:
• Lots of Friends
• Easy to send or receive information
Centrality Measures
07/11/2024 6
Example (degree centrality)
Link to Model
Centrality Measures
07/11/2024 7
2. Closeness
Centrality
Centrality Measures
07/11/2024 8
Closeness Centrality
• Being the Geographic center makes you important
• You are never far from the action
• Uses shortest-path-lengths
• Farness: Mean distance to other nodes
• Closeness: Inverse of Farness
FarNess:
Closeness:
Normalized Measures
Centrality Measures
07/11/2024 9
Example 1 Closeness Centrality
Closeness
Normalized
Link to Model
Centrality Measures
07/11/2024 10
3. Betweenness
Centrality
Centrality Measures
07/11/2024 11
Betweenness Centrality
• Being in a lot of shortest paths is important
• Intuitively:
• Messages within the network pass through you
• You are a “bridge” between clusters of the network
: Shortest paths from s to t
: Shortest paths from s to t
that go through v
Centrality Measures
07/11/2024 12
Betweenness centrality of node C?
Link to Model
Centrality Measures
07/11/2024 13
Another Example
• Shortest paths are unique
• By Symmetry there are
• only 3 values
• (corresponding to the
• three colors)
Link to Model
Centrality Measures
07/11/2024 14
Calculus are long and tedious by hand
Centrality Measures
07/11/2024 15
4. Eigenvector
Centrality
Centrality Measures
07/11/2024 16
Improving Degree Centrality
•Degree centrality is miopic.
•Ignores the place of the node in the network
•Maybe the node is adjacent to important nodes
Centrality Measures
07/11/2024 17
¿Which node has more power?
2,4 or 6?
Centrality Measures
07/11/2024 18
Look at the neighbors
(Links give power)
3
2
1
3
2
3
2
3
2
6
7
8
Link to Excel Model
New Power: Sum of power
of my neighbors
Centrality Measures
07/11/2024 19
5. PageRank
Centrality
(For Directed Graphs)
Link To Model Page Rank vs Eigenvector if time
Link to Page-Rank Model
Centrality Measures
07/11/2024 20
Summary
1. Degree-centrality: Centrality depends on the degree of a node (number
of neighbors)
2. Closeness-Centrality: Centrality depends on the distance of a node to h
the other nodes
3. Betweenness-centrality: Centrality depends on haoe many shortest
paths pass through a node.
4. Clustering: How nodes cluster locally
5. Eigenvector-Centrality: Importance of a node depends on the
importance of neighbour nodes (recursive definition)
Centrality Measures
07/11/2024 21
Example 4
centralities
(15 Minutes)
Link to ppt for the
Google Meet Chat
Centrality Measures
07/11/2024 22
Another Example of 4 Centralities
Grandjean 2021
Introduction to
social networks
Centrality Measures
07/11/2024 23
Beautiful Example of 4 Centralities
Centrality Measures
07/11/2024 24
Netlogo Lab Models
Three Views Four Views
Two Views
One View
Centrality Measures
07/11/2024 25
Real Life Applications
Diffusion Vulnerability
Link to Model
Centrality Measures
07/11/2024 26
6. Clustering
coefficient
Centrality Measures
07/11/2024 27
Clustering
• How connected are the neighbors of a node
• (Friends of my friens are my friends)
• How many traingles are formed by myn neighbors
• Clustering coefficient of a node is the proprtiion of :
• number of links between neighbors
• divided by
• number of possible links
Centrality Measures
07/11/2024 28
Examples
Centrality Measures
07/11/2024 29
Another Example
1
2 0
4
3
6
5
Link to Model
Centrality Measures
07/11/2024 30
Additional Example
Link to Model
Case Study Florentine Families
(Familias Florentinas)
Centrality Measures
07/11/2024 32
Thanks You
for Your Attention!!!
Centrality Measures
07/11/2024 33
Excellent example 4 centralities
(Geometric network)
Centrality Measures
Closeness
Betweeness
EigenVector
Degree
Centrality Measures
Centrality Measures
Centrality Measures
Centrality Measures
BackUp
Florentine families
Ver Modelo
9 Medidas
Centrales
Ejemplo Delfines
Aplicación de Medidas de Centralidad
• Red de Delfines (Mark Newman , Davidb
Lusseau)
• 62 Delfines (Doubtful Sound, Nueva
Zelandia)
• 7 años de “interacción social” de los delfines
• Dos delfines tienen un enlace si fueron
observados juntos más frecuentemente que
lo esperado por azar.
• Enlace al artículo de investigación: enlace
Red de Delfines
• Ver Modelo
¿Qué delfín tiene
muchas conexiones?
¿Quíen está en el centro
de la red?
¿Quién actúa como
inteemediario? (puente)
Conclusión Estudio Delfines
•La estructura de la red permite identificar delfines
populares y delfines cohesivos.
•La desaparición temporal de SN100 fisionó la red en
dos grupos
•La reaparición de SN100 coincidió con una posterior
unión de los dos grupos
•El alto valor de intermediación de SN100 jugó un
papel importante en mantener la comunidad unida.
Back-up
Temas Adicionales (no ver en clase)
¿Cuál es el nodo más influyente?
• Los enlaces dan poder • Los enlaces entrantes (in-links)dan poder
Respuesta
• Los enlaces dan poder • Los enlaces entrantes (in-links)dan poder
Respuesta
• Los enlaces dan poder • Los enlaces entrantes (in-links)dan poder
Taller GeoGebra PageRank
• Taller
Geogebra n=9
Taller 2 PageRank
• Taller
Networkx
Netlogo(100000 iter)
Taller 2 PageRank
• Taller
Medidas Centrales Adicionales
Jackson Question
• Imagine that you are advertising your new product,
"CourseraPopcorn". You realize that various potential areas where
you will be selling your corn are connected to each other in a
network, and that if you advertise it in one area then it might be
communicated to neighboring areas. You only have the chance to
advertise in one area to seed the market and hope that news
spreads from there. You know the communication network among
all the areas. If you were to have to rely on one centrality measure
to pick the best area, and you did this based on what was found
from the data analysis in video 2.5a, which centrality measure
would you use?
• Eigenvector centrality

Centrality CENTRALITY CENTRALMeasures.pptx