SlideShare a Scribd company logo
Social Network Analysis 
Dr. Vala Ali Rohani 
Vala@um.edu.my 
VRohani@gmail.com 
Part 2: Centrality
different notions of centrality 
In each of the following networks, X has higher 
centrality than Y according to a particular measure 
Y 
X 
Y 
X 
X Y 
Y 
X 
indegree 
outdegree betweenness closeness
review: indegree 
Y 
X
trade in petroleum and 
petroleum products, 1998, 
source: NBER-United 
Nations Trade Data
• Which countries have high indegree (import petroleum 
and petroleum products from many others) 
• Saudi Arabia 
• Japan 
• Iraq 
• USA 
• Venezuela 
Quiz Q:
review: outdegree 
Y 
X
Social Network Analysis (Part 2)
• Which country has low outdegree but exports a 
significant quantity (thickness of the edges represents $$ 
value of export) of petroleum products 
• Saudi Arabia 
• Japan 
• Iraq 
• USA 
• Venezuela 
Quiz Q:
putting numbers to it 
Undirected degree, e.g. nodes with more friends are more 
central.
normalization 
divide degree by the max. possible, i.e. (N-1)
real-world examples 
example financial trading networks 
high in-centralization: 
one node buying from 
many others 
low in-centralization: 
buying is more evenly 
distributed
In what ways does degree fail to capture centrality in the 
following graphs? 
what does degree not capture?
Brokerage not captured by degree 
Y 
X
betweenness: capturing 
brokerage 
• intuition: how many pairs of individuals would have 
to go through you in order to reach one another in 
the minimum number of hops? 
X Y
betweenness: definition 
å 
CB (i) = gjk (i) /gjk 
j<k 
Where gjk = the number of shortest paths connecting jk 
gjk(i) = the number that actor i is on. 
Usually normalized by: 
CB 
' (i) = CB (i ) /[(n -1)(n -2) /2] 
number of pairs of vertices 
excluding the vertex itself
betweenness on toy networks 
• non-normalized version:
betweenness on toy networks 
• non-normalized version: 
A B C D E 
 A lies between no two other vertices 
 B lies between A and 3 other vertices: C, D, and E 
 C lies between 4 pairs of vertices (A,D),(A,E),(B,D),(B,E) 
 note that there are no alternate paths for these pairs to 
take, so C gets full credit
betweenness on toy networks 
• non-normalized version:
betweenness on networks 
• non-normalized version: 
A B 
C 
E 
D 
 why do C and D each have 
betweenness 1? 
 They are both on shortest 
paths for pairs (A,E), and (B,E), 
and so must share credit: 
 ½+½ = 1
Quiz Question 
• What is the betweenness of node E? 
E
betweenness: example 
Lada’s old Facebook network: nodes are sized by 
degree, and colored by betweenness.
Quiz Q: 
Find a node that has high betweenness but 
low degree
Quiz Q: 
Find a node that has low betweenness but 
high degree
closeness 
• What if it’s not so important to have many direct 
friends? 
• Or be “between” others 
• But one still wants to be in the “middle” of things, 
not too far from the center
need not be in a brokerage position 
Y X 
Y X 
X X 
Y 
Y
closeness: definition 
Closeness is based on the length of the average shortest 
path between a node and all other nodes in the network 
Closeness Centrality: 
N 
å 
ê 
ê 
-1 
ú 
ú 
Cc (i) = d(i, j) 
j=1 
é 
ë 
ù 
û 
Normalized Closeness Centrality 
' (i) = (CC (i)) /(N -1) 
CC
closeness: toy example 
A B C D E 
' (A) = 
Cc 
d(A, j) 
N 
å 
j=1 
N -1 
é 
ê 
ê 
ê 
ê 
ë 
-1 
ù 
ú 
ú 
ú 
ú 
û 
= 
1+ 2 +3+ 4 
4 
é 
ë ê 
-1 
= 
ù 
û ú 
é 
10 
4 
ë ê 
-1 
= 0.4 
ù 
û ú
closeness: more examples
Quiz Q: 
Which node has 
relatively high degree 
but low closeness?
Is everything connected?
Connected Components 
• Strongly connected components 
• Each node within the component can be reached from every other node 
in the component by following directed links 
 Strongly connected components 
 B C D E 
 A 
 G H 
 F 
 Weakly connected components: every node can be reached from every other node 
by following links in either direction 
A 
B 
C 
D 
E 
F 
G 
H 
A 
B 
C 
D 
E 
F 
G 
H 
 Weakly connected components 
 A B C D E 
 G H F 
 In undirected networks one talks simply about 
‘connected components’
Giant component 
• if the largest component encompasses a significant fraction of the graph, 
it is called the giant component 
http://ccl.northwestern.edu/netlogo/models/index.cgi

More Related Content

