IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0176999.html
   My bibliography  Save this article

Predicting and understanding law-making with word vectors and an ensemble model

Author

Listed:
  • John J Nay

Abstract

Out of nearly 70,000 bills introduced in the U.S. Congress from 2001 to 2015, only 2,513 were enacted. We developed a machine learning approach to forecasting the probability that any bill will become law. Starting in 2001 with the 107th Congress, we trained models on data from previous Congresses, predicted all bills in the current Congress, and repeated until the 113th Congress served as the test. For prediction we scored each sentence of a bill with a language model that embeds legislative vocabulary into a high-dimensional, semantic-laden vector space. This language representation enables our investigation into which words increase the probability of enactment for any topic. To test the relative importance of text and context, we compared the text model to a context-only model that uses variables such as whether the bill’s sponsor is in the majority party. To test the effect of changes to bills after their introduction on our ability to predict their final outcome, we compared using the bill text and meta-data available at the time of introduction with using the most recent data. At the time of introduction context-only predictions outperform text-only, and with the newest data text-only outperforms context-only. Combining text and context always performs best. We conducted a global sensitivity analysis on the combined model to determine important variables predicting enactment.

Suggested Citation

  • John J Nay, 2017. "Predicting and understanding law-making with word vectors and an ensemble model," PLOS ONE, Public Library of Science, vol. 12(5), pages 1-14, May.
  • Handle: RePEc:plo:pone00:0176999
    DOI: 10.1371/journal.pone.0176999
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0176999
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0176999&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0176999?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. John Wilkerson & David Smith & Nicholas Stramp, 2015. "Tracing the Flow of Policy Ideas in Legislatures: A Text Reuse Approach," American Journal of Political Science, John Wiley & Sons, vol. 59(4), pages 943-956, October.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Hsu, Sara & Fan, Zhihao, 2022. "Policy and media forces that shape the creation of Chinese state-owned enterprise policies," Journal of Policy Modeling, Elsevier, vol. 44(6), pages 1232-1250.
    2. Amedeo Santosuosso & Giulia Pinotti, 2020. "Bottleneck or Crossroad? Problems of Legal Sources Annotation and Some Theoretical Thoughts," Stats, MDPI, vol. 3(3), pages 1-20, September.

    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. Katherine H. Tennis & Rachel Sullivan Robinson, 2020. "Where Do Population Policies Come From? Copying in African Fertility and Refugee Policies," Population Research and Policy Review, Springer;Southern Demographic Association (SDA), vol. 39(2), pages 175-205, April.
    2. Joshua Y. Lerner, 2018. "Getting the message across: evaluating think tank influence in Congress," Public Choice, Springer, vol. 175(3), pages 347-366, June.
    3. James P Cross & Henrik Hermansson, 2017. "Legislative amendments and informal politics in the European Union: A text reuse approach," European Union Politics, , vol. 18(4), pages 581-602, December.
    4. Goodman, Christopher B & Hatch, Megan E. & McDonald, Bruce D. III, 2020. "State Preemption of Local Laws: Origins and Modern Trends," SocArXiv u2f4x, Center for Open Science.
    5. Leonardo Baccini & Iain Osgood & Stephen Weymouth, 2019. "The service economy: U.S. trade coalitions in an era of deindustrialization," The Review of International Organizations, Springer, vol. 14(2), pages 261-296, June.
    6. Wang, Xiaoli & Huang, Lucheng & Daim, Tugrul & Li, Xin & Li, Zhiqiang, 2021. "Evaluation of China's new energy vehicle policy texts with quantitative and qualitative analysis," Technology in Society, Elsevier, vol. 67(C).
    7. Merz, Nicolas & Regel, Sven & Lewandowski, Jirka, 2016. "The Manifesto Corpus: A new resource for research on political parties and quantitative text analysis," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 3(2 (April-), pages 1-8.
    8. Stefano Pagliari & Meredith Wilf, 2021. "Regulatory novelty after financial crises: Evidence from international banking and securities standards, 1975–2016," Regulation & Governance, John Wiley & Sons, vol. 15(3), pages 933-951, July.
    9. Hileman, Jacob D. & Angst, Mario & Scott, Tyler A. & Sundström, Emma, 2021. "Recycled text and risk communication in natural gas pipeline environmental impact assessments," Energy Policy, Elsevier, vol. 156(C).

    More about this item

    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:plo:pone00:0176999. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.