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. 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).
    2. 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.
    3. 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.
    4. Bryson, Alex & Chevalier, Arnaud, 2015. "Is there a taste for racial discrimination amongst employers?," Labour Economics, Elsevier, vol. 34(C), pages 51-63.
    5. 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.
    6. 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.
    7. Ganserer, Angelika, 2021. "Non-compliance with temporary agency work regulations: Initial evidence from Germany," ZEW Discussion Papers 21-057, ZEW - Leibniz Centre for European Economic Research.
    8. J. Michelle Brock & Ralph De Haas, 2023. "Discriminatory Lending: Evidence from Bankers in the Lab," American Economic Journal: Applied Economics, American Economic Association, vol. 15(2), pages 31-68, April.
    9. Mathieu Bunel & Yannick L’Horty & Pascale Petit, 2016. "Discrimination based on place of residence and access to employment," Urban Studies, Urban Studies Journal Limited, vol. 53(2), pages 267-286, February.
    10. Mariano Bosch & M. Belen Cobacho, 2012. "Discrimination in second-hand consumer markets: evidence from a field experiment," Applied Economics Letters, Taylor & Francis Journals, vol. 19(17), pages 1727-1730.
    11. Dileni Gunewardena & Abdoulaye Seck, 2020. "Heterogeneity in entrepreneurship in developing countries: Risk, credit, and migration and the entrepreneurial propensity of youth and women," Review of Development Economics, Wiley Blackwell, vol. 24(3), pages 713-725, August.
    12. Utteeyo Dasgupta & Subha Mani & Prakarsh Singh, 2016. "Searching for religious discrimination among Anganwadi workers in India: An experimental investigation," WIDER Working Paper Series wp-2016-69, World Institute for Development Economic Research (UNU-WIDER).
    13. Emmanuel K. Yiridoe, 2021. "Fostering a culture of equity, diversity, and inclusion in the Canadian agricultural economics profession," Canadian Journal of Agricultural Economics/Revue canadienne d'agroeconomie, Canadian Agricultural Economics Society/Societe canadienne d'agroeconomie, vol. 69(1), pages 5-15, March.
    14. Poutvaara, Panu & Steinhardt, Max Friedrich, 2018. "Bitterness in life and attitudes towards immigration," European Journal of Political Economy, Elsevier, vol. 55(C), pages 471-490.
    15. Phillips, David C., 2017. "Landlords avoid tenants who pay with vouchers," Economics Letters, Elsevier, vol. 151(C), pages 48-52.
    16. Baert, Stijn & Picchio, Matteo, 2021. "A signal of (Train)ability? Grade repetition and hiring chances," Journal of Economic Behavior & Organization, Elsevier, vol. 188(C), pages 867-878.
    17. Maresa Sprietsma, 2013. "Discrimination in grading: experimental evidence from primary school teachers," Empirical Economics, Springer, vol. 45(1), pages 523-538, August.
    18. Yann Algan & Clément Malgouyres & Thierry Mayer & Mathias Thoenig, 2022. "The Economic Incentives of Cultural Transmission: Spatial Evidence from Naming Patterns Across France [‘Cultural assimilation during the age of mass migration’]," The Economic Journal, Royal Economic Society, vol. 132(642), pages 437-470.
    19. Ulf Rinne, 2018. "Anonymous job applications and hiring discrimination," IZA World of Labor, Institute of Labor Economics (IZA), pages 1-11, October.
    20. Bartosz Maćkowiak & Filip Matějka & Mirko Wiederholt, 2023. "Rational Inattention: A Review," Journal of Economic Literature, American Economic Association, vol. 61(1), pages 226-273, March.

    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.