Skip to contents

A famous example of Simpson's paradox.

Format

A data frame with 326 observations.

id

a subject id

victim

a factor with levels Bl Wh)

defendant

a factor with levels Bl, Wh

death

a factor with levels Yes, No

penalty

a factor with levels death other

Source

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

Examples


tally(penalty ~ defendant, data = DeathPenalty)
#>        defendant
#> penalty  Bl  Wh
#>   death  17  19
#>   other 149 141
tally(penalty ~ defendant + victim, data = DeathPenalty)
#> , , victim = Bl
#> 
#>        defendant
#> penalty  Bl  Wh
#>   death   6   0
#>   other  97   9
#> 
#> , , victim = Wh
#> 
#>        defendant
#> penalty  Bl  Wh
#>   death  11  19
#>   other  52 132
#>