Site icon HEYAYEH

The Case for NLP in Economics

*NLP stands for natural language processing, which encompasses a whole range of computational tools used for analyzing and drawing insights from written text. Though slight differences in convention exist, the term is used somewhat interchangeably with textual analysis and computational linguistics.

From time to time, I hear from researchers – from graduate students to economists working in industry to established tenured professors—interested in applying natural language processing tools in the context of serious, rigorous economics. The questions are usually multiple and combine gently personal inquiries (Whatever inspired you to pursue these two skill sets that are frequently described in opposition to one another? How can I build a career that does that too?) with technical ones (How can I measure sentiment in a corpus of news documents? How do I demonstrate that what NLP algorithms find is statistically significant?). A more pointed version emerges on the job market: “How do you reconcile the value your economics degree places on identifying causation with tools that only identify correlation?”

The short answer is that much of modern economics too is based on statistical regression, itself just a tool for measuring correlation. What empowers us to draw economic conclusions about which conditions cause which outcomes is that we have developed sophisticated practices for tying these regressions to our economic models, for designing targeted data collections, for overcoming sources of error, all for the sake of empowering the correlations (or a lack thereof) in our regressions to tell a meaningful story about the relative likelihood of alternative explanations. The case for using NLP tools in economics is part of this bigger picture. And, it also presents a strong argument for the potential economists have to help make computational linguistics – already a field with many applications – into a much more powerful toolset for understanding behavior and predicting outcomes.

As summarized above, natural language processing encompasses a whole range of computational tools for analyzing and drawing insights from “naturally” (i.e. human) generated text. While early attempts at NLP used strict rules of interpretation to enable computers to communicate with people in very simplified language (anyone remember the text-based game Zork that circulated in the 1980s?), many of today’s most powerful NLP algorithms find meaningful content by statistical inference. They identify features of documents (words, phrasings, and combinations thereof) that correlate to external information such as human ratings and classifications, individual decisions, and other outcomes. The result is that each document in a corpus can be represented as a vector of features with associated meanings. These vectors can be used to evaluate the probability that a certain sentiment is expressed in a document, or that a particular issue is discussed. These same vectors form the basis for many of today’s search engine and autocorrect algorithms, but they can also be used to study individual decisions and other outcomes.

Given all of this, NLP tools can empower economists in a number of ways:

So there’s an outline of the case I see for incorporating more natural language processing into economics.

But there’s something else too: The New York Times recently featured an article about the Rate My Professor study called “Is the Professor Bossy or Brilliant? Much Depends on Gender.” While Ben Schmidt’s textual analysis raises a number of questions related to a growing literature on women in the workforce and academia, on its own it doesn’t show dependence. After all, there could be a significant selection bias among who opts to use the Rate My Professor website. A good economist might ask whether the data really suggest that women professors get more attention for their looks or if some of the phenomenon is due to the website having a male-leaning audience in a world in which members of both genders pay greater attention to looks of professors of the opposite gender. This is just one example, but it’s the kind of question that economics is good at raising and addressing, and it’s why NLP also needs economists.

Exit mobile version