Networks, Crowds and Markets - Fall 2025

Course cover This course offers an introduction to the mathematics of networks, their dynamics, and their applications in economics and the social sciences. We combine rigorous probabilistic models with real-world data and case studies, moving from the basics of Erdős–Rényi random graphs to power laws, small-world phenomena, clustering, and preferential attachment.

Announcements:


Instructor:

Prof Piotr Zwiernik
Email piotr.zwiernik@upf.edu
Office hours Tuesday 2-3pm (20.202)

Time & Location:

Lectures: Monday 3-4:30pm (40.063) and Tuesday 3-4:30pm (40.063).

Tutorials (group 1): 3-4:30pm (20.101) Tutorials (group 2): 4:30-6pm (20.101)

There are six tutorial sessions, in weeks: 3,4,5,6,7,8.


Suggested Reading

The exam covers the material presented in the lecture and the accompanying slides as well as the problems discussed in the tutorial sessions. The following books complement what is presented in the lecture.


Lectures and timeline (tentative)

Week Topic Slides Tutorials Colabs Lectures date Timeline  
1 Motivation and first examples.
Special graphs, degree.
slides1
slides2
- colab1 29/30 Sept    
2 Degree distribution, graph isomorphism, adjacency matrix.
Distance in graphs, diameter. Centrality measures.
slides3
slides4
- colab2
degree
6/7 Oct report topics published  
3 Centrality measures (continued),
Linear algebra, Random walks.
slides5
slides6
sem1   13/14 Oct    
4 Pagerank algorithm and HITS, Erdös–Rényi model
Degree distribution, threshold phenomena, clustering.
slides7
slides8
sem2 colab3 20/21 Oct    
5 Clustering and small world
Power laws and hubs.
slides9
slides10
sem3   27/28 Oct    
6 midterm
Static random graph models.
extra
slides12
sem4   3/4 Nov midterm  
7 Static random graph models.
Communities: definition and identification.
slides13
slides14
sem5
colabsem5
colab4 10/11 Nov    
8 Social networks, forming mechanism.
Matching markets
slides15
slides16
    17/18 Nov deadline reports
presentations 1
 
9 Spreading phenomena
presentations
slides17
-
- colab5 24/25 Nov presentations 2  
10 Spreading phenomena
Summary
slides19
slides20
-   1/2 Dec    

NetworkX guidelines

Although coding is not an essential part of this course, it is a very important complementary part. As the absolute minimum, you should try to run the code provided in class.

We use Python and NetworkX. Useful documentation and examples can be found on the GitHub of MFD book.

I suggest to start like that:


Report presentations (15min+ques):

Group letters refer to the grouping from Aula Global.

101 (19 Nov)

  1. Group P: Friendship paradox
  2. Group B: Misinformation and Influence Dynamics on Social Media
  3. Group N: Cascading Failures and Systemic Risk
  4. Group H: Structural Balance of Social Networks
  5. Group G: Learning in Networks: Diffusion of Information

102 (19 Nov)

  1. Group C: Friendship paradox
  2. Group K: Misinformation and Influence Dynamics on Social Media
  3. Group F: Cascading Failures and Systemic Risk
  4. Group M: Structural Balance of social network

Lecture (25 Nov)

  1. Group D: Voting
  2. Group I: Percolation and Network Resilience
  3. Group E: Credit default prediction
  4. Group J: Kidney Exchange Project

Seminar slides with solutions:

Seminar 1, Seminar 2, Seminar 3, Seminar 4, Seminar 5