Social Network Analysis Lecture 1: Networks, Random Graphs and Metrics
Social Network Analysis Lecture 1: Networks, Random Graphs and Metrics
Social Network Analysis Lecture 1: Networks, Random Graphs and Metrics
Network
Analysis
Lecture
1:
Networks,
Random
Graphs
and
Metrics
About
Me
• Reader
in
Mobile
Systems
– NetOS
Research
Group
• Research
on
Mobile,
Social
and
Sensor
Systems
• More
specifically,
– Human
Mobility
and
Social
Network
modelling
– OpportunisGc
Mobile
Networks
– Mobile
Sensor
Systems
and
Networks
Networks
are
Everywhere
Facebook
Friendship
Network
Terrorist
Network
Six degrees of
Mohammed Atta
Uncloaking Terrorist
Networks, by Valdis
Krebs
The
Internet
E
B
The
study
of
the
degree
distribuGon
of
networks
allows
the
classificaGon
of
networks
D
c
in
different
categories
Directed
&
Undirected
Graphs
A
A
E
B
E
B
D
c
D
C
E B
D
c
Components
• A
connected
component
of
a
graph
is
the
subset
of
nodes
for
which
each
of
them
has
a
path
to
all
others
(and
the
subset
is
not
part
of
a
larger
subset
with
this
property).
– Connected
components:
A-‐B-‐C
and
E-‐D
• A
giant
component
is
a
connected
component
containing
a
significant
fracGon
of
nodes
in
the
network.
– Real
networks
olen
have
one
unique
giant
component.
Path
Length/Distance
• The
distance
(d)
between
two
nodes
in
a
graph
is
the
length
of
the
shortest
path
linking
the
two
graphs.
• The
diameter
of
the
graph
is
the
maximum
distance
between
any
pair
of
its
nodes.
A
E
B
d(A,C)=2
D
C
Small-‐world
Phenomenon
Milgram’s
Experiment
• Two
random
people
are
connected
through
only
a
few
(6)
intermediate
acquaintances.
• Milgram’s
experiment
(1967)
shows
the
known
“six
degrees
of
separaGon”:
– Choose
300
people
at
random
– Ask
them
to
send
a
lejer
through
friends
to
a
stockbroker
near
Boston.
– 64
successful
chains.
Erdos
Number
• Erdos
Number:
distance
from
the
mathemaGcian
(most
people
are
4-‐5
hops
away)
based
on
collaboraGon.
Bacon
Number
• A
network
of
actors
who
costarred
in
a
movie.
• Most
actors
are
no
more
than
~3
hops
from
Kevin
Bacon.
• One
very
obscure
movie
was
at
distance
8.
Random
Graphs
k
Random
Graph
Diameter
• The
diameter
of
random
graph
and
the
average
path
length
of
the
graph
have
been
demonstrated
to
be:
ln(N ) ln(N )
d= = ! lrand
ln( pN ) ln(
! k )
RelaGonship
of
<k>
and
connecGvity
…
<k>
new
connecGons
per
each
new
node
…
E
C
D
F
Formally:
Clustering
Coefficient
2 | {e jk } |
Local
Clustering
Coefficient
Ci = : v j, vk " N i , e j,k " E
ki (ki !1)
1
Network
Clustering
Coefficient
CG = ! Ci
N i
Clustering
Coefficient:
Example
• Ki=3
• Nominator=
2*2=4
• Denominator=6
• Ci=4/6=2/3
A B
E
C
D
F
Clustering
Coefficient
of
a
Random
Graph
• The
clustering
coefficient
of
a
random
graph
is
k
!n $ !n $
p *# v & / # v & = p
Crand = p=
"2% "2%
N