PPTX
06 Community Detection
PDF
Social network analysis part ii
PDF
Community Detection in Social Media
PPTX
Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...
PDF
Community Detection with Networkx
PDF
Community Detection in Social Networks: A Brief Overview
PDF
Social network analysis intro part I
PPTX
Group and Community Detection in Social Networks
06 Community Detection
Social network analysis part ii
Community Detection in Social Media
Social Network Analysis: What It Is, Why We Should Care, and What We Can Lear...
Community Detection with Networkx
Community Detection in Social Networks: A Brief Overview
Social network analysis intro part I
Group and Community Detection in Social Networks

What's hot (20)

PDF
Overlapping community detection survey
PPTX
Social Network Analysis Workshop
PPTX
Community detection algorithms
PDF
Intro to Web3 and Polygon.pdf
PDF
Blockchain technology
PPTX
Blockchain consensus algorithms
PPTX
Social Network Analysis
PPT
Social network analysis course 2010 - 2011
PDF
Link prediction
PDF
An introduction to blockchain and hyperledger v ru
PDF
Graph neural networks overview
PDF
Election System Based on Blockchain Technology
PDF
Network centrality measures and their effectiveness
PDF
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...
PDF
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
PDF
Blockchain Security Issues and Challenges
PDF
How to Build a Fraud Detection Solution with Neo4j
PDF
WSDM 2018 Tutorial on Influence Maximization in Online Social Networks
PDF
Social Network Analysis
PDF
Is web 3 an overengineered solution
Overlapping community detection survey
Social Network Analysis Workshop
Community detection algorithms
Intro to Web3 and Polygon.pdf
Blockchain technology
Blockchain consensus algorithms
Social Network Analysis
Social network analysis course 2010 - 2011
Link prediction
An introduction to blockchain and hyperledger v ru
Graph neural networks overview
Election System Based on Blockchain Technology
Network centrality measures and their effectiveness
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Security Issues and Challenges
How to Build a Fraud Detection Solution with Neo4j
WSDM 2018 Tutorial on Influence Maximization in Online Social Networks
Social Network Analysis
Is web 3 an overengineered solution
Ad

Similar to Social Network Analysis (Part 2) (20)

PPTX
Networks
PPTX
4. social network analysis
PPT
Study of different Centrality techiniques
PPTX
5.SocialMediaAnalytics2022gggggggggg.pptx
PPT
Networking and IP conceots for beginner.ppt
PPT
3 Centrality
PPTX
Network Measures Social Computing-Unit 2.pptx
PPTX
07 Whole Network Descriptive Statistics
PPTX
Network theory - PyCon 2015
PPTX
Social Network Analysis for small learning groups
PDF
ICPSR - Complex Systems Models in the Social Sciences - Lecture 4 - Professor...
PPT
3centrality-1235089982174yuuhhh803-1.ppt
PPTX
GRAPH THEORY OF NUMBER THEOREM IN DISCRETE MATH
PDF
Bridging Centrality: Identifying Bridging Nodes in Transportation Network
PDF
Document 8 1.pdf
PPTX
20121010 marc smith - mapping collections of connections in social media with...
PDF
27-1. Connected Components Biconnected Components.pdf
PPTX
05 Whole Network Descriptive Stats
PDF
CS 363 - Week 01 (Intro) - Spring 2025.pdf
PPTX
Slides Chapter10.1 10.2
Networks
4. social network analysis
Study of different Centrality techiniques
5.SocialMediaAnalytics2022gggggggggg.pptx
Networking and IP conceots for beginner.ppt
3 Centrality
Network Measures Social Computing-Unit 2.pptx
07 Whole Network Descriptive Statistics
Network theory - PyCon 2015
Social Network Analysis for small learning groups
ICPSR - Complex Systems Models in the Social Sciences - Lecture 4 - Professor...
3centrality-1235089982174yuuhhh803-1.ppt
GRAPH THEORY OF NUMBER THEOREM IN DISCRETE MATH
Bridging Centrality: Identifying Bridging Nodes in Transportation Network
Document 8 1.pdf
20121010 marc smith - mapping collections of connections in social media with...
27-1. Connected Components Biconnected Components.pdf
05 Whole Network Descriptive Stats
CS 363 - Week 01 (Intro) - Spring 2025.pdf
Slides Chapter10.1 10.2
Ad

Recently uploaded (20)

PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PDF
REAL ILLUMINATI AGENT IN KAMPALA UGANDA CALL ON+256765750853/0705037305
PDF
Introduction to Data Science and Data Analysis
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
Managing Community Partner Relationships
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
Pilar Kemerdekaan dan Identi Bangsa.pptx
PDF
Optimise Shopper Experiences with a Strong Data Estate.pdf
PPTX
importance of Data-Visualization-in-Data-Science. for mba studnts
PDF
Introduction to the R Programming Language
PDF
[EN] Industrial Machine Downtime Prediction
PDF
Oracle OFSAA_ The Complete Guide to Transforming Financial Risk Management an...
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPT
DATA COLLECTION METHODS-ppt for nursing research
PDF
Business Analytics and business intelligence.pdf
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PPTX
SAP 2 completion done . PRESENTATION.pptx
Data_Analytics_and_PowerBI_Presentation.pptx
Introduction-to-Cloud-ComputingFinal.pptx
REAL ILLUMINATI AGENT IN KAMPALA UGANDA CALL ON+256765750853/0705037305
Introduction to Data Science and Data Analysis
Galatica Smart Energy Infrastructure Startup Pitch Deck
Managing Community Partner Relationships
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Pilar Kemerdekaan dan Identi Bangsa.pptx
Optimise Shopper Experiences with a Strong Data Estate.pdf
importance of Data-Visualization-in-Data-Science. for mba studnts
Introduction to the R Programming Language
[EN] Industrial Machine Downtime Prediction
Oracle OFSAA_ The Complete Guide to Transforming Financial Risk Management an...
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
DATA COLLECTION METHODS-ppt for nursing research
Business Analytics and business intelligence.pdf
IBA_Chapter_11_Slides_Final_Accessible.pptx
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
Qualitative Qantitative and Mixed Methods.pptx
SAP 2 completion done . PRESENTATION.pptx

Social Network Analysis (Part 2)

  • 1. Social Network Analysis Dr. Vala Ali Rohani Vala@um.edu.my VRohani@gmail.com Part 2: Centrality
  • 2. different notions of centrality In each of the following networks, X has higher centrality than Y according to a particular measure Y X Y X X Y Y X indegree outdegree betweenness closeness
  • 4. trade in petroleum and petroleum products, 1998, source: NBER-United Nations Trade Data
  • 5. • Which countries have high indegree (import petroleum and petroleum products from many others) • Saudi Arabia • Japan • Iraq • USA • Venezuela Quiz Q:
  • 8. • Which country has low outdegree but exports a significant quantity (thickness of the edges represents $$ value of export) of petroleum products • Saudi Arabia • Japan • Iraq • USA • Venezuela Quiz Q:
  • 9. putting numbers to it Undirected degree, e.g. nodes with more friends are more central.
  • 10. normalization divide degree by the max. possible, i.e. (N-1)
  • 11. real-world examples example financial trading networks high in-centralization: one node buying from many others low in-centralization: buying is more evenly distributed
  • 12. In what ways does degree fail to capture centrality in the following graphs? what does degree not capture?
  • 13. Brokerage not captured by degree Y X
  • 14. betweenness: capturing brokerage • intuition: how many pairs of individuals would have to go through you in order to reach one another in the minimum number of hops? X Y
  • 15. betweenness: definition å CB (i) = gjk (i) /gjk j<k Where gjk = the number of shortest paths connecting jk gjk(i) = the number that actor i is on. Usually normalized by: CB ' (i) = CB (i ) /[(n -1)(n -2) /2] number of pairs of vertices excluding the vertex itself
  • 16. betweenness on toy networks • non-normalized version:
  • 17. betweenness on toy networks • non-normalized version: A B C D E  A lies between no two other vertices  B lies between A and 3 other vertices: C, D, and E  C lies between 4 pairs of vertices (A,D),(A,E),(B,D),(B,E)  note that there are no alternate paths for these pairs to take, so C gets full credit
  • 18. betweenness on toy networks • non-normalized version:
  • 19. betweenness on networks • non-normalized version: A B C E D  why do C and D each have betweenness 1?  They are both on shortest paths for pairs (A,E), and (B,E), and so must share credit:  ½+½ = 1
  • 20. Quiz Question • What is the betweenness of node E? E
  • 21. betweenness: example Lada’s old Facebook network: nodes are sized by degree, and colored by betweenness.
  • 22. Quiz Q: Find a node that has high betweenness but low degree
  • 23. Quiz Q: Find a node that has low betweenness but high degree
  • 24. closeness • What if it’s not so important to have many direct friends? • Or be “between” others • But one still wants to be in the “middle” of things, not too far from the center
  • 25. need not be in a brokerage position Y X Y X X X Y Y
  • 26. closeness: definition Closeness is based on the length of the average shortest path between a node and all other nodes in the network Closeness Centrality: N å ê ê -1 ú ú Cc (i) = d(i, j) j=1 é ë ù û Normalized Closeness Centrality ' (i) = (CC (i)) /(N -1) CC
  • 27. closeness: toy example A B C D E ' (A) = Cc d(A, j) N å j=1 N -1 é ê ê ê ê ë -1 ù ú ú ú ú û = 1+ 2 +3+ 4 4 é ë ê -1 = ù û ú é 10 4 ë ê -1 = 0.4 ù û ú
  • 29. Quiz Q: Which node has relatively high degree but low closeness?
  • 31. Connected Components • Strongly connected components • Each node within the component can be reached from every other node in the component by following directed links  Strongly connected components  B C D E  A  G H  F  Weakly connected components: every node can be reached from every other node by following links in either direction A B C D E F G H A B C D E F G H  Weakly connected components  A B C D E  G H F  In undirected networks one talks simply about ‘connected components’
  • 32. Giant component • if the largest component encompasses a significant fraction of the graph, it is called the giant component http://ccl.northwestern.edu/netlogo/models/index.cgi