Flexibly estimate a topic model that includes document-level metadata.
This course demonstrates how to use the Structural Topic Model stm
R package. 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.
Heuristic description of selected stm package features.
Reading and processing text data.
Associating text with metadata.
Estimating the structural topic model.
Model selection and search.
Interpreting the STM by plotting and inspecting results.
Presenting STM results.
Changing basic estimation defaults.
Altering the prior structure.
For attribution, please cite this work as
Warin (2020, March 23). Thierry Warin, PhD: [R Course] Structural Topic Model: stm R package. Retrieved from https://warin.ca/posts/rcourse-structural-topic-model/
BibTeX citation
@misc{warin2020[r, author = {Warin, Thierry}, title = {Thierry Warin, PhD: [R Course] Structural Topic Model: stm R package}, url = {https://warin.ca/posts/rcourse-structural-topic-model/}, year = {2020} }