SlideShare una empresa de Scribd logo
1 de 32
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

Más contenido relacionado

Similar a 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
 

Similar a 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...
 

Último

Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
nirzagarg
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
ahmedjiabur940
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
nirzagarg
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
wsppdmt
 
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
wsppdmt
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
ranjankumarbehera14
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
PLE-statistics document for primary schs
PLE-statistics document for primary schsPLE-statistics document for primary schs
PLE-statistics document for primary schs
cnajjemba
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
Health
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 

Último (20)

Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptx
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
 
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptxThe-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
 
Switzerland Constitution 2002.pdf.........
Switzerland Constitution 2002.pdf.........Switzerland Constitution 2002.pdf.........
Switzerland Constitution 2002.pdf.........
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
PLE-statistics document for primary schs
PLE-statistics document for primary schsPLE-statistics document for primary schs
PLE-statistics document for primary schs
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubai
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 

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