# Jurimetrics

Jurimetrics is the application of quantitative methods, especially probability and statistics, to law. In the United States, the journal Jurimetrics is published by the American Bar Association and Arizona State University. The Journal of Empirical Legal Studies is another publication that emphasizes the statistical analysis of law.
The term was coined in 1949 by Lee Loevinger in his article "Jurimetrics: The Next Step Forward". Showing the influence of Oliver Wendell Holmes Jr., Loevinger quoted Holmes' celebrated phrase that:
   "For the rational study of the law the blackletter man may be the man of the present, but the man of the future is the man of statistics and the master of economics."
The first work on this topic is attributed to Nicolaus I Bernoulli in his doctoral dissertation De Usu Artis Conjectandi in Jure, written in 1709.

## Relation to law and economics

The difference between jurimetrics and law and economics is that jurimetrics investigates legal questions from a probabilistic/statistical point of view, while law and economics addresses legal questions using standard microeconomic analysis. Specifically, jurimetrics uncover patterns in decision-making and use them to identify potential biases in judgements that are passed. A synthesis of these fields is possible through the use of econometrics (statistics for economic analysis) and other quantitative methods to answer relevant legal matters. As an example, the Columbia University scholar Edgardo Buscaglia published several peer-reviewed articles by using a joint jurimetrics and law and economics approach.

## List of Applications

