Crandore Hub

sts

Estimation of the Structural Topic and Sentiment-Discourse Model for Text Analysis

The Structural Topic and Sentiment-Discourse (STS) model allows researchers to estimate topic models with document-level metadata that determines both topic prevalence and sentiment-discourse. The sentiment-discourse is modeled as a document-level latent variable for each topic that modulates the word frequency within a topic. These latent topic sentiment-discourse variables are controlled by the document-level metadata. The STS model can be useful for regression analysis with text data in addition to topic modeling’s traditional use of descriptive analysis. The method was developed in Chen and Mankad (2024) <doi:10.1287/mnsc.2022.00261>.

Versions across snapshots

VersionRepositoryFileSize
1.4 rolling linux/jammy R-4.5 sts_1.4.tar.gz 367.8 KiB
1.4 rolling linux/noble R-4.5 sts_1.4.tar.gz 373.0 KiB
1.4 rolling source/ R- sts_1.4.tar.gz 834.5 KiB
1.4 latest linux/jammy R-4.5 sts_1.4.tar.gz 367.8 KiB
1.4 latest linux/noble R-4.5 sts_1.4.tar.gz 373.0 KiB
1.4 latest source/ R- sts_1.4.tar.gz 834.5 KiB
1.4 2026-04-26 source/ R- sts_1.4.tar.gz 834.5 KiB
1.4 2026-04-23 source/ R- sts_1.4.tar.gz 834.5 KiB
1.4 2026-04-09 windows/windows R-4.5 sts_1.4.zip 694.4 KiB
1.4 2025-04-20 source/ R- sts_1.4.tar.gz 834.5 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests