R Dataset / Package wooldridge / crime2

Documentation

On this Picostat.com statistics page, you will find information about the crime2 data set which pertains to crime2. The crime2 data set is found in the wooldridge R package. You can load the crime2 data set in R by issuing the following command at the console data("crime2"). This will load the data into a variable called crime2. If R says the crime2 data set is not found, you can try installing the package by issuing this command install.packages("wooldridge") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the crime2 R data set. The size of this file is about 36,436 bytes.


crime2

Description

Data loads lazily. Type data(crime2) into the console.

Usage

data(crime2)

Format

A data.frame with 92 rows and 34 variables:

  • pop. population

  • crimes. total number index crimes

  • unem. unemployment rate

  • officers. number police officers

  • pcinc. per capita income

  • west. =1 if city in west

  • nrtheast. =1 if city in NE

  • south. =1 if city in south

  • year. 82 or 87

  • area. land area, square miles

  • d87. =1 if year = 87

  • popden. people per sq mile

  • crmrte. crimes per 1000 people

  • offarea. officers per sq mile

  • lawexpc. law enforce. expend. pc, $

  • polpc. police per 1000 people

  • lpop. log(pop)

  • loffic. log(officers)

  • lpcinc. log(pcinc)

  • llawexpc. log(lawexpc)

  • lpopden. log(popden)

  • lcrimes. log(crimes)

  • larea. log(area)

  • lcrmrte. log(crmrte)

  • clcrimes. change in lcrimes

  • clpop. change in lpop

  • clcrmrte. change in lcrmrte

  • lpolpc. log(polpc)

  • clpolpc. change in lpolpc

  • cllawexp. change in llawexp

  • cunem. change in unem

  • clpopden. change in lpopden

  • lcrmrt_1. lcrmrte lagged

  • ccrmrte. change in crmrte

Source

https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041

Examples

 str(crime2)
--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-46511.csv 35.58 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0