Data for Exercise 1.26

Depend

Format

A data frame/tibble with 50 observations on one variable

number

number of dependent children in a family

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


T1 <- xtabs(~ number, data = Depend)
T1
#> number
#>  0  1  2  3  4  5  6 
#>  9 13 13  7  4  3  1 
barplot(T1, col = "lightblue", main = "Problem 1.26",
xlab = "Number of Dependent Children", ylab = "Frequency")

rm(T1)