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 07 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

BayesESS  
Determining Effective Sample Size
Determines effective sample size of a parametric prior distribution in Bayesian models. For a web-b ...
Download / Learn more Package Citations See dependency  
bbricks  
Bayesian Methods and Graphical Model Structures for Statistical Modeling
A set of frequently used Bayesian parametric and nonparametric model structures, as well as a set of ...
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  
enrichwith  
Methods to Enrich R Objects with Extra Components
Provides the "enrich" method to enrich list-like R objects with new, relevant components. The curren ...
Download / Learn more Package Citations See dependency  
modelwordcloud  
Model Word Clouds
Makes a word cloud of text, sized by the frequency of the word, and colored either by user-specified ...
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