Statistical Text Analysis


SNF-Förderungsprofessur für Öffentliches Recht, Völkerrecht, Rechtsphilosophie und Empirische Rechtsforschung (Prof. Dr. Tilmann Altwicker)


This online course aims to teach competences in text mining and statistics. It is aimed at advanced students.who intend to use these skills to design and conduct simple empirical projects based on text data, for example as part of their masters thesis or dissertation.

The course is purely conducted online, course language is German.

Course structure:

- Basics of the Python programming language

- Preparing texts (esp.: Extracting word types and sentence parts, stemming, n-grams, finding text parts with regular expressions)

- Analyzing texts (esp.: concordances, finding similar texts with TF-IDF, sentiment analysis)

- Statistical evaluation of results

In addition, students will choose one from three proposed capstone exercises. 

Target group

The course is aimed at students of non-technical disciplines, i.e., those where courses in statistics or computer science are currently not usually part of the curriculum. The primary target groups are students from the Faculties of Law, Theology and Philosophy.  

Course dates

The course is conducted exclusively online, there are no fixed weekly appointments.

Assessment / ECTS Credits

The assessment consists of a multiple choice part (online) and a capstone exercise which must be handed in to the lecturers.