Giter Site home page Giter Site logo

crime-comparisons's Introduction

Crime comparisons dataset

This repository provides the data used in Louis L. Thurstone's seminal 1927 paper, "The Method of Paired Comparisons for Social Values" (link to paywall or open-access HTML version) in machine-readable format.

Thurstone's study aimed at showing that pairwise-comparison models could be used to investigate interesting questions beyond psychophysics. To that end, he set out to create a "crowdsourced" scale of the seriousness of criminal offences by asking 266 students questions of the type:

Which crime is worse: A or B ?

where A and B are chosen among a list of 19 criminal offenses. Using his "Case V" model of pairwise-comparison outcomes (see this excellent tutorial for more information), he was able to produce a scale that looks roughly as follows.

Scale of the seriousness of crimes

How to analyze the data

If you are using Python, I recommend that you try out choix, a library that I've developed to learn models based on comparion data. You can see an example in this notebook.

Errors in the original data

The contents of ccdata-original.csv faithfully reproduce the data in Table 1 of Thurstone's paper (page 399). However, upon close investigation, it seems that there are a number of small mistakes and typos in this table.

  • "Assault and Battery" vs. "Adultery": ratios sum only to 0.999
  • "Assault and Battery" vs. "Homicide": ratios sum to 0.100
  • "Arson" vs. "Homicide": ratios sum to 0.100
  • "Arson" vs. "Libel: ratios sum to 0.999
  • "Perjury" vs. "Counterfeiting": ratios sum to 0.999

I decided to fix those (according to my own subjective interpretation of what should have been there), and the result is given in ccdata-fixed.csv.

The labels of the crimes corresponding to the rows and columns of the table are provided in labels.txt.

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.