40
SNA 3A: Centrality Lada Adamic

SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

  • Upload
    others

  • View
    16

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

SNA 3A: Centrality

Lada Adamic

Page 2: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according
Page 3: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according
Page 4: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according
Page 5: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

is counting the edges enough?

Page 6: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Stanford Social Web (ca. 1999)

network of personal homepages at Stanford

Page 7: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Y

X

Y

X

Y X

Y

X

indegree

In each of the following networks, X has higher centrality than Y according to a particular measure

outdegree betweenness closeness

different notions of centrality

Page 8: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Y

X

review: indegree

Page 9: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

trade in petroleum and petroleum products, 1998, source: NBER-United Nations Trade Data

Page 10: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Quiz Q:

!  Which countries have high indegree (import petroleum and petroleum products from many others) ! Saudi Arabia ! Japan !  Iraq ! USA ! Venezuela

Page 11: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

review: outdegree

Y

X

Page 12: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Nepal

Guyana

Ethiopia

Mauritius

Mali

Lebanon

Barbados

Haiti

Cambodia

Suriname

Guadeloupe

Mauritania

Fiji

Costa Rica

Cote Divoire

Bahamas

Jordan

Angola

Nigeria

CanadaUSA

Argentina

Brazil

MexicoJapan

IranIraq Kuwait

Oman

Saudi Arabia

Untd Arab Em

China HK SAR

Korea Rep. MalaysiaSingapore

Thailand

China

Belgium-Lux

France,Monac

GermanyItalyNetherlands

Spain

UK

SwedenRussian Fed

Australia

Indonesia

Poland

Algeria

Portugal

Libya

Jamaica

Panama

Malta

India

South Africa

VenezuelaColombia

Trinidad Tbg

Bahrain

Norway

Egypt

Gabon

Guatemala

Qatar

Afghanistan

Viet NamTaiwan

Myanmar

Sri Lanka

Pakistan

Nicaragua

Korea D P Rp

Guinea

Cuba

Bangladesh

Senegal

trade in petroleum and petroleum products, 1998, source: NBER-United Nations Trade Data

Page 13: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Quiz Q:

!  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

Page 14: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

.RUHD�5HS�

8UXJXD\

6ZLW]�/LHFKW

6UL�/DQND

*LEUDOWDU$UPHQLD

,UHODQG

3RUWXJDO

1LFDUDJXD

*KDQD

0RURFFR

%UD]LO

3DUDJXD\

(O�6DOYDGRU

6ORYHQLD

&XED

%XOJDULD

'RPLQLFDQ�5S

%DUEDGRV

%HUPXGD

%HODUXV

0DXULWDQLD

3KLOLSSLQHV

.RUHD�'�3�5S

%XUNLQD�)DVR

8]EHNLVWDQ

0\DQPDU

&RVWD�5LFD

7)<5�0DFHGQD 6XGDQ

6HQHJDO

0RQJROLD

$QJROD

1LJHULD0H[LFR ,UDQ

,UDT

.XZDLW

2PDQ

6DXGL�$UDELD

8QWG�$UDE�(P

7XUNH\8.

/LWKXDQLD

5XVVLDQ�)HG

/LE\D

9HQH]XHOD

$OJHULD

6RXWK�$IULFD

&RWH�'LYRLUH

86$&RORPELD

(FXDGRU

%DKDPDV

3DQDPD

6\ULD

'HQPDUN

1HWKHUODQGV

)LQODQG

1RUZD\

6ZHGHQ

