IDEAS home Printed from https://ideas.repec.org/p/pra/mprapa/126675.html

This Candidate is [MASK]. Prompt-based Sentiment Extraction and Reference Letters

Author

Listed:
  • Slonimczyk, Fabian

Abstract

I propose a relatively simple way to deploy pre-trained large language models (LLMs) in order to extract sentiment and other useful features from text data. The method, which I refer to as prompt-based sentiment extraction, offers multiple advantages over other methods used in economics and finance. In particular, it accepts the text input as is (without preprocessing) and produces a sentiment score that has a probability interpretation. Unlike other LLM-based approaches, it does not require any fine-tuning or labeled data. I apply my prompt-based strategy to a hand-collected corpus of confidential reference letters (RLs). I show that the sentiment contents of RLs are clearly reflected in job market outcomes. Candidates with higher average sentiment in their RLs perform markedly better regardless of the measure of success chosen. Moreover, I show that sentiment dispersion among letter writers negatively affects the job market candidate’s performance. I compare my sentiment extraction approach to other commonly used methods for sentiment analysis: ‘bag-of-words’ approaches, fine-tuned language models, and querying advanced chatbots. No other method can fully reproduce the results obtained by prompt-based sentiment extraction. Finally, I slightly modify the method to obtain ‘gendered’ sentiment scores (as in Eberhardt et al., 2023). I show that RLs written for female candidates emphasize ‘grindstone’ personality traits, whereas male candidates’ letters emphasize ‘standout’ traits. These gender differences negatively affect women’s job market outcomes.

