Text Algorithms in Economics
Open accessThe DOI matches its Crossref record; 90 of the 91 references it cites were found in a registry or an index, and 1 are not checked yet.
Abstract
This article provides an overview of the methods used for algorithmic text analysis in economics, with a focus on three key contributions. First, we introduce methods for representing documents as high-dimensional count vectors over vocabulary terms, for representing words as vectors, and for representing word sequences as embedding vectors. Second, we define four core empirical tasks that encompass most text-as-data research in economics and enumerate the various approaches that have been taken so far to accomplish these tasks. Finally, we flag limitations in the current literature, with a focus on the challenge of validating algorithmic output.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173
Glove: Global Vectors for Word Representation
Pennington, J., Socher, R., & Manning, C. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1162 · Cited by 34,071
(2003) · Journal of Machine Learning Research · doi:10.5555/944919.944937 · Cited by 32,337
Efficient Estimation of Word Representations in Vector Space
Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013) · arXiv · doi:10.48550/arxiv.1301.3781 · Cited by 26,568 · cited 8×
“Humans intuitively know how to adjust attention to words for prediction, yet GloVe and Word2Vec weight all words in the context window equally when constructing embeddings.”
InfluentialDistributed Representations of Words and Phrases and their Compositionality
Mikolov, T., Sutskever, I., Chen, K., Corrado, G., & Dean, J. (2013) · arXiv · doi:10.48550/arxiv.1310.4546 · Cited by 24,533
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
Coase, R. H. (1960) · The Journal of Law and Economics · doi:10.1086/466560 · Cited by 18,255 · cited 1×
“Classic examples include the works of Coase (1960),who analyzed legal cases to study how the law resolves externality problems, and of Friedman & Schwartz (1963), who pioneered the construction of policy surprises via historical documents.”
RoBERTa: A Robustly Optimized BERT Pretraining Approach
Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., & Stoyanov, V. (2019) · arXiv · doi:10.48550/arxiv.1907.11692 · Cited by 16,515
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
Sanh, V., Debut, L., Chaumond, J., & Wolf, T. (2019) · arXiv · doi:10.48550/arxiv.1910.01108 · Cited by 13,823
Indexing by latent semantic analysis
Deerwester, S., Dumais, S. T., Furnas, G. W., Landauer, T. K., & Harshman, R. (1990) · Journal of the American Society for Information Science · doi:10.1002/(sici)1097-4571(199009)41:6<391::aid-asi1>3.0.co;2-9 · Cited by 12,751
Research works printed but not linked: 45
- 2020, Flexible work arrangements in low wage jobs: evidence from job vacancy data
- 2021, Race-related research in economics and other social sciences
- 2023, Natural language processing for monetary economics: a benchmark
- 2009, Mostly Harmless Econometrics: An Empiricist's Companion
- 2016, A simple but tough-to-beat baseline for sentence embeddings
- 2. Ash E, Chen D, Naidu S. 2020a. Ideas have consequences: the impact of law and economics on American justice. Work. Pap. 4, Cent. Law Econ., ETH Zurich, Zurich, Switz.
- 3. Ash E, Chen DL, Ornaghi A. 2020b. Gender attitudes in the judiciary: evidence from U.S. circuit courts. Work. Pap., Univ. Warwick, Coventry, UK
- 4. Ash E, Durante R, Grebenschikova M, Schwarz C. 2021. Visual stereotypes in news media. CEPR Discuss. Pap. 16624, Cent. Econ. Policy Res., London
- 6. Ash E, Jacobs J, MacLeod B, Naidu S, Stammbach D. 2020c. Unsupervised extraction of workplace rights and duties from collective bargaining agreements. Paper presented at the 2nd International Workshop on Mining and Learning in the Legal Domain (MLLD-2020), online, Nov. 17-20
- 7. Ash E, Morelli M, Vannoni M. 2020d. More laws, more growth? Evidence from US states. Work. Pap. 15, Cent. Law Econ., ETH Zurich, Zurich, Switz.
- 9. Bahdanau D, Cho KH, Bengio Y. 2015. Neural machine translation by jointly learning to align and translate. Paper presented at the 3rd International Conference on Learning Representations, San Diego, CA, May 7-9
- 11. Bana SH. 2022. Work2vec: using language models to understand wage premia. Work. Pap., Stanford Univ., Stanford, CA
- 16. Besley T, Fetzer T, Mueller H. 2020. How big is the media multiplier? Evidence from dyadic news data. Unpublished manuscript, London Sch. Econ., London
- 17. Biasi B, Ma S. 2022. The education-innovation gap. NBER Work. Pap. 29853
- 19. Bloom N, Hassan TA, Kalyani A, Lerner J, Tahoun A. 2021. The diffusion of disruptive technologies. NBER Work. Pap. 28999
- 21. Boukus E, Rosenberg JV. 2006. The information content of FOMC minutes. Work. Pap., Fed. Reserve Bank New York, New York
- 24. Bybee L, Kelly BT, Manela A, Xiu D. 2021. Business news and business cycles. NBER Work. Pap. 29344
- 25. Byrne D, Goodhead R, McMahon M, Parle C. 2023a. Measuring the temporal dimension of text: an application to policymaker speeches. CEPR Discuss. Pap. 17931, Cent. Econ. Policy Res., London
- 26. Byrne D, Goodhead R, McMahon M, Parle C. 2023b. The Central Bank crystal ball: temporal information in monetary policy communication. CEPR Discuss. Pap. 17930, Cent. Econ. Policy Res., London
- 31. Cieslak A, Hansen S, McMahon M, Xiao S. 2021. Policymakers' uncertainty. Unpublished manuscript, Univ. Coll. London, London
- 33. Davis SJ, Hansen S, Seminario-Amez C. 2020. Firm-level risk exposures and stock returns in the wake of COVID-19. NBER Work. Pap. 27867
- 41. Djourelova M, Durante R, Martin G. 2021. The impact of online competition on local newspapers: evidence from the introduction of Craigslist. CESifo Work. Pap. 9090, CESifo, Munich, Ger.
- 42. Draca M, Schwarz C. 2018. How polarized are citizens? Measuring ideology from the ground-up. Warwick Econ. Res. Pap. Ser. 1218, Univ. Warwick, Coventry, UK
- 46. Friedman M, Schwartz AJ. 1963. A Monetary History of the United States: 1867-1960. Princeton, NJ: Princeton Univ. Press
- 53. Goldberg Y. 2017. Neural Network Methods for Natural Language Processing. San Rafael, CA: Morgan & Claypool Griffiths TL, Steyvers M. 2004. Finding scientific topics. PNAS 101(Suppl. 1):5228-35
- 54. Grimmer J, Roberts ME, Stewart BM. 2022. Text as Data: A New Framework for Machine Learning and the Social Sciences. Princeton, NJ: Princeton Univ. Press
- 57. Hansen S, Lambert PJ, Bloom N, Davis SJ, Sadun R, Taska B. 2023. Remote work across jobs, companies, and space. NBER Work. Pap. 31007
- 60. Hansen S, Ramdas T, Sadun R, Fuller J. 2021. The demand for executive skills. NBER Work. Pap. 28959
- 62. Hastie T, Tibshirani R, Friedman J. 2009. The Elements of Statistical Learning. New York: Springer
- 66. Jha M, Liu H, Manela A. 2022. Does finance benefit society? A language embedding approach. Work. Pap., Wash. Univ. St. Louis, St. Louis, MO
- 69. Ke S, Olea JLM, Nesbit J. 2021. Robust machine learning algorithms for text analysis. Unpublished manuscript, Yale Sch. Manag., Yale Univ., New Haven, CT
- 70. Ke ZT, Kelly B, Xiu D. 2019. Predicting returns with text data. NBER Work. Pap. 26186
- 75. Kogan L, Papanikolaou D, Schmidt L, Seegmiller B. 2019. Technology, vintage-specific human capital, and labor displacement: evidence from linking patents with occupations. NBER Work. Pap. 29552
- 78. Levy O, Goldberg Y. 2014. Dependency-based word embeddings. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, Vol. 2, pp. 302-8. Stroudsburg, PA: ACL
- 83. Manning CD, Raghavan P, Schütze H. 2008. Introduction to Information Retrieval. New York: Cambridge Univ. Press
- 84. Mastrorocco N, Ornaghi A. 2020. Who watches the watchmen? Local news and police behavior in the United States. Work. Pap., Dep. Econ., Univ. Warwick, Coventry, UK
- 85. McAuliffe J, Blei D. 2007. Supervised topic models. Adv. Neural Inf. Process. Syst. 20. https://papers.nips.cc/ paper_files/paper/2007/file/d56b9fc4b0f1be8871f5e1c40c0067e7-Paper.pdf
- 88. Monarch RM. 2021. Human-in-the-Loop Machine Learning: Active Learning and Annotation for Human-Centered AI. Shelter Island, NY: Manning
- 2001, On discriminative versus generative classifiers: a comparison of logistic regression and naive Bayes, 841
- 98. Radford A, Narasimhan K, Salimans T, Sutskever I. 2018. Improving language understanding by generative pre- training. Work. Pap., OpenAI, San Francisco, CA
- 105. Rydning J. 2021. Worldwide global datasphere and global storagesphere structured and unstructured data forecast, 2021-2025. Market Forecast, Int. Data Corp., Needham, MA
- 119. Truffa F, Wong A. 2022. Undergraduate gender diversity and direction of scientific research. Work. Pap., Stanford Univ., Stanford, CA
- 121. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, et al. 2017. Attention is all you need. In NIPS'17: Proceedings of the 31st International Conference on Neural Information Processing Systems, pp. 6000-10. New York: ACM
- 122. Wallach H, Mimno D, McCallum A. 2009. Rethinking LDA: why priors matter. Adv. Neural Inf. Process. Syst. 22. https://papers.nips.cc/paper_files/paper/2009/file/0d0871f0806eae32d30983b62252da50- Paper.pdf
- 124. Widmer P, Galletta S, Ash E. 2020. Media slant is contagious. Work. Pap. 14, Cent. Law Econ., ETH Zurich, Zurich, Switz.
Cited by
Generative artificial intelligence enhances creativity but reduces the diversity of novel content
Doshi, A., & Hauser, O. (2023) · doi:10.2139/ssrn.4535536 · Cited by 1,350
The Crowdless Future? Generative AI and Creative Problem Solving
Boussioux, L., N. Lane, J., Zhang, M., Jacimovic, V., & Lakhani, K. R. (2023) · doi:10.2139/ssrn.4533642 · Cited by 343
The Crowdless Future? Generative AI and Creative Problem-Solving
Boussioux, L., Lane, J. N., Zhang, M., Jacimovic, V., & Lakhani, K. R. (2024) · Organization Science · doi:10.1287/orsc.2023.18430 · Cited by 329
“Transformers utilize self-attention mechanisms, which allow the model to weigh the importance of different tokens within a sequence, enabling it to capture long-range dependencies and context more effectively (Ash and Hansen 2023, Bahdanau et al. 2014).”
BackgroundRemote Work Across Jobs, Companies and Space
Hansen, S. E., Lambert, P. J., Bloom, N., Davis, S. J., Muvdi, Y., Sadun, R., & Taska, B. (2023) · Federal Reserve Bank of Dallas, Working Papers · doi:10.24149/wp2629 · Cited by 127
Self-citationMeasuring What is Top of MindPreprint
Haaland, I., Roth, C., Stantcheva, S., & Wohlfart, J. (2024) · SSRN Electronic Journal · doi:10.2139/ssrn.4827419 · Cited by 82
Metadata
- Authors
- Ash, E., & Hansen, S.
- Affiliations
- ETH Zurich (CH)
- Centre for Economic Policy Research (GB)
- Corresponding author
- Hansen, Stephen
- Venue
- Annual Review of Economics
- Publisher
- Annual Reviews
- Published
- 2023-09-13
- Volume
- 15
- Issue
- 1
- Pages
- 659-688
- ISSN
- 1941-1383 (ISSN-L)
- 1941-1391
- OpenAlex
- W4383198328
- Semantic Scholar
- 4676080dc74c542ee877c8395a0881c1f73692da
- Cited by
- 197
- References
- 84
- Citations by year
- 2026: 46 · 2025: 78 · 2024: 48 · 2023: 18
- FWCI
- 10.23
- Type
- journal article
- Language
- en
- Open access
- hybrid
- doi.org
- Locations
- Annual Review of Economics (publishedVersion, cc-by)
- UCL Discovery (University College London) (submittedVersion, cc-by)
- Repository for Publications and Research Data (ETH Zurich) (submittedVersion, cc-by)
- ETH Zürich Research Collection
- Funders
- University College London
- H2020 European Research Council (864863)
- Topics
- Social Sciences › General Social Sciences › Computational and Text Analysis Methods
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Sentiment Analysis and Opinion Mining
- Keywords
- text-as-data, document representation, word embeddings
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.



