Spouse | R Documentation |
Data for Exercise 8.33
Spouse
A data frame/tibble with 540 observations on two variables
a factor with levels not prosecuted
, pleaded guilty
,
convicted
, and acquited
a factor with levels husband
and wife
Bureau of Justice Statistics (September 1995), Spouse Murder Defendants in Large Urban Counties, Executive Summary, NCJ-156831.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
T1 <- xtabs(~result + spouse, data = Spouse)
T1
chisq.test(T1)
rm(T1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.