Estimation of the Structural Topic Model


[Up] [Top]

Documentation for package ‘stm’ version 1.0.8

Help Pages

stm-package Structural Topic Model
checkBeta Looks for words that load exclusively onto a topic
checkResiduals Residual dispersion test for topic number
cloud Plot a wordcloud
estimateEffect Estimates regressions using an STM object
eval.heldout Heldout Likelihood by Document Completion
findThoughts Find Thoughts
gadarian Gadarian and Albertson data
gadarianFit Gadarian and Albertson data
labelTopics Label topics
make.heldout Heldout Likelihood by Document Completion
manyTopics Performs model selection across separate STM's that each assume different numbers of topics.
multiSTM Analyze Stability of Local STM Mode
permutationTest Permutation test of a binary covariate.
plot.estimateEffect Plot effect of covariates on topics
plot.findThoughts Find Thoughts
plot.MultimodDiagnostic Plotting Method for Multimodality Diagnostic Objects
plot.searchK Plots diagnostic values resulting from searchK
plot.STM Plot summary of an STM object
plot.STMpermute Plot an STM permutation test.
plot.topicCorr Plot a topic correlation graph
plotModels Plots semantic coherence and exclusivity for high likelihood models outputted from selectModel.
plotQuote Plots strings
plotRemoved Plot documents, words and tokens removed at various word thresholds
plotTopicLoess Plot some effects with loess
poliblog5k CMU 2008 Political Blog Corpus
poliblog5k.docs CMU 2008 Political Blog Corpus
poliblog5k.meta CMU 2008 Political Blog Corpus
poliblog5k.voc CMU 2008 Political Blog Corpus
prepDocuments Prepare documents for analysis with 'stm'
print.findThoughts Find Thoughts
print.labelTopics Label topics
print.MultimodDiagnostic Analyze Stability of Local STM Mode
print.sageLabels Displays verbose labels that describe topics and topic-covariate groups in depth.
print.STM Summary Function for the STM objects
readCorpus Read in a corpus file.
s Make a B-spline Basis Function
sageLabels Displays verbose labels that describe topics and topic-covariate groups in depth.
searchK Computes diagnostic values for models with different values of K (number of topics).
selectModel Assists the user in selecting the best STM model.
stm Variational EM for the Structural Topic Model
summary.STM Summary Function for the STM objects
textProcessor Process a vector of raw texts
thetaPosterior Draw from Theta Posterior
topicCorr Estimate topic correlation
topicQuality Plots semantic coherence and exclusivity for each topic.
writeLdac Write a .ldac file