Description Usage Format Source Examples
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.
1 |
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.
FBI Uniform Crime Report via DASL: Data and Story Library
1 2 3 4 5 6 7 | 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)
|
Loading required package: ggplot2
slope W to:W
1 0.1768934 537 633.4909
slope W to:W X
1 0.5191506 537 633.4909 176
slope X to:X
1 -0.1735502 176 215.8961
slope X to:X W
1 0.9363932 176 215.8961 537
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.