dp {gmvalid}R Documentation

Death penalty example of Simpson's paradox

Description

Well known example to illustrate Simpson's paradox. The data set shows that ignoring victim's race lead to a different conclusion than including victim's race in the analysis.

Usage

data(dp)

Format

A data frame with 326 observations on the following 3 variables.

Defendants.Race
a factor with levels white and black
Victims.Race
a factor with levels white and black
Death.Penalty
a factor with levels yes and no

Source

Radelet ML (1981) Racial characteristics and the imposition of the Death penalty. American Sociological Review, 46(6):918-927.

Examples

data(dp)
## Graphical model analysis shows that 'defendants' race' is 
## independent from 'death penalty' given 'victims' race'.
gm.analysis(dp,program="coco",recursive=TRUE)

[Package gmvalid version 1.0 Index]