Other packages > Find by keyword >

stm  

Estimation of the Structural Topic Model
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("stm", "1.3.7")



Attach the package and use:
library("stm")
Maintained by
Brandon Stewart
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2014-02-28
Latest Update: 2023-12-01
Description:
The Structural Topic Model (STM) allows researchers to estimate topic models with document-level covariates. The package also includes tools for model selection, visualization, and estimation of topic-covariate regressions. Methods developed in Roberts et. al. (2014) <doi:10.1111/ajps.12103> and Roberts et. al. (2016) <doi:10.1080/01621459.2016.1141684>. Vignette is Roberts et. al. (2019) <doi:10.18637/jss.v091.i02>.
How to cite:
Brandon Stewart (2014). stm: Estimation of the Structural Topic Model. R package version 1.3.7, https://cran.r-project.org/web/packages/stm. Accessed 22 Dec. 2024.
Previous versions and publish date:
0.6.1 (2014-02-28 17:55), 0.6.12 (2014-05-14 17:18), 0.6.16 (2014-05-30 17:33), 0.6.24 (2014-06-30 18:55), 1.0.0 (2014-10-03 00:52), 1.0.1 (2014-10-04 18:02), 1.0.8 (2014-11-08 01:57), 1.1.0 (2015-07-28 00:25), 1.1.3 (2016-01-15 00:09), 1.2.1 (2017-03-07 01:27), 1.2.2 (2017-03-28 23:10), 1.3.0 (2017-09-09 23:53), 1.3.3 (2018-01-28 22:13), 1.3.4 (2019-10-30 10:00), 1.3.5 (2019-12-17 13:50), 1.3.6.1 (2023-08-21 09:00), 1.3.6 (2020-09-18 15:50)
Other packages that cited stm R package
View stm citation profile
Other R packages that stm depends, imports, suggests or enhances
Complete documentation for stm
Functions, R codes and Examples using the stm R package
Some associated functions: alignCorpus . asSTMCorpus . calcfrex . calclift . calcscore . checkBeta . checkResiduals . cloud . convertCorpus . estimateEffect . exclusivity . findThoughts . findTopic . fitNewDocuments . gadarian . js.estimate . labelTopics . make.dt . make.heldout . makeDesignMatrix . manyTopics . multiSTM . optimizeDocument . permutationTest . plot.MultimodDiagnostic . plot.STM . plot.STMpermute . plot.estimateEffect . plot.searchK . plot.topicCorr . plotModels . plotQuote . plotRemoved . plotTopicLoess . poliblog5k . prepDocuments . readCorpus . readLdac . rmvnorm . s . sageLabels . searchK . selectModel . semanticCoherence . stm-package . stm . summary.STM . summary.estimateEffect . textProcessor . thetaPosterior . toLDAvis . toLDAvisJson . topicCorr . topicLasso . topicQuality . unpack.glmnet . writeLdac . 
Some associated R codes: RcppExports.R . STMconvergence.R . STMestep.R . STMfunctions.R . STMinit.R . STMlncpp.R . STMmnreg.R . STMmu.R . STMoptbeta.R . STMreport.R . STMsigma.R . alignCorpus.R . asSTMCorpus.R . checkBeta.R . cloud.R . convertCorpus.R . estimateEffect.R . exclusivity.R . findThoughts.R . findTopic.R . fitNewDocuments.R . heldout.R . jeffreyskappa.R . labelTopics.R . makeDesignMatrix.R . manyTopics.R . multiSTM.R . permute.R . plot.STM.R . plot.estimateEffect.R . plot.searchK.R . plotModels.R . plotQuote.R . plotRemoved.R . plotTopicLoess.R . plottingutilfns.R . prepDocuments.R . produce_cmatrix.R . readCorpus.R . residuals.R . s.R . sageLabels.R . searchK.R . selectModel.R . semanticCoherence.R . simBetas.R . spectral.R . stm-package.R . stm.R . stm.control.R . summary.STM.R . tau.R . textProcessor.R . thetaPosterior.R . toLDAvis.R . topicCorr.R . topicLasso.R . topicQuality.R . writeLdac.R . zzz.R .  Full stm package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  
LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)
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  
tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
Download / Learn more Package Citations See dependency  
elect  
Estimation of Life Expectancies Using Multi-State Models
Functions to compute state-specific and marginal life expectancies. The computation is based on a fi ...
Download / Learn more Package Citations See dependency  
composits  
Compositional, Multivariate and Univariate Time Series Outlier Ensemble
A compositional multivariate and univariate time series outlier ensemble.It uses the four R packages ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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