Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Margaret E. Roberts, Brandon M. Stewart, Dustin Tingley
Title: stm: An R Package for Structural Topic Models
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.

Page views:: 9542. Submitted: 2016-01-19. Published: 2019-10-31.
Paper: stm: An R Package for Structural Topic Models     Download PDF (Downloads: 4055)
stm_1.3.4.tar.gz: R source package Download (Downloads: 207; 1MB)
v91i02.R: R replication code Download (Downloads: 345; 5KB)
v91i02-table1.R: R replication code (Table 1) Download (Downloads: 233; 3KB) Supplementary data (CSV within a ZIP file) Download (Downloads: 258; 13MB)
results.rda: Binary R data with fitted models Download (Downloads: 170; 50MB)

DOI: 10.18637/jss.v091.i02

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.