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
• 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

Similar to Social Network Analysis (Part 2)

Electronic Supplementary Material for: Analytical reasoning task reveals limi...
Electronic Supplementary Material for: Analytical reasoning task reveals limi...Electronic Supplementary Material for: Analytical reasoning task reveals limi...
Electronic Supplementary Material for: Analytical reasoning task reveals limi...Dario Caliendo
 
Network theory - PyCon 2015
Network theory - PyCon 2015Network theory - PyCon 2015
Network theory - PyCon 2015
Sarah Guido
 
Interactive High-Dimensional Visualization of Social Graphs
Interactive High-Dimensional Visualization of Social GraphsInteractive High-Dimensional Visualization of Social Graphs
Interactive High-Dimensional Visualization of Social Graphs
Tokyo Tech (Tokyo Institute of Technology)
 
Mining and analyzing social media part 2 - hicss47 tutorial - dave king
Mining and analyzing social media   part 2 - hicss47 tutorial - dave kingMining and analyzing social media   part 2 - hicss47 tutorial - dave king
Mining and analyzing social media part 2 - hicss47 tutorial - dave king
Dave King
 
2013 NodeXL Social Media Network Analysis
2013 NodeXL Social Media Network Analysis2013 NodeXL Social Media Network Analysis
2013 NodeXL Social Media Network Analysis
Marc Smith
 
20121010 marc smith - mapping collections of connections in social media with...
20121010 marc smith - mapping collections of connections in social media with...20121010 marc smith - mapping collections of connections in social media with...
20121010 marc smith - mapping collections of connections in social media with...
Marc Smith
 

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

Electronic Supplementary Material for: Analytical reasoning task reveals limi...
Electronic Supplementary Material for: Analytical reasoning task reveals limi...Electronic Supplementary Material for: Analytical reasoning task reveals limi...
Electronic Supplementary Material for: Analytical reasoning task reveals limi...
 
Network theory - PyCon 2015
Network theory - PyCon 2015Network theory - PyCon 2015
Network theory - PyCon 2015
 
Interactive High-Dimensional Visualization of Social Graphs
Interactive High-Dimensional Visualization of Social GraphsInteractive High-Dimensional Visualization of Social Graphs
Interactive High-Dimensional Visualization of Social Graphs
 
Mining and analyzing social media part 2 - hicss47 tutorial - dave king
Mining and analyzing social media   part 2 - hicss47 tutorial - dave kingMining and analyzing social media   part 2 - hicss47 tutorial - dave king
Mining and analyzing social media part 2 - hicss47 tutorial - dave king
 
2013 NodeXL Social Media Network Analysis
2013 NodeXL Social Media Network Analysis2013 NodeXL Social Media Network Analysis
2013 NodeXL Social Media Network Analysis
 
20121010 marc smith - mapping collections of connections in social media with...
20121010 marc smith - mapping collections of connections in social media with...20121010 marc smith - mapping collections of connections in social media with...
20121010 marc smith - mapping collections of connections in social media with...
 

Recently uploaded

一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdfUnleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Enterprise Wired
 
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTESAdjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Subhajit Sahu
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
74nqk8xf
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
rwarrenll
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
AnirbanRoy608946
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
roli9797
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
u86oixdj
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
eddie19851
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 

Recently uploaded (20)

一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdfUnleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
 
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTESAdjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 

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:
  • 7.
  • 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