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

robregcc  
Robust Regression with Compositional Covariates
We implement the algorithm estimating the parameters of the robust regression model with composition ...
Download / Learn more Package Citations See dependency  
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  
bacondecomp  
Goodman-Bacon Decomposition
Decomposition for differences-in-differences with variation in treatment timing from Goodman-Bacon ...
Download / Learn more Package Citations See dependency  
con2aqi  
Calculate the AQI from Pollutant Concentration
To calculate the AQI (Air Quality Index) from pollutant concentration data. O3, PM2.5, PM10, CO, SO ...
Download / Learn more Package Citations See dependency  

23,092

R Packages

198,677

Dependencies

62,675

Author Associations

23,089

Publication Badges

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