Comparing with Python: Text Analysis in Stata

07/19/2023
by   Xiangtai Zuo, et al.
0

Text analysis is the process of constructing structured data from unstructured textual content, usually implemented in Python. In terms of the principles of text analysis, a computer program with the ability to read a file and match it with a regular expression is all that is needed for basic text analysis. However, few researchers have used Stata as their main text analysis tool. In this paper, I will take a step-by-step approach to the practical process, giving examples of how text analysis can be performed with Stata, and comparing the code and running time with Python.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset