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 05 Jun. 2026.
Previous versions and publish date:
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

envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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