Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Poverty

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, and Waco, 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)

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.