citycrime {smoothic}R Documentation

City Crime Data

Description

Data relating to crime rates per one million residents in 50 U.S cities, taken from Thomas (1990).

Usage

citycrime

Format

A data frame with 50 rows and 7 variables:

violent

reported violent crime rate per 100,000 residents

funding

annual police funding per resident ($)

hs

percentage of people 25 years+ with 4 years of high school

not_hs

percentage of 16 to 19 year-olds not in high school and not high school graduates

college

percentage of 18 to 24 year-olds in college

college4

percentage of people 25 years+ with at least 4 years of college

crime_rate

total overall reported crime rate per 1 million residents

Source

https://hastie.su.domains/StatLearnSparsity_files/DATA/crime.txt

References

Thomas, G.S., 1990. The Rating Guide to Life in America's Small Cities. Prometheus Books, 59 John Glenn Drive, Amherst, NY 14228-2197.

Hastie, T., Tibshirani, R. and Wainwright, M., 2015. Statistical learning with sparsity: the lasso and generalizations. CRC press.


[Package smoothic version 1.2.0 Index]