Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, 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:: 661. Submitted: 2016-01-19. Published: 2019-10-31.
Paper: stm: An R Package for Structural Topic Models     Download PDF (Downloads: 210)
Supplements:
stm_1.3.4.tar.gz: R source package Download (Downloads: 12; 1MB)
v91i02.R: R replication code Download (Downloads: 16; 5KB)
v91i02-table1.R: R replication code (Table 1) Download (Downloads: 13; 3KB)
poliblogs2008.zip: Supplementary data (CSV within a ZIP file) Download (Downloads: 13; 13MB)
results.rda: Binary R data with fitted models Download (Downloads: 13; 50MB)

DOI: 10.18637/jss.v091.i02

by
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.