Stm: An R package for structural topic models

Margaret E. Roberts, Brandon M. Stewart, Dustin Tingley

Research output: Contribution to journalArticlepeer-review

803 Scopus citations

Abstract

This paper demonstrates how to use the R package stm for structural topic modeling. The structural topic model allows researchers to flexibly estimate a topic model that includes document-level metadata. Estimation is accomplished through a fast variational approximation. The stm package provides many useful features, including rich ways to explore topics, estimate uncertainty, and visualize quantities of interest.

Original languageEnglish (US)
JournalJournal of Statistical Software
Volume91
DOIs
StatePublished - 2019

All Science Journal Classification (ASJC) codes

  • Software
  • Statistics and Probability
  • Statistics, Probability and Uncertainty

Keywords

  • LDA
  • R
  • Stm
  • Structural topic model
  • Text analysis

Fingerprint

Dive into the research topics of 'Stm: An R package for structural topic models'. Together they form a unique fingerprint.

Cite this