The document discusses various methods for representing and measuring networks and their properties. It covers representing networks using adjacency matrices, edge lists, and adjacency lists. For measuring networks, it discusses degree distribution, connected components, distance metrics like average path length and diameter, clustering coefficients, and centrality measures like betweenness, closeness, and eigenvector centrality. The document provides examples and explanations of these network analysis concepts and techniques.
16. Representing Networks
23-03-2021 VANI KANDHASAMY, PSGTECH 16
Representation Pros Cons
Adjacency Matrix Simple Memory utilization
Edge list Memory utilization High access time
Adjacency list Low access time
Memory utilization
_
17. Measuring Networks
SOCIAL AND ECONOMIC NETWORKS - CHAPTER 2
NETWORKS, CROWDS AND MARKETS – CHAPTER 2
23-03-2021 VANI KANDHASAMY, PSGTECH 17
18. Measuring Networks - Degree
▪Indegree
how many directed edges are incident on a node
▪Outdegree
how many directed edges originate at a node
▪Degree (in or out)
number of edges incident on a node
▪Average degree:
Undirected graph
Directed graph
outdegree=2
indegree=3
degree=4
20. Measuring Networks – Degree
Degree distribution: A frequency count of the occurrence of each degree
23-03-2021 VANI KANDHASAMY, PSGTECH 20
0
1
2
3
4
5
6
7
1 2 3 4
Degree
Frequency
21. Measuring Networks – Degree
Degree distribution P(k): Probability that a randomly chosen node has degree k
Nk = # nodes with degree k
P(k) = Nk /N
23-03-2021 VANI KANDHASAMY, PSGTECH 21
Normalized Histogram
Degree
26. Measuring Networks - Connectivity
STRONGLY CONNECTED GRAPH
Has a directed path from each node to every
other node
WEEKLY CONNECTED GRAPH
Connected without considering the edge
directions
23-03-2021 VANI KANDHASAMY, PSGTECH 26
Strongly or Weekly?
29. Measuring Networks
Node G wants to send a message
to node L.
What options does G have to
deliver the message?
23-03-2021 VANI KANDHASAMY, PSGTECH 29
30. Measuring Networks
Node G sends a message to node
L through
▪G-A-N-L,
▪G-A-N-O-L,
▪G-A-N-O-K-L,
▪G-J-O-L,
▪G-J-O-K-L,
▪G-J-F-G-A-N-L,
▪G-J-F-G-J-O-K-L
23-03-2021 VANI KANDHASAMY, PSGTECH 30
31. Measuring Networks - Terminology
Terminology Definition
Walk can have repeated links
Trails walk with no repeated links
Paths trail with no repeated nodes
Cycles path that starts and ends at the same node
23-03-2021 VANI KANDHASAMY, PSGTECH 31
36. Measuring Networks - Distance
A 5
B 4
C 3
D 4
E 3
F 3
G 4
H 4
I 4
J 5
K 5
23-03-2021 VANI KANDHASAMY, PSGTECH 36
Eccentricity
Largest distance
between all the
nodes
37. Measuring Networks - Distance
A 5
B 4
C 3
D 4
E 3
F 3
G 4
H 4
I 4
J 5
K 5
23-03-2021 VANI KANDHASAMY, PSGTECH 37
Diameter
Maximum
Eccentricity
38. Measuring Networks - Distance
A 5
B 4
C 3
D 4
E 3
F 3
G 4
H 4
I 4
J 5
K 5
23-03-2021 VANI KANDHASAMY, PSGTECH 38
Radius
Minimum
Eccentricity
39. Measuring Networks - Distance
A 5
B 4
C 3
D 4
E 3
F 3
G 4
H 4
I 4
J 5
K 5
23-03-2021 VANI KANDHASAMY, PSGTECH 39
Periphery
Eccentricity = Diameter
40. Measuring Networks - Distance
A 5
B 4
C 3
D 4
E 3
F 3
G 4
H 4
I 4
J 5
K 5
23-03-2021 VANI KANDHASAMY, PSGTECH 40
Center
Eccentricity = Radius
41. Measuring Networks - Distance
23-03-2021 VANI KANDHASAMY, PSGTECH 41
Metrics Value
Geodesic distance /
Shortest path (A-H)
4 (A-B-C-E-H)
Average path length (Network) 2.5272
Eccentricity (A) 5
Diameter (Network) 5
Radius (Network) 3
Periphery (Network) A, K, J
Center (Network) C, E, F
44. How similar are these networks?
23-03-2021 VANI KANDHASAMY, PSGTECH 44
45. How similar are these networks?
23-03-2021 VANI KANDHASAMY, PSGTECH 45
Average degree = 2
Degree Distribution =
all nodes have degree 2
Diameter = 7
Average degree = 1.9
Degree Distribution =
6 nodes have degree 3
1 node have degree 2
8 nodes have degree 1
Diameter = 6
50. Measuring Networks – Local Clustering
coefficients
How connected are C’s friends to each other?
23-03-2021 VANI KANDHASAMY, PSGTECH 50
51. Measuring Networks – Local Clustering
coefficients
How connected are J’s friends
to each other?
23-03-2021 VANI KANDHASAMY, PSGTECH 51
52. Measuring Networks – Local Clustering
coefficients
How connected are J’s friends
to each other?
Local clustering coefficient of J = 0
23-03-2021 VANI KANDHASAMY, PSGTECH 52
57. Measuring Networks – Global Clustering
coefficients
Most nodes have high LCC
High degree node has less LCC
Average CC = 0.93
Transitivity = 0.23
23-03-2021 VANI KANDHASAMY, PSGTECH 57
58. Measuring Networks – Global Clustering
coefficients
23-03-2021 VANI KANDHASAMY, PSGTECH 58
Most nodes have low LCC
High degree node has high
LCC
Average CC = 0.25
Transitivity = 0.86
61. Measuring Networks - Centrality
Which nodes are most ‘central’?
Who’s important based on their network position?
❖ Local measure:
• degree centrality – based on degree of the node
❖ Relative to rest of network:
• Closeness centrality – based on average distances
• Betweenness centrality – based on shortest paths through the node
• Eigenvector centrality – based on how important the neighbors are
23-03-2021 VANI KANDHASAMY, PSGTECH 61
63. Degree Centrality
He who has many friends is most
important.
Normalize by N‐1 (most possible)
23-03-2021 VANI KANDHASAMY, PSGTECH 63
64. Degree Centrality
Degree isn’t everything
•Ease of reaching other nodes
•Ability to act as an broker/intermediary
23-03-2021 VANI KANDHASAMY, PSGTECH 64
65. Closeness Centrality
He who is closer to all other
nodes is most important
23-03-2021 VANI KANDHASAMY, PSGTECH 65
Normalizeby N‐1
A B C D E
68. Betweenness Centrality
He who connects all the nodes is
most important.
23-03-2021 VANI KANDHASAMY, PSGTECH 68
j≠k≠i Ɛ N
Undirected:
Normalize by (N‐1)(N-2) / 2
Directed:
Normalize by (N‐1)(N-2)
71. Eigen vector Centrality
He who is friends with important
nodes will also become important
Extended degree centrality
𝑪𝑬 𝒊 =
𝒋:𝒇𝒓𝒊𝒆𝒏𝒅 𝒐𝒇 𝒊
𝑪𝑬 𝒋
𝑪𝑬 𝒊 =
𝟏
𝝀
𝒋
𝑨𝒊𝒋𝑪𝑬 𝒋
𝝀𝑪 = 𝑨𝑪
23-03-2021 VANI KANDHASAMY, PSGTECH 71