Learn R Programming

statisticalModeling (version 0.3.0)

Crime: 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)

Arguments

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 population
  • N 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 1960
  • Ex0 1960 per capita expenditures on police.

Source

FBI Uniform Crime Report via DASL: Data and Story Library

Examples

Run this code
mod_1 <- lm(R ~ W, data = Crime)
mod_2 <- lm(R ~ X, data = Crime)
mod_3 <- lm(R ~ W + X, data = Crime)
effect_size(mod_1, ~ W)
effect_size(mod_3, ~ W)
effect_size(mod_2, ~ X)
effect_size(mod_3, ~ X)

Run the code above in your browser using DataLab