IDEAS home Printed from https://ideas.repec.org/p/osf/socarx/6fpgj.html
   My bibliography  Save this paper

Using Generative Pre-Trained Transformers (GPT) for Supervised Content Encoding: An Application in Corresponding Experiments

Author

Listed:
  • Churchill, Alexander
  • Pichika, Shamitha
  • Xu, Chengxin

    (Seattle University)

Abstract

Supervised content encoding applies a given codebook to a larger non-numerical dataset and is central to empirical research in public administration. Not only is it a key analytical approach for qualitative studies, but the method also allows researchers to measure constructs using non-numerical data, which can then be applied to quantitative description and causal inference. Despite its utility, supervised content encoding faces challenges including high cost and low reproducibility. In this report, we test if large language models (LLM), specifically generative pre-trained transformers (GPT), can solve these problems. Using email messages collected from a national corresponding experiment in the U.S. nursing home market as an example, we demonstrate that although we found some disparities between GPT and human coding results, the disagreement is acceptable for certain research design, which makes GPT encoding a potential substitute for human encoders. Practical suggestions for encoding with GPT are provided at the end of the letter.

Suggested Citation

  • Churchill, Alexander & Pichika, Shamitha & Xu, Chengxin, 2024. "Using Generative Pre-Trained Transformers (GPT) for Supervised Content Encoding: An Application in Corresponding Experiments," SocArXiv 6fpgj, Center for Open Science.
  • Handle: RePEc:osf:socarx:6fpgj
    DOI: 10.31219/osf.io/6fpgj
    as

    Download full text from publisher

    File URL: https://osf.io/download/65b191e7b1f2b5065eb0eb38/
    Download Restriction: no

    File URL: https://libkey.io/10.31219/osf.io/6fpgj?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Marianne Bertrand & Sendhil Mullainathan, 2004. "Are Emily and Greg More Employable Than Lakisha and Jamal? A Field Experiment on Labor Market Discrimination," American Economic Review, American Economic Association, vol. 94(4), pages 991-1013, September.
    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. Chowdhury, Shyamal & Ooi, Evarn & Slonim, Robert, 2017. "Racial discrimination and white first name adoption: a field experiment in the Australian labour market," Working Papers 2017-15, University of Sydney, School of Economics.
    2. Mujcic, Redzo & Frijters, Paul, 2013. "Still Not Allowed on the Bus: It Matters If You're Black or White!," IZA Discussion Papers 7300, Institute of Labor Economics (IZA).
    3. Anthony Edo & Nicolas Jacquemet & Constantine Yannelis, 2019. "Language skills and homophilous hiring discrimination: Evidence from gender and racially differentiated applications," Review of Economics of the Household, Springer, vol. 17(1), pages 349-376, March.
    4. Kevin Lang & Ariella Kahn-Lang Spitzer, 2020. "Race Discrimination: An Economic Perspective," Journal of Economic Perspectives, American Economic Association, vol. 34(2), pages 68-89, Spring.
    5. Keith Head & Thierry Mayer, 2008. "Detection Of Local Interactions From The Spatial Pattern Of Names In France," Journal of Regional Science, Wiley Blackwell, vol. 48(1), pages 67-95, February.
    6. David H Chae & Sean Clouston & Mark L Hatzenbuehler & Michael R Kramer & Hannah L F Cooper & Sacoby M Wilson & Seth I Stephens-Davidowitz & Robert S Gold & Bruce G Link, 2015. "Association between an Internet-Based Measure of Area Racism and Black Mortality," PLOS ONE, Public Library of Science, vol. 10(4), pages 1-12, April.
    7. Elizabeth Hirsh & Hazel Hollingdale & Natasha Stecy-Hildebrandt, 2013. "Gender inequality in the workplace," Chapters, in: Deborah M. Figart & Tonia L. Warnecke (ed.), Handbook of Research on Gender and Economic Life, chapter 12, pages 183-199, Edward Elgar Publishing.
    8. Saugato Datta & Vikram Pathania, 2016. "For whom does the phone (not) ring? Discrimination in the rental housing market in Delhi, India," WIDER Working Paper Series 055, World Institute for Development Economic Research (UNU-WIDER).
    9. Kelley Sarussi & Thomas Walstrum, 2019. "Education and the Evolution of Earnings Across Population Groups Since 2000," Profitwise, Federal Reserve Bank of Chicago, issue 5, pages 1-13.
    10. Ritwik Banerjee & Nabanita Datta Gupta, 2015. "Awareness Programs and Change in Taste-Based Caste Prejudice," PLOS ONE, Public Library of Science, vol. 10(4), pages 1-17, April.
    11. Bertrand, Jérémie & Burietz, Aurore, 2023. "(Loan) price and (loan officer) prejudice," Journal of Economic Behavior & Organization, Elsevier, vol. 210(C), pages 26-42.
    12. Jan Hanousek & Štěpán Jurajda, 2018. "Názvy společností a jejich vliv na výkonnost firem [Corporate Names and Performance]," Politická ekonomie, Prague University of Economics and Business, vol. 2018(6), pages 671-688.
    13. Bryson, Alex & Chevalier, Arnaud, 2015. "Is there a taste for racial discrimination amongst employers?," Labour Economics, Elsevier, vol. 34(C), pages 51-63.
    14. Bethany Everett & David Rehkopf & Richard Rogers, 2013. "The Nonlinear Relationship Between Education and Mortality: An Examination of Cohort, Race/Ethnic, and Gender Differences," Population Research and Policy Review, Springer;Southern Demographic Association (SDA), vol. 32(6), pages 893-917, December.
    15. Ola Bengtsson & John R. M. Hand, 2013. "Employee Compensation in Entrepreneurial Companies," Journal of Economics & Management Strategy, Wiley Blackwell, vol. 22(2), pages 312-340, June.
    16. John M. Nunley & Adam Pugh & Nicholas Romero & Richard Alan Seals, Jr., 2014. "Unemployment, Underemployment, and Employment Opportunities: Results from a Correspondence Audit of the Labor Market for College Graduates," Auburn Economics Working Paper Series auwp2014-04, Department of Economics, Auburn University.
    17. Henning Hermes & Philipp Lergetporer & Fabian Mierisch & Frauke Peter & Simon Wiederhold, 2023. "Discrimination on the Child Care Market: A Nationwide Field Experiment," Working Papers 225, Bavarian Graduate Program in Economics (BGPE).
    18. Li, Xilin & Hsee, Christopher K., 2021. "Free-riding and cost-bearing in discrimination," Organizational Behavior and Human Decision Processes, Elsevier, vol. 163(C), pages 80-90.
    19. Button, Patrick & Walker, Brigham, 2020. "Employment discrimination against Indigenous Peoples in the United States: Evidence from a field experiment," Labour Economics, Elsevier, vol. 65(C).
    20. Bart Capéau & Lieve Eeman & Steven Groenez & Miet Lamberts, 2012. "Standardised Scores as a Way to measure and Compare Discrimination Across Dimensions," Working Papers ECARES ECARES 2012-022, ULB -- Universite Libre de Bruxelles.

    More about this item

    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:osf:socarx:6fpgj. 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: OSF (email available below). General contact details of provider: https://arabixiv.org .

    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.