Other packages > Find by keyword >

sts  

Estimation of the Structural Topic and Sentiment-Discourse Model for Text Analysis
View on CRAN: Click here


Download and install sts package within the R console
Install from CRAN:
install.packages("sts")

Install from Github:
library("remotes")
install_github("cran/sts")

Install by package version:
library("remotes")
install_version("sts", "1.4")



Attach the package and use:
library("sts")
Maintained by
Shawn Mankad
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-09-17
Latest Update: 2025-01-25
Description:
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 Li and Mankad (2024) <doi:10.2139/ssrn.4020651>.
How to cite:
Shawn Mankad (2024). sts: Estimation of the Structural Topic and Sentiment-Discourse Model for Text Analysis. R package version 1.4, https://cran.r-project.org/web/packages/sts. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:10), 1.0 (2024-09-17 13:50), 1.1 (2024-11-06 17:10), 1.2 (2024-11-25 17:00), 1.3 (2025-01-17 19:30)
Other packages that cited sts R package
View sts citation profile
Other R packages that sts depends, imports, suggests or enhances
Complete documentation for sts
Functions, R codes and Examples using the sts R package
Full sts package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA