Skip to content

Melvin Tjon Akon

Tag: economic analysis of law

QNL #1: Dutch Case Law Brief, October 12-18, 2015

Posted on 10/29/2015 - 01/04/2016 by mtjonakon

In this post, I want to share with you the results of a program involving natural language processing and machine learning tools. The aim of the program is to provide insights into Dutch case law developments on a weekly basis, using case law published on www.rechtspraak.nl. As the program is still in beta, feel free to comment or make suggestions. I use Python as a main language and use several different packages for data analysis and visualization.

1. Number of cases by institution and area of law

I collected the ECLI numbers of all cases published between October 12-18 via site’s API (more info) and downloaded the contents of the cases on a local hard drive. In total, 301 cases were published (list).

Number of decisions by institution
The top 4 institutions (in terms of total cases published) are “Raad van Staete” (RVS, 98), “Centrale Raad voor Beroep” (CRVB, 34), and the Supreme Court of the Netherlands (“Hoge Raad”, HR, 24), tied with “Gerechtshof ‘s-Hertogenbosch” (GHSHE, 24). A comparison by institutional group shows the expected pattern (# decision by lower courts versus HR):
Decisions by Institutional Group
Plotting the distribution of legal areas on the x-axis:
Table 2 - Number of decisions by area of law.
Clearly, the top areas of law are “Bestuursrecht”, “Strafrecht”, “Socialezekerheidsrecht” and “Civiel recht”. I used the classification by area of law as designated by the judiciary in the metaterms of each case. In later reports I intend to develop an alternative, text-based classification.

2. Court-specific metrics: output and throughput

While it would be interesting to analyze the workload of individual courts, rechtspraak.nl does not publish the number of filings at each court. As the United States Courts website illustrates, providing those numbers is feasible. Without filing info, analyzing workload is impossible. Instead, I look at the throughput time: the time it takes the court to publish the decision after issuing the verdict. An interesting question, to consider in the future, is its relation to decision length and case complexity.

Throughput_Hist

In most cases, the decision is published on the same day. There does not seem to be a general relation between the throughput time and area of law (PUB_area) or court (PUB_instantie). More data is needed to unearth the explanation for this distribution.

3. Text features: basic unigram classification

In terms of structure, court decisions are simply long and unstructured text strings. There are numerous natural language processing techniques which facilitate statistical analysis of these text strings by extracting features, some of which I will use in the future (e.g. POS Tag sequences, Hidden Markov Models, Deep Learning, ontologies). In this QNL, I restrict the analysis to “unigrams” or individual words. This bag-of-words approach is simplistic, but suffices for exploratory purposes. After preprocessing (Feldman & Sanger 2007), I count the word frequency for ECLI:NL:HR:2015:3091, a decision issued by the Supreme Court, and posted the result in a word cloud:

CLOUD

The main drawback of the BOW approach is that it assumes a positive correlation between word frequency and relevance. In other words: the more the decision mentions a particular word, the greater the likelihood that word is indicative of the decision’s content. It also performs better if each word refers to an independent concept (i.e. “claimant” does not equal victim), as it disregards that different words may refer to the same legal concept and that different legal concepts may fall in the same general category. For this reason, building and using ontologies (knowledge systems) are crucial in legal text mining.

Next upcoming weeks, I will actually use text classification algorithms with a richer set of features to analyze the decision. Let me know what you think!

 

Posted in Data Science, Dutch Law, Geen categorie, Judicial Behavior, Legal AnalyticsTagged economic analysis of law, judicial behavior, law enforcement, python, rechtspraak.nl, text analytics

Roseburg and Mass Shootings in the U.S.

Posted on 10/03/2015 - 12/22/2020 by mtjonakon

This post is not about finance or law, but about mass shootings.

Mass Shooting:  “FOUR or more shot and/or killed in a single event [incident], at the same general time and location not including the shooter.” (Source: GVA)

Roseburg, Oregon

October 1, 2015, marks another incident of mass shooting in the United States. This time, it was Christopher Sean Harper-Mercer, a student at Umpqua Community College who killed 9 people after asking them if they were Christians. The police found 13 firearms connected to the shooter, all legally obtained via a federally licensed arms dealer.

Mass Shootings in the U.S.

The Gun Violence Archive (GVA) is an online, not for profit organization that uses  third-party sources to produce gun violence statistics. The organization  provides public access to a part of their dataset, including mass shootings between November 21, 2014 and October 2, 2015. GVA defines mass shooting as “FOUR or more shot and/or killed in a single event [incident], at the same general time and location not including the shooter.” Using Python, PANDAS and Matplotlib, analyzing the numbers of casualties (persons killed or injured) is straightforward.

Aggregated mass shooting statistics

Mass Shootings
Mass shootings casualties (# persons killed or injured) between November 2014 and October 2015 (source: GVA)

California, New York and Illinois top the list of total casualties per state. Looking at the total number of casualties per month during this period shows an unsettling, rising trend:

Total number of mass shootings casualties per month
Total number of mass shootings casualties per month between November 2014 and October 2015 (source: GVA)

Finally, there is a significant difference between the number of casualties per individual incident (medians: 1 fatality, 4 injured) and the average number of casualties per state, indicating the existence of incidents with many casualties. The Oregon shooting of Thursday is one example:

Average number of casualties per mass shooting in all States

 

 

 

Posted in Data Science, Legal Analytics, Public Policy, United StatesTagged economic analysis of law, gun ownership, mass shooting, oregon, public policy, regulation, second amendment
Proudly powered by WordPress | Theme: micro, developed by DevriX.