Crime {mosaicModel} | R Documentation |
Data from the US FBI Uniform Crime Report, 1960
Description
A report of the number of offenses reported to police per million population, and many other social and demographic variables. Each case corresponds to a state in the US.
Usage
data(Crime)
Format
A data frame with 47 cases, each of which is a US state, with observations on the following variables.
R
Crime rate: number of offenses reported to police per million population.Age
Number of males aged 14-24 per 1000 populationN
State population (in 100,000s)W
State-wise median value of transferable goods and assets or family income in tens of dollars.X
Number of families per 1000 earning below half the median income.ExDiff
Change in per capita expenditure on police by state and local government from 1950 to 1960Ex0
1960 per capita expenditures on police.
Source
FBI Uniform Crime Report via DASL: Data and Story Library
Examples
mod_1 <- lm(R ~ W, data = Crime)
mod_2 <- lm(R ~ X, data = Crime)
mod_3 <- lm(R ~ W + X, data = Crime)
mod_effect(mod_1, ~ W)
mod_effect(mod_3, ~ W)
mod_effect(mod_2, ~ X)
mod_effect(mod_3, ~ X)