* Accounting fraud detection (Benford's law)
* Airline deregulation
* Analysis of police stops (Negative binomial regression)
* Ban the Box legislation and subsequent impact on job applications
** Statistical discrimination (economics)
* Calorie labeling mandates and food consumption
** Risk compensation
* Challenging election results (Hypergeometric distribution)
* Condorcet's jury theorem
* Cost-benefit analysis of renewable portfolio standards for greenhouse gas abatement
* Effect of compulsory schooling on future earnings
* Effect of corporate board size on firm performance
* Effect of damage caps on medical malpractice claims
* Effect of a fiduciary standard on financial advice
* False conviction rate of inmates sentenced to death
* Legal evidence (Bayesian network)
* Impact of "pattern-or-practice" investigations on crime
* Legal informatics
* Ogden tables
* Optimal stopping of clinical trials
* Peremptory challenges in jury selection
* Personality predictors of antisocial behavior
* Predictive policing
* Predictors of criminal recidivism
* Prevalence of Caesarean delivery and malpractice claims risk
* Prosecutor's fallacy (People v. Collins)
* Reference class problem
* Judicial efficiency

## Applications
### Gender quotas on corporate boards

In 2018, California's legislature passed Senate Bill 826, which requires all publicly held corporations based in the state to have a minimum number of women on their board of directors. Boards with five or fewer members must have at least two women, while boards with six or more members must have at least three women.
Using the binomial distribution, we may compute what the probability is of violating the rule laid out in Senate Bill 826 by the number of board members. The probability mass function for the binomial distribution is:$\mathbb {P} (X=k)={n \choose {k}}p^{k}(1-p)^{n-k}$where $p$ is the probability of getting $k$ successes in $n$ trials, and (n/k){\textstyle {n \choose {k}}} is the binomial coefficient. For this computation, $p$ is the probability that a person qualified for board service is female, $k$ is the number of female board members, and $n$ is the number of board seats. We will assume that $p=0.5$.
Depending on the number of board members, we are trying compute the cumulative distribution function:${\begin{cases}\mathbb {P} (X\leq 1)=(1-p)^{n}+np(1-p)^{n-1},\quad &n\leq 5\\\mathbb {P} (X\leq 2)=\mathbb {P} (X\leq 1)+{n(n-1) \over {2}}p^{2}(1-p)^{n-2},\quad &n>5\end{cases}}$With these formulas, we are able to compute the probability of violating Senate Bill 826 by chance:
Probability of Violation by Chance (# of board members) :
| 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 0.50 | 0.31 | 0.19 | 0.34 | 0.23 | 0.14 | 0.09 | 0.05 | 0.03 | 0.02 |
As Ilya Somin points out, a significant percentage of firms - without any history of sex discrimination - could be in violation of the law.
In more male-dominated industries, such as technology, there could be an even greater imbalance. Suppose that instead of parity in general, the probability that a person who is qualified for board service is female is 40%; this is likely to be a high estimate, given the predominance of males in the technology industry. Then the probability of violating Senate Bill 826 by chance may be recomputed as:
Probability of Violation by Chance (# of board members) :
| 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 0.65 | 0.48 | 0.34 | 0.54 | 0.42 | 0.32 | 0.23 | 0.17 | 0.12 | 0.08 |

### Screening of drug users, mass shooters, and terrorists

In recent years, there has been a growing interest in the use of screening tests to identify drug users on welfare, potential mass shooters, and terrorists. The efficacy of screening tests can be analyzed using Bayes' theorem.
Suppose that there is some binary screening procedure for an action $V$ that identifies a person as testing positive $+$ or negative $-$ for the action. Bayes' theorem tells us that the conditional probability of taking action $V$, given a positive test result, is:$\mathbb {P} (V|+)={\mathbb {P} (+|V)\mathbb {P} (V) \over {\mathbb {P} (+|V)\mathbb {P} (V)+\mathbb {P} (+|\sim V)\left[1-\mathbb {P} (V)\right]}}$For any screening test, we must be cognizant of its sensitivity and specificity. The screening test has sensitivity $\mathbb {P} (+|V)$ and specificity P(−|∼V)=1−P(+|∼V){\textstyle \mathbb {P} (-|\sim V)=1-\mathbb {P} (+|\sim V)}. The sensitivity and specificity can be analyzed using concepts from the standard theory of statistical hypothesis testing:
* Sensitivity is equal to the statistical power $1-\beta$, where $\beta$ is the type II error rate
* Specificity is equal to $1-\alpha$, where $\alpha$ is the type I error rate
Therefore, the form of Bayes' theorem that is pertinent to us is:$\mathbb {P} (V|+)={(1-\beta )\mathbb {P} (V) \over {(1-\beta )\mathbb {P} (V)+\alpha \left[1-\mathbb {P} (V)\right]}}$Suppose that we have developed a test with sensitivity and specificity of 99%, which is likely to be higher than most real-world tests. We can examine several scenarios to see how well this hypothetical test works:
* We screen welfare recipients for cocaine use. The base rate in the population is approximately 1.5%, assuming no differences in use between welfare recipients and the general population.
* We screen men for the possibility of committing mass shootings or terrorist attacks. The base rate is assumed to be 0.01%.
With these base rates and the hypothetical values of sensitivity and specificity, we may calculate the posterior probability that a positive result indicates the individual will actually engage in each of the actions:
Posterior Probabilities :
| Drug Use | Mass Shooting |
| 0.6012 | 0.0098 |
Even with very high sensitivity and specificity, the screening tests only return posterior probabilities of 60.1% and 0.98% respectively for each action. Under more realistic circumstances, it is likely that screening would prove even less useful than under these hypothetical conditions. The problem with any screening procedure for rare events is that it is very likely to be too imprecise, which will identify too many people of being at risk of engaging in some undesirable action.

### Historical applications

Jurimetrics utilizes many statistical methods to analyze judicial behavior, and this occurs through uncovering patterns in decision-making and using them to identify potential biases in judgements that are passed. For instance, statistical analysis can forecast the outcomes of cases, providing insights into expected resolutions based on historical data. Jurimetrics is also used to evaluate litigation trends, optimize legal strategies, and improve the efficiency of legal proceedings.
One example of an application of jurimetrics is through resource allocation within court systems, where data analytics are used to identify potential difficulties and suggests improvements. Another example is the analysis of disparities within sentencing. This allows policymakers to address the inequities within legal practices. These emphasize the role of jurimetrics in the legal system, as a way to bridge quantitative analysis, and equitable judicial processes.

## List of methods

* Bayesian inference
* Causal inference
** Instrumental variables
* Design of experiments
** Vital for epidemiological studies
* Generalized linear models
** Ordinary least squares, logistic regression, Poisson regression
* Meta-analysis
* Probability distributions
** Binomial distribution, hypergeometric distribution, normal distribution
* Survival analysis
** Kaplan-Meier estimator, proportional hazards model, Weibull distribution

### Bayesian analysis of evidence

Bayes' theorem states that, for events $A$ and $B$, the conditional probability of $A$ occurring, given that $B$ has occurred, is:$\mathbb {P} (A|B)={\mathbb {P} (B|A)\mathbb {P} (A) \over {\mathbb {P} (B)}}$Using the law of total probability, we may expand the denominator as:$\mathbb {P} (B)=\mathbb {P} (B|A)\mathbb {P} (A)+\mathbb {P} (B|\sim A)[1-\mathbb {P} (A)]$Then Bayes' theorem may be rewritten as:${\begin{aligned}\mathbb {P} (A|B)&={\mathbb {P} (B|A)\mathbb {P} (A) \over {\mathbb {P} (B|A)\mathbb {P} (A)+\mathbb {P} (B|\sim A)[1-\mathbb {P} (A)]}}\\&={1 \over {1+{1-\mathbb {P} (A) \over {\mathbb {P} (A)}}{\mathbb {P} (B|\sim A) \over {\mathbb {P} (B|A)}}}}\end{aligned}}$This may be simplified further by defining the prior odds of event $A$ occurring $\eta$ and the likelihood ratio ${\mathcal {L}}$ as:$\eta ={\mathbb {P} (A) \over {1-\mathbb {P} (A)}},\quad {\mathcal {L}}={\mathbb {P} (B|A) \over {\mathbb {P} (B|\sim A)}}$Then the compact form of Bayes' theorem is:$\mathbb {P} (A|B)={1 \over {1+(\eta {\mathcal {L}})^{-1}}}$Different values of the posterior probability, based on the prior odds and likelihood ratio, are computed in the following table:
$\mathbb {P} (A|B)$ with Prior Odds and Likelihood Ratio :
| | Likelihood Ratio | Likelihood Ratio | Likelihood Ratio | Likelihood Ratio | Likelihood Ratio | Likelihood Ratio | Likelihood Ratio | Likelihood Ratio | Likelihood Ratio | Likelihood Ratio |
| Prior Odds | 1 | 2 | 3 | 4 | 5 | 10 | 15 | 20 | 25 | 50 |
| 0.01 | 0.01 | 0.02 | 0.03 | 0.04 | 0.05 | 0.09 | 0.13 | 0.17 | 0.20 | 0.33 |
| 0.02 | 0.02 | 0.04 | 0.06 | 0.07 | 0.09 | 0.17 | 0.23 | 0.29 | 0.33 | 0.50 |
| 0.03 | 0.03 | 0.06 | 0.08 | 0.11 | 0.13 | 0.23 | 0.31 | 0.38 | 0.43 | 0.60 |
| 0.04 | 0.04 | 0.07 | 0.11 | 0.14 | 0.17 | 0.29 | 0.38 | 0.44 | 0.50 | 0.67 |
| 0.05 | 0.05 | 0.09 | 0.13 | 0.17 | 0.20 | 0.33 | 0.43 | 0.50 | 0.56 | 0.71 |
| 0.10 | 0.09 | 0.17 | 0.23 | 0.29 | 0.33 | 0.50 | 0.60 | 0.67 | 0.71 | 0.83 |
| 0.15 | 0.13 | 0.23 | 0.31 | 0.38 | 0.43 | 0.60 | 0.69 | 0.75 | 0.79 | 0.88 |
| 0.20 | 0.17 | 0.29 | 0.38 | 0.44 | 0.50 | 0.67 | 0.75 | 0.80 | 0.83 | 0.91 |
| 0.25 | 0.20 | 0.33 | 0.43 | 0.50 | 0.56 | 0.71 | 0.79 | 0.83 | 0.86 | 0.93 |
| 0.30 | 0.23 | 0.38 | 0.47 | 0.55 | 0.60 | 0.75 | 0.82 | 0.86 | 0.88 | 0.94 |
If we take $A$ to be some criminal behavior and $B$ a criminal complaint or accusation, Bayes' theorem allows us to determine the conditional probability of a crime being committed. More sophisticated analyses of evidence can be undertaken with the use of Bayesian networks.

## Emerging Trends in Jurimetrics

As many other fields, the changes to gurimetrics have been dynamic due to technological advancements. The integration of artificial intelligence(AI) into legal processes has been an emerging trend. Machine learning algorithms, an AI powered tool, have been used frequently to analyze legal texts, predict case outcomes, and provide data-focused insights to legal employees.
Technological advancements such as AI have been used in creating legal analytics platforms. They can review large amounts of case law, and identify patterns that assist in crafting legal arguments. These innovations improve decision-making processes by reducing the likelihood of human error, but also increase the efficiency of legal research.
For example, recent studies highlight the efficiency of ML in analyzing complex datasets, such as those found in healthcare or legal domains, with high accuracy. One application discussed by Christian Garbin, Nicholas Marques, and Oge Marques (2023) involves the use of ML models to identify specific patterns in datasets characterized by class imbalances. The article discusses datasets related to opioid use disorder (OUD), and how judgements passed in legal environments have been dependent on these datasets that are connected closely to class imbalances.
Despite many advancements, the integration of AI into jurimetrics presents challenges. Garbin, Marques, and Marques emphasize that many studies that use machine learning algorithms fail to transparently document essential steps, such as data preprocessing, hyperparameter tuning, or the criteria used for splitting training and test sets.
Garbin, Marques, and Marques recommend prioritizing interpretable models unless the performance gap justifies the use of less transparent algorithms. Since legal decisions have high-stakes, interpretable models(logistic regression or decision trees) are often preferred over more complex "black-box" models. Often, these "black-box" models have higher predictive accuracy, but the interpretability is a central and ethical concern.

## History of Jurimetrics

The term "jurimetrics" was created in 1949 by Lee Loevinger. It was defined as the use of quantitative methods to the study of law. Initially, jurimetrics was specifically focused on the theoretical exploration of statistical techniques on legal systems.
Over time, the field evolved. In the mid-20th century, jurimetrics began to gain traction as researchers continued to explore the field and its potential for improving legal analysis. Early foundational studies created a roadmap for actually integrating the practice into the legal field. By the late 20th century, jurimetrics expanded to include applications such as evaluating the reliability of forensic evidence and modeling litigation outcomes.
In today's world, jurimetrics is recognized as a tool for the modern day legal system. It bridges the gaps between economics, data science, and the law.

## Ethics of Jurimetrics

In 2021, Abigail Z. Jacobs and Hanna Wallach released a study regarding "computational systems, and how they often involve unobservable theoretical constructs, such as socioeconomic status, teacher effectiveness, and risk of recidivism". "Computational systems have long been touted as having the potential to counter societal biases and structural inequalities, yet recent work has demonstrated that they often end up encoding and exacerbating them instead".
An example of the ethical concerns in jurimetrics comes from risk assessment models used in the U.S. justice system, particularly seen in the Correctional Offender Management Profiling for Alternative Sanctions (COMPAS) tool. COMPAS is developed by Northpointe(now Equivant), and was built to evaluate a defendant's likelihood of recidivism through the analysis of various factors derived from official records and interviews. The factors are grouped into four dimensions: prior criminal history, associations with criminals, drug involvement, and indicators of juvenile delinquency.
The risk assessment model then uses the factors in a regression model to generate a recidivism risk score, scaled from one to ten, with ten indicating the highest risk. According to the model, recidivism is defined as a new misdemeanor or felony arrest within two years. However, the specific mathematical methodology that COMPAS uses remains private, which has raised concerns regarding transparency. Subsequent investigations, such as those by Angwin et al., have critiqued the model for potential biases and their ethical implications.