Number of dependent children for 50 randomly selected families

DEPEND

Format

A data frame with 50 observations on 1 variable:

  • number (number of dependent children)

Source

Kitchens, L. J. 2003. Basic Statistics and Data Analysis. Duxbury.

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.

Examples

xtabs(~number, data = DEPEND)
#> number
#>  0  1  2  3  4  5  6 
#>  9 13 13  7  4  3  1 
ggplot(data = DEPEND, aes(x = factor(number))) + 
geom_bar(fill = "cornsilk", color = "orange") + labs(x = "Number of Dependent Children")

ggplot(data = DEPEND, aes(x = number)) + geom_density(fill = "pink", alpha = 0.3, 
color = "red") + labs(x = "Number of Dependent Children")