MIT14 15JS18 Lec2-3
MIT14 15JS18 Lec2-3
15: Networks
Lectures 2 & 3: Graphs, Measures and Metrics
1
Networks: Lectures 2 & 3 Introduction
Outline
◦ Network representation
− Graphs. Definitions. Notations.
Reading:
− Newman, Chapter 6 (skip Sections 6.8 and 6.12-6.14).
− Newman, Chapter 7, Sections 7.1, 7.6, and 7.7.
2
Networks: Lectures 2 & 3 Introduction
Network Study
Network Study
4
Networks: Lectures 2 & 3 Graphs
− The edge weight Aij can take on non-binary values (even negative
values), representing the intensity of the interaction, in which case we
refer to G as a weighted graph.
− For simple graphs, diagonal elements are zero.
◦ We refer to a graph as a directed graph (or digraph) if Aij 6= Aji and an
undirected graph if Aij = Aji for all i, j ∈ N.
5
Networks: Lectures 2 & 3 Graphs
1
0 0 1
Example 1: 1 0 0 ⇒
0 1 0
2 3
1 1
0 1 1
Example 2: 1 0 1 ⇒ ⇒
1 1 0
2 3 2 3
6
Networks: Lectures 2 & 3 Graphs
◦ In Example 2, Eu = {1, 2}, {1, 3}, {2, 3}
7
Networks: Lectures 2 & 3 Graphs Properties
8
Networks: Lectures 2 & 3 Graphs Properties
i j i j i j i j
9
Networks: Lectures 2 & 3 Graphs Properties
2 3
10
Networks: Lectures 2 & 3 Graphs Properties
Special Graphs
◦ Hypergraphs: Graphs in which edges join more than two nodes (such
edges are called hyper edges).
− A social network representing families in a village.
− Any network in which nodes connected by common membership of
groups (also called affiliation networks).
11
Networks: Lectures 2 & 3 Graphs Properties
Special Graphs
Bipartite graph
12
Networks: Lectures 2 & 3 Graphs Properties
1
− Average node degree is given by c = n ∑ni=1 ki , or equivalently c = 2nm .
13
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
1 2
4 3
14
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Konigsberg
¨ bridge problem
◦ Euler’s insights:
− Graph matters, not physical properties of the island, size, etc.
− Suppose such a walk existed: starts at “node” u, ends at v . Then
− Nodes u and v can have odd degrees
− All other nodes must have even degrees
− What about Konigsberg
¨ bridge graph?
Images © Bogdan Giuşcă, Mark Foskey, and Xiong on Wikipedia. All rights reserved. This content is excluded from our Creative Commons license. For mor
information, see https://ocw.mit.edu/help/faq-fair-use/ 15
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Degree Distributions
◦ Let l (i, j ) denote the length of the shortest path (or geodesic)
between node i and j (or the distance between i and j).
◦ The diameter of a network is the largest distance between any two
nodes in the network:
diameter = max l (i, j )
i,j
◦ The average path length is the average distance between any two
nodes in the network:
∑i ≥j l (i, j )
average path length = n(n−1)
2
◦ Average path length is bounded from above by the diameter; in some
cases, it can be much shorter than the diameter.
◦ If the network is not connected, one often checks the diameter and
the average path length in the largest component.
17
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Clustering Coefficient
◦ Measures the extent to which my friends are friends with one another.
◦ This clustering measure is represented by the overall clustering
coefficient Cl (G ), given by
18
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Clustering Coefficient
Figure: The overall clustering coefficient for this network is 3/8. The individual
clustering for the nodes are 1, 1, 1/6, 0, and 0.
19
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Centrality
20
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Centrality
Figure: Degree centrality of Nodes 2,. . . , d are the same in both graphs.
21
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Centrality
◦ Closeness centrality: Tracks how close a given node is to any other node:
For node i, one such measure is
! −1
1
n − 1 j∑
Ci = dij
6 =i
◦ Nodes which are close to other nodes on average have high centrality: such
nodes may have more direct influence on others.
22
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Centrality
◦ Limitations
− Spans a very small range.
− For disconnected networks, leads to zero centrality for all nodes!
23
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Centrality
◦ Nodes with high betweenness centrality may have high influence since they
control information passing between others.
24
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Centrality
25
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
Centrality
Figure: Political and friendship blockmodel structure (Padgett and Ansell 1993)
Image by MIT OpenCourseWare. Adapted from Figure 1.1 on p. 4 in Jackson, Matthew O.Social and Economic Networks. Princeton, NJ: Princeton University Press,
2008.ISBN-13: 9780691134406. ISBN-10: 0691134405.
28
Networks: Lectures 2 & 3 Graphs Measurements, Metrics
◦ It turns out that Medicis has a very high betweenness centrality 0.522.
◦ So the Medicis may have played a central role in holding the network
of influential families in Florence together and thus gained “power”
via this channel.
29
MIT OpenCourseWare
https://ocw.mit.edu
14.15J/6.207J Networks
Spring 2018
For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.