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

usc

US Crime Data


Description

Data is available on the crime rates across 47 states in USA, and we have additional information on 13 more explanatory variables.

Usage

data(usc)

Format

A data frame with 47 observations on the following 14 variables.

R

Crime rate - the number of offenses known to the police per 1,000,000 population

Age

Age distribution - the number of males aged 14 to 24 years per 1000 of total state population

S

Binary variable distinguishing southern states (S = 1) from the rest

Ed

Educational level - mean number of years of schooling times 10 of the population 25 years old and over

Ex0

Police expenditure - per capita expenditure on police protection by state and local governments in 1960

Ex1

Police expenditure - as Ex0, but for 1959

LF

Labour force participation rate per 1000 civilian urban males in the age group 14 to 24 years

M

Number of males per 1000 females

N

State population size in hundred thousands

NW

Number of non-whites per 1000

U1

Unemployment rate of urban males per 1000 in the age group 14 to 24 years

U2

Unemployment rate of urban males per 1000 in the age group 35 to 39 years

W

Wealth, as measured by the median value of transferable goods and assets. or family income (unit 10 dollars)

X

Income inequality: the number of families per 1000 earning below one half of the median income

References

Der, G., and Everitt, B.S. (2002). A Handbook of Statistical Analysis using SAS, 2e. CRC.

Examples

data(usc)
pairs(usc)
round(cor(usc),2)

ACSWR

A Companion Package for the Book "A Course in Statistics with R"

v1.0
GPL-2
Authors
Prabhanjan Tattar
Initial release
2015-09-05

We don't support your browser anymore

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