dp {gmvalid} | R Documentation |
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.
data(dp)
A data frame with 326 observations on the following 3 variables.
Defendants.Race
white
and black
Victims.Race
white
and black
Death.Penalty
yes
and no
Radelet ML (1981) Racial characteristics and the imposition of the Death penalty. American Sociological Review, 46(6):918-927.
data(dp) ## Graphical model analysis shows that 'defendants' race' is ## independent from 'death penalty' given 'victims' race'. gm.analysis(dp,program="coco",recursive=TRUE)