GESIS Training Courses
user_jsdisabled
Search

Scientific Coordination

Dr.
Sabina Haveric

Administrative Coordination

Claudia O'Donovan-Bellante
Tel: +49 621 1246-221

Topic Modeling

Lecturer(s):
Dr. Kasper Welbers, Dr. Wouter van Atteveldt

Date: 11.11 - 13.11.2020 ics-file

Location: Mannheim B2, 8 / Course language: English

About the lecturer

Course description

This workshop will give an introduction to topic modeling using R. The first day of the workshop we will introduce R, Rstudio, and tidyverse. This day can be safely skipped by students or researchers with experience in using R.
 
In the second day, we will introduce topic modeling and the principles of automatic text analysis and topic modeling. We will explain the basic assumptions of bag-of-words analysis, unsupervised clustering, and the dirichlet distribution. We will use the quanteda and topicmodels packages for doing the analyses and LDAviz and corpustools for visualization and validation.

The third and final day we will first look in depth at how fitting an LDA model with Gibbs sampling actually works and look at the various parameters and choices. We will also look at linguistic preprocessing using the spacy package. Finally, we will introduce alternative topic models, from Dynamic and Correlated topic models to Structural Topic Models. We will use the stm package to show how to estimate a structural topic model with time or source as covariates, and show how to analyse and interpret the results.


Learning objectives

Students participating in the first day will learn the basics of R. All students will understand the principles and working of topic modeling and (unsupservised) text analysis in general. Students will be able to use R for running LDA and Structural Topic Models, and interpret and visualize the results.


Prerequisites

No specific prior knowledge is required, but a basic knowledge of math and statistics will help understand the algorithms. Participants without knowledge of R are strongly advised to install R and RStudio beforehand and make themselves familiar with the software. All participants are advised to browse through chapters 9-16 of R4DS (https://r4ds.had.co.nz/.).


Schedule

Recommended readings

More Information