OBME 2185 - Computational Methods for Social Science with Python

OBME 2185 · Spring semester 2026-2027

Level of study
Master
Language of tuition
English
Course type
Cours séminaire
Number of hours
48
Credits
6

Information

Description

This course introduces to computational methods for social science research. It combines basic Python programming with practical training in data extraction, cleaning, visualization, and analysis, before introducing a range of computational approaches, including network analysis, machine learning, text mining, natural language processing, and large language models. The course emphasizes understanding what different methods can do, when they are appropriate, and how they can be used to address social science research questions. Through hands-on Python applications, students will progressively develop the skills needed to conduct a basic computational analysis, from working with raw data to preliminary empirical analysis. They will apply the methods learned throughout the course in a final group mini-hackathon, where they conduct a small empirical analysis and present their preliminary findings.

Learning Outcomes

By the end of the course, students should be able to:

  1. Understand and select computational methods: develop an overview of key methods used in computational social science and identify appropriate methods for different types of research questions and data.
  2. Understand contemporary computational methods: gain an introduction to recent developments in machine learning, natural language processing, and large language models

Professional Skills

  1. Use Python for basic data analysis: perform basic operations in Python and read and understand more complex code with the help of relevant documentation.
  2. Conduct a small computational analysis: carry out a basic research workflow, from data extraction and cleaning to visualization and preliminary analysis.

Prerequisites

No prior experience with Python is required. However, students are expected to have a good understanding of basic statistics (including linear regression) and basic computer skills, such as unzipping files and using keyboard shortcuts.

Students need to bring a laptop with a stable internet connection and a recent web browser.

Teaching format

Each session will consist of a one-hour interactive lecture followed by a one-hour tutorial, during which students will practice using Python and have the opportunity to ask questions. Students will receive ongoing formative feedback through in-class exercises and discussions, individual feedback on tests, and instructor and peer feedback on their group project and presentation.

Assessment

  • Two in-class tests: one assessing Python proficiency (Week 6) and one assessing knowledge of computational methods (Week 11). Each test accounts for 30% of the final grade (60% combined).
  • Group analysis and presentation during the hackathon (Week 12), representing 30% of the final grade.
  • Class participation throughout the course, accounting for 10%.

Workload

  • In Class Presence: 2 hours a week / 24 hours a semester
  • Online Python learning activities: 4 hours a week / 48 hours a semester
  • Reading and Preparation for Class: 2 hours a week / 24 hours a semester
  • Preparation for the in-class tests : 24 hours a semester
  • Research and Preparation for final Hackathon: 24 hours a semester

Readings

Main readings 4

  1. 1. Hogan, B. (2023). From Social Science to Data Science. SAGE Publications Ltd. https://doi.org/10.4135/9781036212902

  2. 2. McLevey, J. (2022). Doing Computational Social Science. SAGE Publications Ltd. https://doi.org/10.4135/9781036212889

  3. 3. Molina, M., & Garip, F. (2019). Machine Learning for Sociology. Annual Review of Sociology, 45(1), 27–45. https://doi.org/10.1146/annurev-soc-073117-041106

  4. 4. Vanderplas, J. T. (2022). Python data science handbook: Essential tools for working with data (Second edition). O’Reilly Media.

Further readings 4

  1. 1. Hofman, J. M., Watts, D. J., Athey, S., Garip, F., Griffiths, T. L., Kleinberg, J., Margetts, H., Mullainathan, S., Salganik, M. J., Vazire, S., Vespignani, A., & Yarkoni, T. (2021). Integrating explanation and prediction in computational social science. Nature, 595(7866), 181–188. https://doi.org/10.1038/s41586-021-03659-0

  2. 2. Macanovic, A. (2022). Text Mining for Social Science – The State and the Future of Computational Text Analysis in Sociology. Social Science Research, 108, 102784. https://doi.org/10.1016/j.ssresearch.2022.102784

  3. 3. Salganik, M. J., Lundberg, I., Kindel, A. T., Ahearn, C. E., Al-Ghoneim, K., Almaatouq, A., Altschul, D. M., Brand, J. E., Carnegie, N. B., Compton, R. J., Datta, D., Davidson, T., Filippova, A., Gilroy, C., Goode, B. J., Jahani, E., Kashyap, R., Kirchner, A., McKay, S., … McLanahan, S. (2020). Measuring the predictability of life outcomes with a scientific mass collaboration. Proceedings of the National Academy of Sciences, 117(15), 8398–8403. https://doi.org/10.1073/pnas.1915006117

  4. 4. Watts, D. J. (2014). Common Sense and Sociological Explanations. American Journal of Sociology, 120(2), 313–351. https://doi.org/10.1086/678271

Teaching units

Unit no.Unit type Teaching unitsTeachers Number of hoursCredits
54330Cours séminaire Computational Methods for Social Science with Python Marie LABUSSIÈRE246
57454Tutorat Groupe Classification and Machine Learning for Social Research —240

Teachers

  • Marie LABUSSIÈRE

In the curricula

Contacts and resources

Contact
ZANIRATO Tiziana