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 Mar. 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

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
ReviewR  
A Light-Weight, Portable Tool for Reviewing Individual Patient Records
A portable Shiny tool to explore patient-level electronic health record data and perform chart revi ...
Download / Learn more Package Citations See dependency  
lmSubsets  
Exact Variable-Subset Selection in Linear Regression
Exact and approximation algorithms for variable-subset selection in ordinary linear regression mode ...
Download / Learn more Package Citations See dependency  
SAMtool  
Stock Assessment Methods Toolkit
Simulation tools for closed-loop simulation are provided for the 'MSEtool' operating model to inform ...
Download / Learn more Package Citations See dependency  
portalr  
Create Useful Summaries of the Portal Data
Download and generate summaries for the rodent, plant, ant, and weather data from the Portal Projec ...
Download / Learn more Package Citations See dependency  
testDriveR  
Teaching Data for Statistics and Data Science
Provides data sets for teaching statistics and data science courses. It includes a sample of data f ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

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