R Dataset / Package wooldridge / crime3

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 with the library() command. 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.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-wooldridge-crime3.html" width="100%" height="100%" style="border:0px"></iframe>