R Dataset / Package wooldridge / crime3

Documentation

On this R-data statistics page, you will find information about the crime3 data set which pertains to crime3. The crime3 data set is found in the wooldridge R package. You can load the crime3 data set in R by issuing the following command at the console data("crime3"). This will load the data into a variable called crime3. If R says the crime3 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 crime3 R data set. The size of this file is about 7,711 bytes.


crime3

Description

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

Usage

data(crime3)

Format

A data.frame with 106 rows and 12 variables:

  • district. district number

  • year. 72 or 78

  • crime. crimes per 1000 people

  • clrprc1. clear-up perc, prior year

  • clrprc2. clear-up perc, two-years prior

  • d78. =1 if year = 78

  • avgclr. (clrprc1 + clrprc2)/2

  • lcrime. log(crime)

  • clcrime. change in lcrime

  • cavgclr. change in avgclr

  • cclrprc1. change in clrprc1

  • cclrprc2. change in clrprc2

Source

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

Examples

 str(crime3)
--

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

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-56964.csv 7.53 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.