Description Usage Format Source Examples
A famous example of Simpson's paradox.
1 2 3 |
A data frame with 326 observations. The factors are coded more succinctly
in deathPen, but otherwise the data are the same.
DeathPenaltya factor with levels Yes No
Penaltya factor with levels Death Not
Victima factor with levels Black White
(or Bl Wh)
Defendanta 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.