Preparation |
|
---|---|
Read texts |
|
Convert a quanteda dictionary to keywords |
|
Visualize keywords |
|
Fitting models |
|
keyATM main function |
|
keyATM with Collapsed Variational Bayes |
|
Weighted LDA main function |
|
Checking results |
|
Show a diagnosis plot of alpha |
|
Show a diagnosis plot of log-likelihood and perplexity |
|
Show a diagnosis plot of pi |
|
Show the top documents for each topic |
|
Show the top topics for each document |
|
Show the top words for each topic |
|
Making plots |
|
Show a diagnosis plot of alpha |
|
Show a diagnosis plot of log-likelihood and perplexity |
|
Show a diagnosis plot of pi |
|
Plot time trend |
|
Show the expected proportion of the corpus belonging to each topic |
|
Save a figure |
|
Get values used to create a figure |
|
Additional analyses |
|
Estimate document-topic distribution by strata (for covariate models) |
|
Estimate subsetted topic-word distribution |
|
Return covariates used in the iteration |
|
Show covariates information |
|
Plot document-topic distribution by strata (for covariate models) |
|
Predict topic proportions for the covariate keyATM |
|
Diagnostics |
|
Semantic Coherence: Mimno et al. (2011) |
|
Built-in data |
|
Bills data |
|
Misc. |
|
Keyword Assisted Topic Models |
|
Run multinomial regression with Polya-Gamma augmentation |