Code Monkey home page Code Monkey logo

supreme_predictions's Introduction

Predicting the Decisions of Supreme Court Justices

Authors: William Hinthorn, Maia Ezratty, Mihika Kapoor, Alice Zheng

COS 424 Final Project

For more notes, see our wiki.

A pdf copy of our findings is stored here.

Dataset: Harold J. Spaeth, Lee Epstein, Andrew D. Martin, Jeffrey A. Segal, Theodore J. Ruger, and Sara C. Benesh. 2016 Supreme Court Database, Version 2016 Release 01. URL: http://Supremecourtdatabase.org

To download the dataset, go to the website and download the case-centered csv file.

The dataset contains of 8,737 cases with the following headers:

caseId, docketId, caseIssuesId, voteId, dateDecision, decisionType, usCite, sctCite, ledCite, lexisCite, term, naturalCourt, chief, docket, caseName, dateArgument, dateRearg, petitioner, petitionerState, respondent, respondentState, jurisdiction, adminAction, adminActionState, threeJudgeFdc, caseOrigin, caseOriginState, caseSource, caseSourceState, lcDisagreement, certReason, lcDisposition, lcDispositionDirection, declarationUncon, caseDisposition, partyWinning, precedentAlteration, voteUnclear, issue, issueArea, decisionDirection, decisionDirectionDissent, authorityDecision1, authorityDecision2, lawType, lawSupp, lawMinor, majOpinWriter, majOpinAssigner, splitVote, majVotes, and minVotes

The second dataset is justice centered (same source).

It has field names: caseId, docketId, caseIssuesId, voteId, dateDecision, decisionType, usCite, sctCite, ledCite, lexisCite, term, naturalCourt, chief, docket, caseName, dateArgument, dateRearg, petitioner, petitionerState, respondent, respondentState, jurisdiction, adminAction, adminActionState, threeJudgeFdc, caseOrigin, caseOriginState, caseSource, caseSourceState, lcDisagreement, certReason, lcDisposition, lcDispositionDirection, declarationUncon, caseDisposition, caseDispositionUnusual, partyWinning, precedentAlteration, voteUnclear, issue, issueArea, decisionDirection, decisionDirectionDissent, authorityDecision1, authorityDecision2, lawType, lawSupp, lawMinor, majOpinWriter, majOpinAssigner, splitVote, majVotes, minVotes, justice, justiceName, vote, opinion, direction, majority, firstAgreement, secondAgreement,

We used feature selection, generation, and ranom forests classifiers to build a flexible model which predicts the decisions of the court with an average accuracy of ~80-90%. We obtained similar results by building dedicated models for individual justices.

Here are some cool findings:

We found out that judges tend to stay true to their original biases throughout the length of their term.

biases

Except for a few outliers, like Harry Blackmun, who we assume was influenced by the world wars and the New Deal programs to turn an early conservative Justice into an liberally-minded older man. Note that the moderates tend to have shorter terms (though we do not imply any health benefits of having a political bias).

These biases play a huge role on the bias of the court at large. We show the cumulative sum of justice's voting biases spread out over the cases that are included within the dataset.

biases_temporal

We looked at correlations in voting habits of justices over the length of the term covered by the modern dataset (seen below)

Covariences

And generated features based on clustering methods:

minMaj biasVec

We then used textual data from CourtListener and correlated bags of words with political bias of the individual Justice using there $\chi^2$ values. Below are some word clouds representing our findings.

The first two show words that are strongly correlated with a justice being in the majority vote (left) or dissent (right).

direction majority

The next two show words strongly correlated with a Justice voting in along a more liberal line (left) or conservative one (right)

conservative consMaj

supreme_predictions's People

Contributors

azzy avatar hinthornw avatar mihikakapoor avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

aywhen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.