Description Format Source Examples
A famous example of Simpson's paradox.
A data frame with 326 observations. The factors are coded more
succinctly in deathPen
, but otherwise the data are the same.
DeathPenalty a factor with levels Yes
No
Penalty a factor with levels Death
Not
Victim a factor with levels Black
White
(or Bl
Wh
)
Defendant a factor
with levels Black
White
(or Bl
Wh
)
Radelet, M. (1981). Racial characteristics and imposition of the death penalty. American Sociological Review, 46:918–927.
1 2 | xtabs(~Defendant+Penalty,deathPenalty)
xtabs(~Defendant+Victim+Penalty,deathPenalty)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.