Suggested Citation

  • Slonimczyk, Fabian, 2025. "This Candidate is [MASK]. Prompt-based Sentiment Extraction and Reference Letters," MPRA Paper 126675, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:126675
    as

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/126675/1/MPRA_paper_126675.pdf
    File Function: original version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Dario Caldara & Matteo Iacoviello, 2022. "Measuring Geopolitical Risk," American Economic Review, American Economic Association, vol. 112(4), pages 1194-1225, April.
    2. Peter Coles & John Cawley & Phillip B. Levine & Muriel Niederle & Alvin E. Roth & John J. Siegfried, 2010. "The Job Market for New Economists: A Market Design Perspective," Journal of Economic Perspectives, American Economic Association, vol. 24(4), pages 187-206, Fall.
    3. Andres Algaba & David Ardia & Keven Bluteau & Samuel Borms & Kris Boudt, 2020. "Econometrics Meets Sentiment: An Overview Of Methodology And Applications," Journal of Economic Surveys, Wiley Blackwell, vol. 34(3), pages 512-547, July.
    4. Patrick Bayer & Stephen L. Ross & Giorgio Topa, 2008. "Place of Work and Place of Residence: Informal Hiring Networks and Labor Market Outcomes," Journal of Political Economy, University of Chicago Press, vol. 116(6), pages 1150-1196, December.
    5. Jens Ludwig & Sendhil Mullainathan & Ashesh Rambachan, 2024. "Large Language Models: An Applied Econometric Framework," Papers 2412.07031, arXiv.org, revised Dec 2025.
    6. Hochleitner, Anna & Tufano, Fabio & Facchini, Giovanni & Rueda, Valeria & Eberhardt, Markus, 2025. "How Tinted Are Your Glasses? Gender Views, Beliefs and Recommendations in Hiring," IZA Discussion Papers 17813, Institute of Labor Economics (IZA).
    7. Antoni Calvó-Armengol & Matthew O. Jackson, 2004. "The Effects of Social Networks on Employment and Inequality," American Economic Review, American Economic Association, vol. 94(3), pages 426-454, June.
    8. Richard Frankel & Jared Jennings & Joshua Lee, 2022. "Disclosure Sentiment: Machine Learning vs. Dictionary Methods," Management Science, INFORMS, vol. 68(7), pages 5514-5532, July.
    9. Susan Athey & Guido W. Imbens, 2019. "Machine Learning Methods That Economists Should Know About," Annual Review of Economics, Annual Reviews, vol. 11(1), pages 685-725, August.
    10. Diego García, 2013. "Sentiment during Recessions," Journal of Finance, American Finance Association, vol. 68(3), pages 1267-1300, June.
    11. Martin Abel & Rulof Burger & Patrizio Piraino, 2020. "The Value of Reference Letters: Experimental Evidence from South Africa," American Economic Journal: Applied Economics, American Economic Association, vol. 12(3), pages 40-71, July.
    12. Odilon Câmara & Nan Jia & Joseph Raffiee, 2023. "Reputation, Competition, and Lies in Labor Market Recommendations," Management Science, INFORMS, vol. 69(11), pages 7022-7043, November.
    13. Stephen V. Burks & Bo Cowgill & Mitchell Hoffman & Michael Housman, 2015. "The Value of Hiring through Employee Referrals," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 130(2), pages 805-839.
    14. Emre Ekinci, 2016. "Employee referrals as a screening device," RAND Journal of Economics, RAND Corporation, vol. 47(3), pages 688-708, August.
    15. Meta Brown & Elizabeth Setren & Giorgio Topa, 2016. "Do Informal Referrals Lead to Better Matches? Evidence from a Firm's Employee Referral System," Journal of Labor Economics, University of Chicago Press, vol. 34(1), pages 161-209.
    16. Montgomery, James D, 1991. "Social Networks and Labor-Market Outcomes: Toward an Economic Analysis," American Economic Review, American Economic Association, vol. 81(5), pages 1407-1418, December.
    17. Christian Dustmann & Albrecht Glitz & Uta Schönberg & Herbert Brücker, 2016. "Referral-based Job Search Networks," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 83(2), pages 514-546.
    18. Markus Eberhardt & Giovanni Facchini & Valeria Rueda, 2023. "Gender Differences in Reference Letters: Evidence from the Economics Job Market," The Economic Journal, Royal Economic Society, vol. 133(655), pages 2676-2708.
    19. Scott R. Baker & Nicholas Bloom & Steven J. Davis, 2016. "Measuring Economic Policy Uncertainty," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 131(4), pages 1593-1636.
    20. Elliott Ash & Stephen Hansen, 2023. "Text Algorithms in Economics," Annual Review of Economics, Annual Reviews, vol. 15(1), pages 659-688, September.
    21. Carmichael, H Lorne, 1988. "Incentives in Academics: Why Is There Tenure?," Journal of Political Economy, University of Chicago Press, vol. 96(3), pages 453-472, June.
    22. Peter Maxted, 2024. "A Macro-Finance Model with Sentiment," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 91(1), pages 438-475.
    23. Saskia Ter Ellen & Vegard H. Larsen & Leif Anders Thorsrud, 2022. "Narrative Monetary Policy Surprises and the Media," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 54(5), pages 1525-1549, August.
    24. Athey, Susan & Imbens, Guido W., 2019. "Machine Learning Methods Economists Should Know About," Research Papers 3776, Stanford University, Graduate School of Business.
    25. Shapiro, Adam Hale & Sudhof, Moritz & Wilson, Daniel J., 2022. "Measuring news sentiment," Journal of Econometrics, Elsevier, vol. 228(2), pages 221-243.
    26. Saloner, Garth, 1985. "Old Boy Networks as Screening Mechanisms," Journal of Labor Economics, University of Chicago Press, vol. 3(3), pages 255-267, July.
    27. Tim Loughran & Bill Mcdonald, 2011. "When Is a Liability Not a Liability? Textual Analysis, Dictionaries, and 10‐Ks," Journal of Finance, American Finance Association, vol. 66(1), pages 35-65, February.
    28. Simon, Curtis J & Warner, John T, 1992. "Matchmaker, Matchmaker: The Effect of Old Boy Networks on Job Match Quality, Earnings, and Tenure," Journal of Labor Economics, University of Chicago Press, vol. 10(3), pages 306-330, July.
    29. Judith K. Hellerstein & Melissa McInerney & David Neumark, 2011. "Neighbors and Coworkers: The Importance of Residential Labor Market Networks," Journal of Labor Economics, University of Chicago Press, vol. 29(4), pages 659-695.
    30. Amanda Pallais, 2014. "Inefficient Hiring in Entry-Level Labor Markets," American Economic Review, American Economic Association, vol. 104(11), pages 3565-3599, November.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Perihan Ozge Saygin & Andrea Weber & Michèle A. Weynandt, 2021. "Coworkers, Networks, and Job-Search Outcomes among Displaced Workers," ILR Review, Cornell University, ILR School, vol. 74(1), pages 95-130, January.
    2. Emre Ekinci, 2022. "Monetary rewards in employee referral programs," Manchester School, University of Manchester, vol. 90(1), pages 35-58, January.
    3. Cappellari, Lorenzo & Tatsiramos, Konstantinos, 2015. "With a little help from my friends? Quality of social networks, job finding and job match quality," European Economic Review, Elsevier, vol. 78(C), pages 55-75.
    4. Nicoletta Berardi & Marie Lalanne & Paul Seabright, 2019. "Professional Networks and their Coevolution with Executive Careers," Working papers 723, Banque de France.
    5. Eliason, Marcus & Hensvik, Lena & Kramarz, Francis & Skans, Oskar Nordström, 2023. "Social connections and the sorting of workers to firms," Journal of Econometrics, Elsevier, vol. 233(2), pages 468-506.
    6. Glitz, Albrecht, 2017. "Coworker networks in the labour market," Labour Economics, Elsevier, vol. 44(C), pages 218-230.
    7. Eliason, Marcus & Hensvik, Lena & Kramarz, Francis & Nordström Skans, Oskar, 2017. "The causal impact of social Connections on firms' outcomes," Working Paper Series 2017:11, IFAU - Institute for Evaluation of Labour Market and Education Policy.
    8. Buhai, I. Sebastian & van der Leij, Marco J., 2023. "A Social Network Analysis of Occupational Segregation," Journal of Economic Dynamics and Control, Elsevier, vol. 147(C).
    9. Emma Lappi, 2023. "Help from the past—coworker ties and entry wages after self-employment," Small Business Economics, Springer, vol. 60(3), pages 1171-1196, March.
    10. Amanda Pallais & Emily Glassberg Sands, 2015. "Why the Referential Treatment: Evidence from Field Experiments on Referrals," NBER Working Papers 21357, National Bureau of Economic Research, Inc.
    11. Lena Hensvik & Oskar Nordström Skans, 2016. "Social Networks, Employee Selection, and Labor Market Outcomes," Journal of Labor Economics, University of Chicago Press, vol. 34(4), pages 825-867.
    12. Saygin, Perihan & Weber, Andrea & Weynandt, Michèle, 2014. "Coworkers, Networks, and Job Search Outcomes," IZA Discussion Papers 8174, Institute of Labor Economics (IZA).
    13. Moon, Ji-Woong, 2023. "Strategic referrals and on-the-job search equilibrium," Journal of Monetary Economics, Elsevier, vol. 134(C), pages 135-151.
    14. Rao, Neel, 2016. "Social effects in employer learning: An analysis of siblings," Labour Economics, Elsevier, vol. 38(C), pages 24-36.
    15. Hellerstein, Judith K. & Kutzbach, Mark J. & Neumark, David, 2014. "Do labor market networks have an important spatial dimension?," Journal of Urban Economics, Elsevier, vol. 79(C), pages 39-58.
    16. Berardi, Nicoletta & Lalanne, Marie & Seabright, Paul, 2018. "Professional networks and their coevolution with executive careers: Evidence from North America and Europe," SAFE Working Paper Series 243, Leibniz Institute for Financial Research SAFE.
    17. Vincent Boucher & Marion Gousse, 2019. "Wage Dynamics and Peer Referrals," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 31, pages 1-23, January.
    18. Levati, Lorenzo Maria & Lalanne, Marie, 2020. "The impact of job referrals on employment outcomes in top corporate positions," SAFE Working Paper Series 268, Leibniz Institute for Financial Research SAFE.
    19. Albrecht Glitz & Rune Vejlin, 2021. "Learning through Coworker Referrals," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 42, pages 37-71, October.
    20. Hensvik, Lena & Nordström Skans, Oskar, 2013. "Networks and youth labor market entry," Working Paper Series 2013:23, IFAU - Institute for Evaluation of Labour Market and Education Policy.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    JEL classification:

    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • J16 - Labor and Demographic Economics - - Demographic Economics - - - Economics of Gender; Non-labor Discrimination
    • M51 - Business Administration and Business Economics; Marketing; Accounting; Personnel Economics - - Personnel Economics - - - Firm Employment Decisions; Promotions

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:pra:mprapa:126675. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Joachim Winter (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.