| Poverty {BSDA} | R Documentation |
Percent poverty and crime rate for selected cities
Description
Data for Exercise 9.11 and 9.17
Usage
Poverty
Format
A data frame/tibble with 20 observations on four variables
- city
a factor with levels
Atlanta,Buffalo,Cincinnati,Cleveland,Dayton, O,Detroit,Flint, Mich,Fresno, C,Gary, Ind,Hartford, C,Laredo,Macon, Ga,Miami,Milwaukee,New Orleans,Newark, NJ,Rochester,NY,Shreveport,St. Louis, andWaco, Tx- poverty
percent of children living in poverty
- crime
crime rate (per 1000 people)
- population
population of city
Source
Children's Defense Fund and the Bureau of Justice Statistics.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
Examples
plot(poverty ~ crime, data = Poverty)
model <- lm(poverty ~ crime, data = Poverty)
abline(model, col = "red")
summary(model)
rm(model)
[Package BSDA version 1.2.2 Index]