Methods for Computational Social Sciences

Opal: Link here.

Time (Lecture) Mondays, 3. DS and 5. DS

Location APB/E001

Department Computer Science

Modules INF-BAS3 (Software- und Web-Engineering)

Language English

Assessment oral exam

Description:

The lecture will introduce you to social science research questions and findings, while the exercise will give you the practical skills to answer social questions yourself using computational tools. The first part focuses on basic techniques of text analysis. We will learn how to collect text data from sources such as newspapers, parliamentary minutes or social media, and how to pre-process it for natural language processing (NLP), such as sentiment analysis.

We will then move on to analyzing the structural factors of online data, from time series to networks and their dynamics. We will also explore how to collect such data from social media and how to conduct online field experiments. We will then have the tools to move on to applied research questions, covering topics such as political polarization, misinformation, public health and human mobility. We will learn what conclusions can and cannot be drawn from these descriptions. Finally, we will go beyond description and learn about causality, simulation models of social systems that allow mechanistic understanding.

The last part of the course will focus on NLP again, this time with a focus on deep learning methods such as Large Language Models (LLMs). We will use transformer models to identify complex patterns in the communication of German parties on social media.

In summary, this course will provide a toolbox for describing different types of social systems with a focus on textual data, as well as a family of modelling approaches that can go beyond individual-level statistics to describe collective processes.

Schedule:

Week 1 What is Computational Social Science?

Week 2 Data, types, sources and preparation in R/Python

Week 3 Collecting text data

Week 4 Identifying sentiment and clusters

Week 5 Time series analysis

Week 6 Regressions and statistical modeling

Week 7 Network science 1

Week 8 Network science 2

Week 9 Causal inference in observational data

Break June 8 - 15

Week 10 Agent-based-models

Week 11 Topic Modeling with Transformers 1

Week 12 Topic Modeling with Transformers 2

Week 13 LLMs

Week 14 Final session, feedback, Q&A, Discussion

Bibliography:

Llaudet, E., & Imai, K. (2022). Data analysis for social science: A friendly and practical introduction. Princeton University Press.

Albert-László Barabási (2015). Network Science. Cambridge University Press (also here: networksciencebook.com)

Cunningham, S. (2021). Causal inference: The mixtape. Yale university press.

Lazer, D., Pentland, A., Adamic, L., Aral, S., Barabási, A. L., Brewer, D., … & Van Alstyne, M. (2009). Computational social science. Science, 323(5915), 721-723.

Flache, A., Mäs, M., Feliciani, T., Chattoe-Brown, E., Deffuant, G., Huet, S., & Lorenz, J. (2017). Models of social influence: Towards the next frontiers. Jasss-The journal of artificial societies and social simulation, 20(4), 2.

Lorenz-Spreen, P., Oswald, L., Lewandowsky, S., & Hertwig, R. (2023). A systematic review of worldwide causal and correlational evidence on digital media and democracy. Nature human behaviour, 7(1), 74-101.

Philipp Lorenz-Spreen
Philipp Lorenz-Spreen
Junior Research Group Leader