The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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

Version: 1.2
Imports: Rcpp, RcppArmadillo, glmnet, matrixStats, slam, foreach, doParallel, parallel, stm, Matrix, mvtnorm, ggplot2
LinkingTo: Rcpp, RcppArmadillo
Suggests: tm
Published: 2024-11-25
DOI: 10.32614/CRAN.package.sts
Author: Shawn Mankad [aut, cre], Li Chen [aut]
Maintainer: Shawn Mankad <smankad at ncsu.edu>
License: MIT + file LICENSE
NeedsCompilation: yes
CRAN checks: sts results

Documentation:

Reference manual: sts.pdf

Downloads:

Package source: sts_1.2.tar.gz
Windows binaries: r-devel: sts_1.2.zip, r-release: sts_1.2.zip, r-oldrel: sts_1.2.zip
macOS binaries: r-release (arm64): sts_1.2.tgz, r-oldrel (arm64): sts_1.2.tgz, r-release (x86_64): sts_1.2.tgz, r-oldrel (x86_64): sts_1.2.tgz
Old sources: sts archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sts to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.