(J\SW

&DPHURRQ

*DERQ

'HP�5S�&RQJR

&DQDGD

$UJHQWLQD

%ROLYLD

&KLOH

3HUX

*XDWHPDOD

7ULQLGDG�7EJ

<HPHQ

$IJKDQLVWDQ

,QGRQHVLD

0DOD\VLD

6LQJDSRUH

&KLQD

9LHW�1DP

(VWRQLD

$XVWUDOLD

3DSXD�1�*XLQ

.D]DNKVWDQ

,WDO\

6SDLQ

4DWDU

1HZ�=HDODQG

3DNLVWDQ

7XQLVLD

*HRUJLD

7KDLODQG

*XLQHD

/LEHULD

1LJHU

-DSDQ,QGLD

7DLZDQ

8NUDLQH

*HUPDQ\

*UHHFH

)UDQFH�0RQDF

$XVWULD

,VUDHO+XQJDU\

%HQLQ

$]HUEDLMDQ

%HOJLXP�/X[

0DOWD

/DWYLD

-DPDLFD

3RODQG

&]HFK�5HS

<XJRVODYLD

&\SUXV

5RPDQLD

6ORYDNLD

&URDWLD

trade in crude petroleum and petroleum products, 1998, source: NBER-United Nations Trade Data

Page 15: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Undirected degree, e.g. nodes with more friends are more central.

Assumption: the connections that your friend has don't matter, it is what they can do directly that does (e.g. go have a beer with you, help you build a deck...)

putting numbers to it

Page 16: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

divide degree by the max. possible, i.e. (N-1)

normalization

Page 17: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Freeman�s general formula for centralization (can use other metrics, e.g. gini coefficient or standard deviation):

CD =CD (n

*) −CD (i)[ ]i=1

g∑[(N −1)(N − 2)]

How much variation is there in the centrality scores among the nodes?

maximum value in the network

centralization: skew in distribution

Page 18: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

CD = 0.167

CD = 0.167

CD = 1.0

degree centralization examples

Page 19: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

example financial trading networks

high in-centralization: one node buying from many others

low in-centralization: buying is more evenly distributed

real-world examples

Page 20: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

In what ways does degree fail to capture centrality in the following graphs?

what does degree not capture?

Page 21: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Stanford Social Web (ca. 1999)

network of personal homepages at Stanford

Page 22: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Brokerage not captured by degree

Y

X

Page 23: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

constraint

Page 24: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

constraint

Page 25: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

! intuition: how many pairs of individuals would have to go through you in order to reach one another in the minimum number of hops?

Y X

betweenness: capturing brokerage

Page 26: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

CB (i) = g jk (i) /g jkj<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: definition

Page 27: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

betweenness on toy networks ! non-normalized version:

Page 28: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

betweenness on toy networks ! non-normalized version:

A B C E D

!  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

Page 29: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

betweenness on toy networks ! non-normalized version:

Page 30: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

betweenness on toy 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

Page 31: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Quiz Question

! What is the betweenness of node E?

E

Page 32: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Lada�s old Facebook network: nodes are sized by degree, and colored by betweenness.

betweenness: example

Page 33: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Quiz Q:

! Find a node that has high betweenness but low degree

Page 34: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Quiz Q:

! Find a node that has low betweenness but high degree

Page 35: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

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

Page 36: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

need not be in a brokerage position

Y X

Y

X

Y

X

Y

X

Page 37: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Closeness is based on the length of the average shortest path between a node and all other nodes in the network

Cc (i) = d(i, j)j=1

N

∑#

$ % %

&

' ( (

−1

CC' (i) = (CC (i)) /(N −1)

Closeness Centrality:

Normalized Closeness Centrality

closeness: definition

Page 38: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Cc' (A) =

d(A, j)j=1

N

N −1

#

$

%%%%

&

'

((((

−1

=1+ 2+3+ 4

4#

$%&

'(

−1

=104

#

$%&

'(

−1

= 0.4

A B C E D

closeness: toy example

Page 39: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

closeness: more toy examples

Page 40: SNA 3A: Centrality - Hacettepeyunus.hacettepe.edu.tr/~burkay.genc/courses/pss716_sna/...Y X Y X X Y Y X indegree In each of the following networks, X has higher centrality than Y according

Quiz Q:

Which node has relatively high degree but low closeness?